LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   PackETH install problems on RH9 (https://www.linuxquestions.org/questions/red-hat-31/packeth-install-problems-on-rh9-584147/)

Daichinger 09-12-2007 08:22 AM

PackETH install problems on RH9
 
Hey guys,
I am an uber noob when it comes to RH9 Linux and Linux in general, but im not stupid. Unfortunately, I feel stupid because I cant get PackETH, a packet generating software, to work on my RH9 comp. The project page is
http://sourceforge.net/projects/packeth/

The error comes when Installing it.
Here are some of the error messages I get.

[root@localhost packETH-1.4.1]# make
gcc -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c interface.c
interface.c: In function `create_window1':
interface.c:890: warning: implicit declaration of function `gtk_tool_item_new'
interface.c: In function `create_fileselection1':
interface.c:7844: warning: implicit declaration of function
`gtk_file_chooser_dialog_new'
interface.c:7844: `GTK_FILE_CHOOSER_ACTION_OPEN' undeclared (first use
in this function)
interface.c:7844: (Each undeclared identifier is reported only once
interface.c:7844: for each function it appears in.)
interface.c:7844: warning: assignment makes pointer from integer without a cast
interface.c: In function `create_fileselection2':
interface.c:7895: `GTK_FILE_CHOOSER_ACTION_SAVE' undeclared (first use
in this function)
interface.c:7895: warning: assignment makes pointer from integer without a cast
interface.c: In function `create_fileselection3':
interface.c:7946: `GTK_FILE_CHOOSER_ACTION_OPEN' undeclared (first use
in this function)
interface.c:7946: warning: assignment makes pointer from integer without a cast
make: *** [interface.o] Error 1



Here are the libraries i have that packETH supposedly uses:
[root@localhost root]# rpm -qa gtk*
gtk+-1.2.10-25
gtk2-2.2.1-4
gtk-engines-0.11-16
gtk+-devel-1.2.10-25
gtkhtml-devel-1.1.8-5
gtk2-devel-2.2.1-4
gtkglarea-1.2.2-16
gtkhtml-1.1.8-5
gtk2-engines-2.2.0-2
gtk-doc-0.10-4
gtkhtml2-2.2.0-5
gtkhtml2-devel-2.2.0-5
gtkam-0.1.7-3
gtkam-gimp-0.1.7-3
[root@localhost root]# rpm -qa glib*
glib-1.2.10-10
glibc-devel-2.3.2-11.9
glib2-devel-2.2.1-1
glibc-debug-2.3.2-11.9
glibc-common-2.3.2-11.9
glib2-2.2.1-1
glibc-kernheaders-2.4-8.10
glibc-profile-2.3.2-11.9
glibc-utils-2.3.2-11.9
glibc-2.3.2-11.9
glib-devel-1.2.10-10

Any ideas?

IBall 09-13-2007 10:04 PM

You most likely have no reason to be using RH9. This distro is ancient, having been released in about 2003. Therefore, the most likely reason that you are having problems is that you don't have the most recent versions of libraries, etc for packEth to run.

If you were to upgrade to a recent, supported version of Linux, such as Fedora 7 (successor to Redhat), openSuse, Debian Etch, etc, packETH will install with no problems. For example, to install packETH on Debian, simply:
Code:

aptitude install packeth
and it will be automagically downloaded and installed, along with any dependencies.

--Ian


All times are GMT -5. The time now is 06:11 AM.