curl-users
problem with configure on solaris 5.8 of curl 7.15.4
Date: Thu, 27 Jul 2006 14:45:39 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Doing the following to try to build a statically linked version of curl that I can install on different Solaris 5.8 machines without
having local dependencies:
export
LD_LIBRARY_PATH=/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2:/usr/local/ssl/lib:/usr/local/lib:/usr/lib:/usr/ccs/lib:$LD_LIBRARY_PATH
export LDFLAGS="-I/usr/include/sys -I/usr/local/ssl/include"
export CC=/usr/local/bin/gcc #(this is version 3.4.2)
export LIBS="-lnsl -lssl -lcrypto -ldl -lsocket"
export CFLAGS="-static"
./configure --prefix=/opt/curl --disable-ldap --enable-http --enable-manual --enable-thread --enable-verbose --enable-debug
- --enable-cookies --enable-static --disable-shared --with-ssl
And I end up with:
checking crypto.h usability... no
checking crypto.h presence... no
checking for crypto.h... no
checking pem.h usability... no
checking pem.h presence... no
checking for pem.h... no
checking ssl.h usability... no
checking ssl.h presence... no
checking for ssl.h... no
checking err.h usability... no
checking err.h presence... no
checking for err.h... no
configure: error: OpenSSL libs and/or directories were not found where specified!
+ [ 1 = 0 ]
Now, i see in the config.log that just before this error I get:
configure:27471: result: no
configure:27475: checking err.h presence
configure:27490: /usr/local/bin/gcc -E conftest.c
In file included from /usr/include/err.h:23,
from conftest.c:29:
/usr/include/features.h:320:24: gnu/stubs.h: No such file or directory
configure:27496: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/"
| #define PACKAGE "curl"
| #define VERSION "7.15.4"
| #define OS "sparc-sun-solaris2.8"
| #define _FILE_OFFSET_BITS 64
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define CURL_DISABLE_LDAP 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_GETADDRINFO 1
| #define ENABLE_IPV6 1
| #define HAVE_O_NONBLOCK 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| /* end confdefs.h. */
| #include <err.h>
configure:27517: result: no
configure:27550: checking for err.h
configure:27558: result: no
configure:27765: error: OpenSSL libs and/or directories were not found where specified!
So I "think" that this is failing because I don't have the gnu/stub.h file. However, I don't know where that file is supposed to
come from and, if it's glibc as I suspect, I don't think glibc has been ported to Solaris 8! So maybe I'm doing something stupid
(god I hope it's that easy). Any/all help is greatly appreciated.
Thanks.
Kevin Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEyRfiaXZlxDxYaM4RAtwuAJ9sJhjRWcwRSIr1lbpxg4t7h/hsIwCfVPi6
Pw4xbCqkW3QFXiLRUVLuzWI=
=D7td
-----END PGP SIGNATURE-----
Received on 2006-07-27