From jake.zack at cira.ca Tue Oct 29 16:42:26 2013 From: jake.zack at cira.ca (Jake Zack) Date: Tue, 29 Oct 2013 16:42:26 +0000 Subject: [dsc] Compiling Collector under Redhat RHEL 6 Message-ID: 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 From Stephen.Johnson at arkansas.gov Tue Oct 29 16:55:19 2013 From: Stephen.Johnson at arkansas.gov (Stephen Johnson (DIS)) Date: Tue, 29 Oct 2013 16:55:19 +0000 Subject: [dsc] Compiling Collector under Redhat RHEL 6 In-Reply-To: References: Message-ID: <764C315B475E2040865141A0F206C2436B0624E7@CM-SAS-MBX-06.sas.arkgov.net> On Tue, 2013-10-29 at 16:42 +0000, Jake Zack wrote: > 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. Redhat/Fedora splits out the development parts of applications source code, i.e. include files and library. They put them into a separate rpm from the base application. It's makes for leaner systems. So you need to install the libpcap-devel RPM on the machine you are compiling it on. yum install libpcap-devel > > Thanks, > > -Jake > _______________________________________________ > dsc mailing list > dsc at measurement-factory.com > http://www.measurement-factory.com/mailman/listinfo/dsc -- Stephen L Johnson Unix Systems Administrator / DNS Hostmaster Department of Information Systems State of Arkansas 501-682-4339