curl-users
Re: pre6 build in sub-dir
Date: Wed, 6 Mar 2002 08:42:40 +0100 (MET)
On Tue, 5 Mar 2002, Roth, Kevin P. wrote:
> Still having problems building in a separate directory (under cygwin if it
> matters). Here's the current error message:
>
> Making all in src
> make[1]: Entering directory `/usr/src/curl-7.9.5-pre6/bld/src'
> make all-am
> make[2]: Entering directory `/usr/src/curl-7.9.5-pre6/bld/src'
> /bin/sh ../libtool --mode=link gcc -g -O2 -o curl.exe main.o hugehelp.o urlg
> lob.o writeout.o ../lib/libcurl.la -lssl -lcrypto
> mkdir .libs
> libtool: link: cannot find the library `../lib/libcurl.la'
Why can't it find the library? It is in the ../lib directory, right?
I can build this fine in a separate directory, on both Solaris and Linux, and
my link line is *very* similar to yours here.
> Daniel - would you consider doing a build in a separate directory on your
> machine as a precursor to releasing?
I fully intend to use 'make distcheck' before I release packages now when the
test suite works again. I'm afraid this wouldn't have been caugth anyway as
seen above.
> By the way, if I build directly in the source directory (curo-7.9.5-pre6)
> it works fine...
When you build in a separate directory and it fails, what does the libtool
that got created in your build dir say about its version?
$ pwd
[...]/tmp/build
$ ./libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-03-06