Help test new HTTP/FTP code
Joe Vender
jvender at owensboro.net
Thu Dec 23 15:26:25 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
>On 12/22/04 at 4:14 PM David Shaw wrote:
>Hi folks,
>
>For various reasons, we are exploring using libcurl for HTTP
and FTP
>access within GnuPG (specifically the gpgkeys_xxxx programs).
This is
>still at the evaluation stage, and is not a done deal yet.
>
>For those people who are occasionally tracking CVS, I would
very much
>appreciate it if you could sync up to today's checkins and give
the
>new code a whirl. Note that using libcurl is not the default
>behavior, and requires a "--with-libcurl" argument to
./configure to
>turn it on.
Could someone please tell me exactly what I need and how to set
it up so I can use the --with-libcurl option in GnuPG 1.4.1-cvs.
This would be on an MinGW32/MSYS system on Windows 98.
I tried downloading curl-7.12.3-win32-ssl-devel-mingw32.zip and
placing the header files in c:\mingw\include, the library file
libcurl.a in c:\mingw\lib and the binary curl.exe in
c:\mingw\bin, but when I run ./configure --with-libcurl, it
reports that libcurl isn't available. Any help would be much
appreciated.
I even tried getting the source, curl-7.12.3.tar.bz2, building
the libcurl.a and curl.exe myself and putting them in said
locations, but configure still reported that libcurl isn't
available.
configure:6203: checking for libcurl
configure:6216: result: no
configure:6219: checking whether libcurl is modern enough
configure:6254: gcc -o conftest.exe -O0 -mtune=i386 -march=i386
- -mfpmath=387 -mno-mmx -mno-sse -mno-3dnow -mno-sse2
conftest.c >&5
configure:6256:23: curl/curl.h: No such file or directory
configure: In function `main':
configure:6262: error: `CURL_ERROR_SIZE' undeclared (first use
in this function)
configure:6262: error: (Each undeclared identifier is reported
only once
configure:6262: error: for each function it appears in.)
configure:6263: error: `NULL' undeclared (first use in this
function)
configure:6263: error: `CURLOPT_URL' undeclared (first use in
this function)
configure:6264: error: `CURLOPT_WRITEFUNCTION' undeclared (first
use in this function)
configure:6265: error: `CURLOPT_FILE' undeclared (first use in
this function)
configure:6267: error: `CURLOPT_ERRORBUFFER' undeclared (first
use in this function)
configure:6268: error: `CURLOPT_STDERR' undeclared (first use in
this function)
configure:6269: error: `CURLOPT_VERBOSE' undeclared (first use
in this function)
configure:6257: $? = 1
configure: failed program was:
| #line 6227 "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 HTTP_SUPPORT 1
| #define FTP_SUPPORT 1
| #define HAVE_LDAP_GET_OPTION 1
| #define HAVE_LDAP_SET_OPTION 1
| /* end confdefs.h. */
| #include <curl/curl.h>
| int
| main ()
| {
|
| int x;
| x=CURL_ERROR_SIZE;
| curl_easy_setopt(NULL,CURLOPT_URL,NULL);
| x=CURLOPT_WRITEFUNCTION;
| x=CURLOPT_FILE;
| /* x=CURLOPT_WRITEDATA; */
| x=CURLOPT_ERRORBUFFER;
| x=CURLOPT_STDERR;
| x=CURLOPT_VERBOSE;
|
| ;
| return 0;
| }
configure:6277: result: no
Thanks,
Joe Vender
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1-cvs (MingW32) - GPGshell v3.30
iQEVAwUBQcrVbSbIfMqPbtHmAQiTrgf+Ljg2ijkuuJ/qdtRYim9gR2CUXog8/i1O
FRCBwANbieywKHrGL1tx00m+ugOM0IRNEBkdhzkvTirq7l9GPiRmxcW79/yGOavU
Vgl461lyavJurod/ygFyfqTcUdxTkupEn/cJGh9YaaPuHQQrCq1fCU7+grOMvJv6
KSw79OqFBl8GokwKSweIRF4xrI/6S71hUEOc/WHNz5H2B/L2EzNNVQnw4gnuDZ3y
Cx7hq/NCQQ8+6euxhzwS0ushYRSkoXH+eYAJOTs5NTPcPvxAV3xlNHXIJ2QageON
3PGUikTfIISQ5RllaelWpoCrpMKHNewnupEqgLwe1FZTlf/EYbx4Wg==
=u8ir
-----END PGP SIGNATURE-----
More information about the Gnupg-devel
mailing list