Jump to content

configure cant find openssl while its clearly there..


Recommended Posts

I am having some problems compiling this project.

And I am looking for some guidelines.

I currently have:

checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pthread_create in -lpthread... yes
checking for compress in -lz... yes
checking for ftime in -lcompat... no
checking for pkg-config... /usr/bin/pkg-config
checking for openssl/ssl.h in /usr/local/ssl... no
checking for openssl/ssl.h in /usr/lib/ssl... no
checking for openssl/ssl.h in /usr/ssl... no
checking for openssl/ssl.h in /usr/pkg... no
checking for openssl/ssl.h in /usr/local... no
checking for openssl/ssl.h in /usr... no
checking whether compiling and linking against OpenSSL works... no
configure: error: Missing OpenSSL

necroshroom@MangosTestServer ~/mangos/objdir
$ ls /usr/ssl/openssl/
aes.h       bn.h        conf_api.h  dtls1.h   err.h       md4.h      opensslconf.h  pqueue.h     seed.h   symhacks.h   x509.h
applink.c   buffer.h    crypto.h    e_os2.h   evp.h       md5.h      opensslv.h     rand.h       sha.h    tls1.h       x509_vfy.h
asn1.h      camellia.h  des.h       ebcdic.h  hmac.h      mdc2.h     ossl_typ.h     rc2.h        ssl.h    ts.h         x509v3.h
asn1_mac.h  cast.h      des_old.h   ec.h      idea.h      modes.h    pem.h          rc4.h        ssl2.h   txt_db.h
asn1t.h     cms.h       dh.h        ecdh.h    krb5_asn.h  obj_mac.h  pem2.h         ripemd.h     ssl23.h  ui.h
bio.h       comp.h      dsa.h       ecdsa.h   kssl.h      objects.h  pkcs12.h       rsa.h        ssl3.h   ui_compat.h
blowfish.h  conf.h      dso.h       engine.h  lhash.h     ocsp.h     pkcs7.h        safestack.h  stack.h  whrlpool.h

As you see I have got the OpenSSL Source in the dir /usr/ssl/openssl

But at "checking for openssl/ssl.h in /usr/ssl... no" it says its not there.

I configure with

$ ../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --datadir=/opt
/mangos --includedir=/home/necroshroom/mangos/dep/include

Some system infromation

$ gcc --version ; automake --version ; ../configure --version 

gcc (GCC) 4.3.4 20090804 (release) 1
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <[email protected]>
      and Alexandre Duret-Lutz <[email protected]>.
mangos configure 0.17.0
generated by GNU Autoconf 2.67

I'd love to hear what might be wrong.

-- NecroShroom

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use