Hello, I did specify the path to the pcap header file, as follows
perl Makefile.PL INC=-l/Users/philippe/Desktop/nmap-2.54BETA36/libpcap-possiblymodified where the 'libpcap-possiblymodified' directory contains the file ' pcap.h' among others, but the Makefile does not seem to look in that directory. Philippe de Rochambeau [EMAIL PROTECTED] writes: >Philippe, > >Am 09.07.2002 15:13 Uhr schrieb "Philippe de Rochambeau" unter ><[EMAIL PROTECTED]>: > >> [localhost:~/Desktop/Net-Pcap-0.04] philippe% make >> mkdir blib > >[...] > >> -DXS_VERSION=\"0.04\" -I/System/Library/Perl/darwin/CORE Pcap.c >> Pcap.xs:21: pcap.h: No such file or directory > >make sure to tell the compiler where to find the header files and >libraries. >You have - according to the README of Net::Pcap - to do this via > >$ perl Makefile.PL INC=-I/usr/local/include/pcap \ > LIBS='-L/usr/lib/pcap -lpcap' > >If you've installed pcap via Fink, this might be /sw/include and /sw/lib. > >-Florian > >-- >0699 109 24 24 5 - http://www.laudatio.com >
