BUG - ./configure doesn't check for zlib

Carter Bullard carter at qosient.com
Mon Apr 18 13:11:31 EDT 2011


Hey Elof2,
I took out the zlib check to fix another problem.  Putting it back in now.
The issue is not zlib, but whether zlib.h is present and useable.  That
is what we need to do the decompression of the raevent() buffers.

Carter


On Apr 15, 2011, at 9:05 AM, elof2 at sentor.se wrote:

> 
> I just compiled argus-clients-3.0.5.5 on a linux Debian machine and got:
> ...
> gcc -O3 -I. -I../include -I../common  -DHAVE_CONFIG_H -c ./print-isakmp.c
> gcc -O3 -I. -I../include -I../common  -DHAVE_CONFIG_H -c ./print-igmp.c
> gcc -O3 -I. -I../include -I../common  -DHAVE_CONFIG_H -c ./print-dvmrp.c
> gcc -O3 -I. -I../include -I../common  -DHAVE_CONFIG_H -c ./smbutil.c
> gcc -O3 -I. -I../include -I../common  -DHAVE_CONFIG_H -c ./gmpls.c
> gcc -O3 -o ../bin/radump radump.o print-aodv.o print-arp.o print-beep.o
> print-bfd.o print-bgp.o print-bootp.o print-domain.o print-krb.o
> print-ldp.o print-l2tp.o print-lmp.o print-msdp.o print-ntp.o print-pim.o
> print-pptp.o print-snmp.o print-syslog.o print-rip.o print-telnet.o
> print-tftp.o print-isoclns.o print-ether.o print-timed.o print-radius.o
> print-rx.o print-smb.o print-stp.o print-isakmp.o print-igmp.o
> print-dvmrp.o smbutil.o gmpls.o ../lib/argus_parse.a ../lib/argus_common.a
> ../lib/argus_client.a -lm -lz   -lpthread
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make[1]: *** [../bin/radump] Error 1
> make[1]: Leaving directory `/usr/src/argus-clients-3.0.5.5/radump'
> 
> 
> Apparently ./configure does not properly check that 'zlib-dev' is installed on the system (I only had 'zlib' installed).
> 
> After installing 'zlib-dev' (or 'zlib1g-dev' to be exact), the compilation could be resumed.
> 
> /Elof
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3815 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20110418/cda1c2d5/attachment.bin>


More information about the argus mailing list