Ethereal-users: Re: [Ethereal-users] failure to compiling ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Abraham WEI <abraham.wei@xxxxxxxxx>
Date: Thu, 21 Jul 2005 19:00:38 +0800
If your need ethereal for Red Hat Linux 9.0, you may just use those
RPMs provided with RH9 distro CD-ROMs. It is an easy way to avoid
these problems.
Abe

On 7/18/05, jiang aimme <aimmejiang@xxxxxxx> wrote:
> I got ethereal from http://www.ethereal.com/distribution/rpms/.When I
> installed it,system told me ucd-snmp is missed. I download ucd-snmp and
> net-snmp and retry ,but I failed again.
> So I got resource code from
> http://www.ethereal.com/distribution/ethereal-0.10.11.tar.gz.
> But I still failed . I will reprot  the step,Please help me to find what's
> wrong with it.
> (1)first,I install net-snmp
> [root@LinuxQQ 20050717]# rpm -ivh net-snmp-5.0.6-17.src.rpm
> warning: net-snmp-5.0.6-17.src.rpm: V3 DSA signature: NOKEY, key ID
> db42a60e
>    1:net-snmp               ###########################################
> [100%]
> 
> [root@LinuxQQ 20050717]# rpm -ivh net-snmp-devel-5.0.6-17.i386.rpm
> warning: net-snmp-devel-5.0.6-17.i386.rpm: V3 DSA signature: NOKEY, key ID
> db42a60e
> Preparing...                ###########################################
> [100%]
>         package net-snmp-devel-5.0.6-17 is already installed
> 
> [root@LinuxQQ 20050717]# rpm -ivh ethereal-base-0.10.0a-1.RH9.i386.rpm
> error: Failed dependencies:
>         ucd-snmp is needed by ethereal-base-0.10.0a-1.RH9
> (2)I found the same message is shown,so I installed ucd-snmp
> 
> [root@LinuxQQ 20050717]# rpm -ivh ucd-snmp-4.2.6-2.src.rpm
>    1:ucd-snmp               ###########################################
> [100%]
> [root@LinuxQQ 20050717]# rpm -ivh ethereal-base-0.10.0a-1.RH9.i386.rpm
> error: Failed dependencies:
>         ucd-snmp is needed by ethereal-base-0.10.0a-1.RH9
> (3)I tried compile resource code.when I use "./configure",the reslut is
> below
> checking ucd-snmp/ucd-snmp-config.h usability... yes
> checking ucd-snmp/ucd-snmp-config.h presence... yes
> checking for ucd-snmp/ucd-snmp-config.h... yes
> checking whether UCD SNMP includes sprint_realloc_objid... no
> configure: error: UCD SNMP requires -lcrypto but --with-ssl not specified
> (4) ./configure --with-net-snmp=/usr/src/
> configure: error: Net-SNMP requires openssl but ssl not enabled
> (5)./configure --with-net-snmp=/usr/src/ --with-ssl=/usr...
> the same result as (4):configure: error: Net-SNMP requires openssl but ssl
> not enabled
> (6)./configure  --with-ssl=/usr...
> compiling success.system shows:
> 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 : no
>                       Build dftest : yes
> 
>                     Install setuid : no
>                        Use plugins : yes
>                Use GTK+ v2 library : yes
>                        Use threads : no
>             Build profile binaries : no
>                   Use pcap library : yes
>                   Use zlib library : yes
>                   Use pcre library : no
>               Use kerberos library : yes (MIT)
>               Use GNU ADNS library : no
>             Use SSL crypto library : yes
>           Use IPv6 name resolution : yes
>      Use UCD SNMP/Net-SNMP library : no
> 
> (7)Compliing is successful.Even though I am not be satisfied with the
> result,I decided to try " make " command.But I failed once more.
> 
> make[2]: *** [version_info.o] Error 1
> make[2]: Leaving directory
> `/home/jqq/wlan/tool/ethereal/20050717/sourcecode/eth
> ereal-0/ethereal-0.10.11'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/jqq/wlan/tool/ethereal/20050717/sourcecode/eth
> ereal-0/ethereal-0.10.11'
> make: *** [all] Error 2
> 
> 
> Would you mind helping  me to find the reason? thanks in advance.
> 
> _________________________________________________________________
> 免费下载 MSN Explorer:   http://explorer.msn.com/lccn
> 
> _______________________________________________
> Ethereal-users mailing list
> Ethereal-users@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-users
>