gnupg 1.4.7 build system bug: gpgkeys_ldap compile error while libcurl in non-standard path

FKtPp m_pupil at yahoo.com.cn
Tue Nov 27 16:17:46 CET 2007


Dear developers,

I find this bug while compiling gnupg 1.4.7 on solaris 10/8 x86 edition on my machine.

PRE-REQUIREMENTS:

1) if you have curl/libcurl installed in non-standard place(which was true for solaris in /opt/sfw subdirectory)

2) you chose to compile in curl support.

3) your configure decide to compile in ldap support.

RESULT: 

Compile error while compile gpgkeys_ldap things. gpgkeys_ldap_* need libcurl header/libs path to be correct compiled/linked.

MY OPNION:

The file keyserver/Makefile.am:
gpgkeys_ldap_CPPFLAGS = @LDAP_CPPFLAGS@
gpgkeys_ldap_LDADD = ../util/libcompat.a @LDAPLIBS@ @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS at should be look like this:

gpgkeys_ldap_CPPFLAGS = @LDAP_CPPFLAGS@ $(gpgkeys_curl_CPPFLAGS)
gpgkeys_ldap_LDADD = ../util/libcompat.a @LDAPLIBS@ @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@ $(gpgkeys_curl_LDADD)

and then regenerate Makefile.in.

Best Regards
FKtPp




      ____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 




More information about the Gnupg-devel mailing list