Help test new HTTP/FTP code

Joe Vender jvender at owensboro.net
Sat Dec 25 17:45:02 CET 2004


>On 12/24/04 at 2:55 PM David Shaw wrote:

>> configure looks for libcurl in two steps: first, it runs the
>> 'curl-config' script to see if it exists.  You're not getting past
>> that stage.  Doesn't the win32 version of curl have a curl-config
>> script?
>
>It seems it doesn't, so I've revamped the configure check for
>libcurl to not require curl-config.  Could you try again?  Note that
>curl header files live in a subdirectory: it should be
>c:\mingw\include\curl\curl.h and not c:\mingw\include\curl.h
>
>David

I'm not having much luck with this. I've tried using the libcurl.a that
comes with curl-7.12.3-win32-ssl-devel-mingw32.zip and also tried
generating my own from the source, but ./configure doesn't seem to like any
of it. It keeps seeing libcurl as unusable.

configure:6265: checking for curl-config
configure:6298: result: no
configure:6374: checking whether libcurl is usable
configure:6413: gcc -o conftest.exe -O0 -mtune=i386 -march=i386
-mfpmath=387 -mno-mmx -mno-sse -mno-3dnow -mno-sse2   -static -lcurl
conftest.c  >&5
D:/TEMP/ccelrNfb.o(.text+0x37):conftest.c: undefined reference to
`_imp__curl_easy_setopt'
collect2: ld returned 1 exit status
configure:6416: $? = 1
configure: failed program was:
| #line 6385 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "gnupg"
| #define PACKAGE_TARNAME "gnupg"
| #define PACKAGE_VERSION "1.4.1-cvs"
| #define PACKAGE_STRING "gnupg 1.4.1-cvs"
| #define PACKAGE_BUGREPORT "bug-gnupg at gnu.org"
| #define PACKAGE "gnupg"
| #define VERSION "1.4.1-cvs"
| #define _GNU_SOURCE 1
| #define EGD_SOCKET_NAME ""
| #define USE_RSA 1
| #define USE_IDEA 1
| #define USE_CAST5 1
| #define USE_BLOWFISH 1
| #define USE_AES 1
| #define USE_TWOFISH 1
| #define USE_SHA256 1
| #define PK_UID_CACHE_SIZE 4096
| #define USE_ONLY_8DOT3 1
| #define HAVE_DRIVE_LETTERS 1
| #define USE_SIMPLE_GETTEXT 1
| #define HAVE_DOSISH_SYSTEM 1
| #define WITH_SYMBOL_UNDERSCORE 1
| #define HAVE_LDAP_GET_OPTION 1
| #define HAVE_LDAP_SET_OPTION 1
| /* end confdefs.h.  */
| #include <curl/curl.h>
| int
| main ()
| {
| 
| /* Try and use a few common options to force a failure if we are
|    missing symbols or can't link. */
| int x;
| curl_easy_setopt(NULL,CURLOPT_URL,NULL);
| x=CURL_ERROR_SIZE;
| x=CURLOPT_WRITEFUNCTION;
| x=CURLOPT_FILE;
| x=CURLOPT_ERRORBUFFER;
| x=CURLOPT_STDERR;
| x=CURLOPT_VERBOSE;
| 
|   ;
|   return 0;
| }
configure:6439: result: no

Oh, well...

Regards,
Joe





More information about the Gnupg-devel mailing list