Hello everyone!
I am a newbie. I'm trying to install ethereal* *via rpm.
While trying to run ethereal got the following error:
[root@localhost /]# ethereal -i wlan0
bash: ethereal: command not found
Here is my configuration:
FC4, KDE, I have the following packages installed:
libcap-1.10-22
gtk+1.2.10-39.i386
gtk+-devel-1.2.10-39.i386
glib-1.2.10-16.i386
glib-devel-1.2.10-16.i386
gtk2-devel-2.6.7-4.i386
elfutils-devel-0.108-1.i386
net-snmp-5.2.1-12.i386.rpm
net-snmp-utils-5.2.1-12.i386
net-snmp-devel-5.2.1-12.i386
Installing ethereal-0.10.11-2.i386 from RPM repository goes without any
error and rpm query command also gives correct output. I tried also to
install source rpm without success as well- the same error!
After all i decided to install from source, here is the error i got,
although i thing it has nothing in common with previous one:
make[2]: Entering directory `/usr/local/src/ethereal-0.10.12'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./wiretap -I/usr/local/include
-DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2
-I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -MT version_info.o -MD -MP
-MF ".deps/version_info.Tpo" -c -o version_info.o version_info.c; \
then mv -f ".deps/version_info.Tpo" ".deps/version_info.Po"; else rm -f
".deps/version_info.Tpo"; exit 1; fi
In file included from version_info.c:64:
/usr/include/ucd-snmp/version.h:9:2: error: #error "Please update your
headers or configure using --enable-ucd-snmp-compatibility"
version_info.c: In function ‘get_compiled_version_info’:
version_info.c:163: error: ‘VersionInfo’ undeclared (first use in this
function)
version_info.c:163: error: (Each undeclared identifier is reported only once
version_info.c:163: error: for each function it appears in.)
make[2]: *** [version_info.o] Error 1
make[2]: Leaving directory `/usr/local/src/ethereal-0.10.12'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ethereal-0.10.12'
make: *** [all] Error 2
Here is my ./configure output:
The Ethereal package has been configured with the following options.
Build ethereal : yes
Build tethereal : yes
Build capinfos : yes
Build editcap : yes
Build mergecap : yes
Build text2pcap : yes
Build idl2eth : yes
Build randpkt : yes
Build dftest : yes
Install setuid : no
Use plugins : yes
Use GTK+ v2 library : no
Use pcap library : yes
Use zlib library : yes
Use pcre library : yes
Use kerberos library : yes (MIT)
Use GNU ADNS library : no
Use SSL crypto library : no
Use IPv6 name resolution : yes
Use UCD SNMP/Net-SNMP library : no
----------------------------------------------------
I can run tethereal but not ethereal!
What am i doing wrong??
Thanks in advance!