[dsc] Compiling Collector under Redhat RHEL 6

Jake Zack jake.zack at cira.ca
Tue Oct 29 16:42:26 UTC 2013


Anyone ever get DSC to compile under RHEL6?

# make
(cd dsc; test -s Makefile || ./configure ; make all)
make[1]: Entering directory `/usr/local/newstuff/dsc-201203250530/collector/dsc'
cc -g -Wall -DUSE_IPV6=1 -g -O2  -g -Wall -DUSE_IPV6=1 -g -O2     -c -o base64.o base64.c
cc -g -Wall -DUSE_IPV6=1 -g -O2  -g -Wall -DUSE_IPV6=1 -g -O2     -c -o generic_counter.o generic_counter.c
cc -g -Wall -DUSE_IPV6=1 -g -O2  -g -Wall -DUSE_IPV6=1 -g -O2     -c -o pcap.o pcap.c
pcap.c:17:18: error: pcap.h: No such file or directory

# rpm -qa |grep -i pcap
libpcap-1.0.0-6.20091201git117cb5.el6.x86_64

# locate pcap.h
/usr/local/newstuff/dsc-201203250530/collector/dsc/pcap.h
/usr/src/kernels/2.6.32-220.el6.x86_64/include/linux/mfd/ezx-pcap.h
/usr/src/kernels/2.6.32-358.2.1.el6.x86_64/include/linux/mfd/ezx-pcap.h

If you've had success here, I'd appreciate some guidance.

This works under FreeBSD...but FreeBSD provides /usr/include/pcap.h and /usr/include/pcap/pcap.h.

Thanks,

-Jake



More information about the dsc mailing list