curl-users
Re: compile question Solaris 5.8, curl 7.15.4
Date: Fri, 28 Jul 2006 07:36:19 +0200 (CEST)
On Thu, 27 Jul 2006, Kevin Martin wrote:
> And I did the configure this way:
>
> 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 PATH=/usr/local/bin:$PATH
> export CPPFLAGS="-I/usr/include/sys -I/usr/local/ssl/include"
Why do you set these to CPPFLAGS? I suspect at least the first is plainly
confusing to the build process and the second just redundant.
> export LIBS="-lnsl -lssl -lcrypto -ldl -lsocket"
Why do you set these? configure should figure out by itself if it needs these
and set LIBS accordingly.
> ./configure --prefix=/opt/curl --disable-ldap --enable-http
> --enable-manual --enable-thread --enable-verbose --enable-debug -
> --enable-cookies --enable-static --disable-shared --with-ssl=/usr/local/ssl
Note that you probably won't want --enable-debug on a production system.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-07-28