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

It's me FKtPp ;) m_pupil at yahoo.com.cn
Thu Dec 20 17:04:01 CET 2007


David Shaw дµÀ:
> On Tue, Dec 04, 2007 at 12:28:44AM +0800, It's me FKtPp ;) wrote:
>   
>> David Shaw дµÀ:
>>     
>>> On Tue, Nov 27, 2007 at 11:17:46PM +0800, FKtPp wrote:
>>>       
>>>> 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.
>>>>         
>>> Can you show me the error you get?  It would be helpful.
>>>       
>> Sorry, for the late reply. I was previously not on list...
>>
>> 1) my configuration commandline is:
>>
>>  ./configure --prefix=/opt/sfw --with-libcurl=/opt/sfw
>>     
>
> Can you try this patch?  You will need to regenerate the Makefile
> after you apply the patch (automake).
>
> Index: Makefile.am
> ===================================================================
> --- Makefile.am	(revision 4665)
> +++ Makefile.am	(working copy)
> @@ -49,4 +49,5 @@
>  gpgkeys_hkp_CPPFLAGS = @LIBCURL_CPPFLAGS@
>  gpgkeys_hkp_LDADD = ../util/libcompat.a @LIBCURL@ @GETOPT@
>  gpgkeys_finger_CPPFLAGS = @LIBCURL_CPPFLAGS@
> +gpgkeys_ldap_CPPFLAGS += @LIBCURL_CPPFLAGS@
>  endif
>   
Sorry, but I've already made heavy change to my system's default
configuration, and I can't reproduce the problem now...

But the after the patch and reconfigure, the result Makefile is
identical to my workaround file, so I am sure it works well.

Sorry for NO test...

Best Regards.
FKtPp



More information about the Gnupg-devel mailing list