cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Configuring in msys/mingw

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sun, 15 Feb 2004 23:37:44 +0100 (CET)

On Thu, 12 Feb 2004, Andrés García wrote:

> > Hey, that's cool! We're getting closer! Any serious handholding besides
> > the nroff stuff?
>
> Not much, there was the timeGetTime function in libwinmm, but that test
> failed because of a stupid error on my part, I have attached a patch to make
> it work.

Thanks! I modified it slightly before I committed it. I removed the first
"AC_CHECK_LIB(winmm, timeGetTime)" since I figure that always fail anyway?

> Apart from this and nroff, the only problem is that openssl is not detected
> unless I use the 'with-ssl' option, even though it is in the default
> '/usr/local/ssl', but that's not important.

The nroff is not a problem anymore, is it? It should now simply disable the
built-in manual.

> The problem is that 'make install' fails because it can't find 'curl.exe', I
> know nothing about libtool, so I don't understand what happens, the output
> during the making is:
>
> /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/local/lib -o curl.exe
> main.o hugehelp.o urlglob.o writeout.o writeenv.o getpass.o homedir.o
> strtoofft.o ../lib/libcurl.la -lwinmm -lws2_32 -lz
> mkdir .libs
> gcc -g -O2 -o .libs/curl.exe main.o hugehelp.o urlglob.o writeout.o writeenv.o
> getpass.o homedir.o strtoofft.o -L/usr/local/lib ../lib/.libs/libcurl.dll.a
> -lwinmm -lws2_32 -lz -Wl,--rpath -Wl,/usr/local/lib
> creating curl.exe
>
> But despite all those '-o curl.exe' it the wrapper script is called 'curl'.

I would guess that this is either a libtool bug or possibly some weird
artifact of Windows.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-15