cURL / Mailing Lists / curl-users / Single Mail

curl-users

Building cURL with new WIN32 LIBTOOL stuff

From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Wed, 17 Oct 2001 11:29:09 -0400

Thx Daniel for adding the changes suggested by the cygwin folks. I'm now
seeing a problem, and I'm wondering if anyone on this list has seen it.
If not, I'll pass it by the cygwin list...

I grabbed the current stuff from CVS, and configure'd and make'd
successfully (in this example I was using a build directory of
/usr/src/curl/BUILD, but the problem also occurs without a BUILD
directory).

When I go to do a 'make install' (or, as in this example, a 'make
install prefix=/tmp/curl-build/usr', although both gave the same error),
I see the following:

  /*********
    Making install in src
    make[1]: Entering directory `/usr/src/curl/BUILD/src'
    /bin/sh ../libtool --mode=link gcc -g -O2 -o curl.exe main.o \
      hugehelp.o urlglob.o writeout.o ../lib/libcurl.la -lssl -lcrypto
    gcc -g -O2 -o .libs/curl.exe main.o hugehelp.o urlglob.o writeout.o
\
      .libs/libimp-cygcurl-2.a -lssl -lcrypto
    creating curl.exe
    make[2]: Entering directory `/usr/src/curl/BUILD/src'
    /bin/sh ../libtool --mode=link gcc -g -O2 -o curl.exe main.o \
      hugehelp.o urlglob.o writeout.o ../lib/libcurl.la -lssl -lcrypto
    gcc -g -O2 -o .libs/curl.exe main.o hugehelp.o urlglob.o writeout.o
\
      .libs/libimp-cygcurl-2.a -lssl -lcrypto
    creating curl.exe
    /bin/sh ../../mkinstalldirs /tmp/curl-build/usr/bin
      /bin/sh ../libtool --mode=install /usr/bin/install -c curl.exe \
      /tmp/curl-build
    /usr/bin/curl.exe
    /usr/bin/install -c curl.exe /tmp/curl-build/usr/bin/curl.exe
    /usr/bin/install: cannot stat `curl.exe': No such file or directory
    make[2]: *** [install-binPROGRAMS] Error 1
    make[2]: Leaving directory `/usr/src/curl/BUILD/src'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory `/usr/src/curl/BUILD/src'
    make: *** [install-recursive] Error 1
  \*********

It seems to be related to the fact that libtool has decided to dump my
curl.exe file in src/.libs/curl.exe, instead of putting it in the usual
place of src/curl.exe. However, since this problem lies in the
auto-generated part of the Makefile, I have no idea how one would go
about fixing it...

Any suggestions?

Thanks,
Kevin
Received on 2001-10-17