cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: problem with configure on solaris 5.8 of curl 7.15.4

From: Kevin Martin <kevintm_at_ameritech.net>
Date: Thu, 27 Jul 2006 18:32:39 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

about:blankDan,

 Thanks alot. That worked (at least as far as getting the configure to work). Now I'm having problems with the compile but I'll
work on that for awhile before I post for help.

Thanks again.

Kevin

Dan Fandrich wrote:
> On Thu, Jul 27, 2006 at 02:45:39PM -0500, Kevin Martin wrote:
>> 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"
>
> This has to be CPPFLAGS, not LDFLAGS, if you want it to have any effect.
>
>> export CC=/usr/local/bin/gcc #(this is version 3.4.2)
>> export LIBS="-lnsl -lssl -lcrypto -ldl -lsocket"
>
> configure ought to be able to figure out all this on its own.
>
>> export CFLAGS="-static"
>
> This should be redundant with --enable-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
>
> The --with-ssl syntax is wrong; as documented by ./confiugure --help, it
> takes a parameter which is the path to an OpenSSL installation directory.
> If OpenSSL is set up properly, you shouldn't need the -I flag in CPPFLAGS.
> If OpenSSL is installed in other than the canonical way, then it becomes
> tricky as curl's configure isn't set up to make a custom install easy.
>
>> 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.
>
> I really doubt this is the problem. Fix the above issues and you should
> have much greater success.
>
>>>> Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEyU0WaXZlxDxYaM4RAgJ4AJ9IIX6rYdyr39JQLuRBj4rb+NTtFQCfeAx9
xZaZ7z9U6TPI0XDDDw+8/GU=
=TOS/
-----END PGP SIGNATURE-----
Received on 2006-07-28