./configure error

J

jp_tix

Guest
hi,

i'm trying to compile some software which uses the openssl libraries i
installed with fink.

i do something like

Code:
./configure --with-openssl=/sw/include/openssl/

but after a while it exits with

Code:
checking for OpenSSL... /sw/include/openssl
configure: error: ssl.h or libssl.a not found in /sw/include/openssl

but then this
Code:
#ls /sw/include/openssl/*ssl*

/sw/include/openssl/kssl.h              /sw/include/openssl/opensslconf.h       /sw/include/openssl/ossl_typ.h          /sw/include/openssl/ssl2.h              
/sw/include/openssl/ssl3.h               /sw/include/openssl/libssl.a           
/sw/include/openssl/opensslv.h          /sw/include/openssl/ssl.h               
/sw/include/openssl/ssl23.h

indicates that both the requested files are in the DIR!
what?!?

if i remove the "--with-openssl" the configure runs fine,
but i get a bunch of make errors afterwards.

any ideas?
 
OP
F

flonejek

Guest
umm are u running it as root?, that could be the only reason it doesnt see it. "sudo ./configure --with-openssl=/sw/include/openssl/" should do the trick
 
OP
J

jp_tix

Guest
flonejek said:
umm are u running it as root?, that could be the only reason it doesnt see it. "sudo ./configure --with-openssl=/sw/include/openssl/" should do the trick

that's not it...i've tried both sudo and su.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top