unix compiling question - DFWstangs Forums
 
LinkBack Thread Tools Display Modes
post #1 of 2 (permalink) Old 08-01-2008, 10:05 AM Thread Starter
Boost is Life
 
DamonH's Avatar
 
Join Date: Dec 2001
Location: Fate, TX
Posts: 4,327
unix compiling question

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:

Code:
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.

Code:
./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!

DamonH
2006 F150 SCrew
DamonH is offline  
Sponsored Links
Advertisement
 
post #2 of 2 (permalink) Old 08-05-2008, 04:36 PM Thread Starter
Boost is Life
 
DamonH's Avatar
 
Join Date: Dec 2001
Location: Fate, TX
Posts: 4,327
If anyone happens to have this problem, the answer was an "="

i.e.
Code:
./configure --with-pcap=/path

DamonH
2006 F150 SCrew
DamonH is offline  
Sponsored Links
Advertisement
 
Reply

Bookmarks

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the DFWstangs Forums forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome