DamonH
08-01-2008, 11:05 AM
I'm trying to compile a program on a Sunblade 1500 running Solaris 10. 95% of the time I have just installed packages in the past, and when I've compiled I haven't run into these issues. I'm sure this is a stupid question, but I ran into the following library error when doing the configure:
checking for pcap_lookupdev in -lpcap... no
configure: error:
Can't find the pcap library (libpcap.a); install the pcap library (from
ftp://ftp.ee.lbl.gov/libpcap.tar.Z ) and/or use
--with-pcap to specify the path to it on your system
When installing libpcap do both 'make install' and 'make install-incl'
libpcap.a is already installed on the system, so all I want to do is specify the path. What's the proper command structure to do that? Looking at the error it pretty much tells you to use the "--with-pcap", but I can't figure out the syntax.
./configure --with-pcap path
doesn't seem to work. Am I suppose to be using the --with-pcap in conjunction with the "make" command?
<-- lost. :(
Thanks for any help!
checking for pcap_lookupdev in -lpcap... no
configure: error:
Can't find the pcap library (libpcap.a); install the pcap library (from
ftp://ftp.ee.lbl.gov/libpcap.tar.Z ) and/or use
--with-pcap to specify the path to it on your system
When installing libpcap do both 'make install' and 'make install-incl'
libpcap.a is already installed on the system, so all I want to do is specify the path. What's the proper command structure to do that? Looking at the error it pretty much tells you to use the "--with-pcap", but I can't figure out the syntax.
./configure --with-pcap path
doesn't seem to work. Am I suppose to be using the --with-pcap in conjunction with the "make" command?
<-- lost. :(
Thanks for any help!