cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compile failure on Fedora 13 systems.

From: Ben Greear <greearb_at_candelatech.com>
Date: Wed, 24 Aug 2016 11:23:29 -0700

Actually, a checkout of clean code still fails, but if I 'git reset --hard HEAD~198',
then do a build, and then pull, and then re-build, it works.

Something about the mere steps of doing a 'git bisect' fixes the issue.

I am testing with this commit:

commit 15592143f3bf9ca05293ea849767ea4704a18e4d
Author: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon Aug 22 14:48:13 2016 +0200

     RELEASE-NOTES: synced with 95ded2c56

Build log:

[greearb_at_v-f13-64 l4libs]$ make
(cd c-ares.ct && make)
make[1]: Entering directory `/home/greearb/btbits/x64_btbits/l4libs/c-ares.ct'
make all-am
make[2]: Entering directory `/home/greearb/btbits/x64_btbits/l4libs/c-ares.ct'
make[2]: Leaving directory `/home/greearb/btbits/x64_btbits/l4libs/c-ares.ct'
make[1]: Leaving directory `/home/greearb/btbits/x64_btbits/l4libs/c-ares.ct'
cp c-ares.ct/.libs/libcares.so.2.1.0 /home/greearb/btbits/x64_btbits/server/local/lib/
rm -f /home/greearb/btbits/x64_btbits/server/local/lib/libcares*
(cd /home/greearb/btbits/x64_btbits/server/local/lib && ln -s libcares.so.2.1.0 libcares.so.2 && ln -s libcares.so.2.1.0 libcares.so)
Creating Curl Makefile.in
(cd curl-git; ./buildconf);
buildconf: autoconf version 2.65 (ok)
buildconf: autom4te version 2.65 (ok)
buildconf: autoheader version 2.65 (ok)
buildconf: automake version 1.11.1 (ok)
buildconf: aclocal version 1.11.1 (ok)
buildconf: libtoolize version 2.2.6 (ok)
buildconf: GNU m4 version 1.4.13 (ok)
buildconf: running libtoolize
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Remember to add `LT_INIT' to configure.ac.
buildconf: converting all mv to mv -f in local m4/libtool.m4
buildconf: running aclocal
buildconf: converting all mv to mv -f in local aclocal.m4
buildconf: running autoheader
buildconf: running autoconf
configure.ac:1456: error: possibly undefined macro: PKG_CONFIG_LIBDIR
       If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.
buildconf: autoconf command failed
make: *** [curl-git/Makefile.in] Error 1
[greearb_at_v-f13-64 l4libs]$

Also, I see the same issue on Centos 6.6

Thanks,
Ben

On 08/24/2016 11:08 AM, Ben Greear wrote:
> Thanks for the suggestions.
>
> I think the problem was some issue with not fully cleaning after doing a pull
> of the latest code.
>
> I backed up 500 commits, did a build (which worked), did a 'make distclean', and now
> top-of-tree works again.
>
> Thanks,
> Ben
>
> On 08/24/2016 10:07 AM, Spork Schivago wrote:
>> Also, what version of libcurl did you upgrade to? I know with one of my CentOS systems, I used the cityfan repo's to pull a much newer version of libcurl in.
>> That worked like a charm. I see the city-fan repo has libcurl-7.50.1-1.0.cf.fc13.x86_64.rpm for Fedora 13. I believe that's a precompiled library
>> though. Is it possible for you to try installing via the city-fan repo?
>>
>> If not, sorry for bugging you.
>>
>> Ken
>>
>> On Wed, Aug 24, 2016 at 1:01 PM, Spork Schivago <sporkschivago_at_gmail.com <mailto:sporkschivago_at_gmail.com>> wrote:
>>
>> Ben,
>>
>> Sorry for the confusion. I didn't mean upgrade it to the latest version, just update it to the latest version that Fedora 13 provides. I'm guessing you
>> already have it installed and updated though. I think the end of life for Fedora 13 was back in 2011, so it'd make sense that you'd have a fully updated
>> Fedora 13 system.
>>
>> Someone had suggested adding m4_pattern_allow(PKG_CONFIG_LIBDIR) to configure.ac <http://configure.ac>. A person had the same error but with a different
>> project. That might be worth giving it a shot until someone more knowledgeable responds.
>>
>> I hope that helps.
>>
>> Ken
>>
>> On Wed, Aug 24, 2016 at 12:37 PM, Ben Greear <greearb_at_candelatech.com <mailto:greearb_at_candelatech.com>> wrote:
>>
>> On 08/24/2016 09:10 AM, Spork Schivago wrote:
>>
>> I take it you have pkg-config already installed. If not, you should probably install that. If it's already installed, I'd make sure it's fully
>> updated.
>>
>> Thanks.
>>
>>
>> It can be very inconvenient to patch that type of tool, so I want to make whatever changes are needed
>> in Curl instead of in the OS.
>>
>> Thanks,
>> Ben
>>
>>
>> Ken
>>
>> On Wed, Aug 24, 2016 at 11:35 AM, Ben Greear <greearb_at_candelatech.com <mailto:greearb_at_candelatech.com> <mailto:greearb_at_candelatech.com
>> <mailto:greearb_at_candelatech.com>>> wrote:
>>
>> I updated to a more recent libcurl, and now one of my older build machines
>> will not compile it:
>>
>> buildconf: running autoconf
>> configure.ac:1456 <http://configure.ac:1456> <http://configure.ac:1456>: error: possibly undefined macro: PKG_CONFIG_LIBDIR
>> If this token and others are legitimate, please use m4_pattern_allow.
>> See the Autoconf documentation.
>> buildconf: autoconf command failed
>>
>>
>> Any idea the most appropriate fix for this?
>>
>> Thanks,
>> Ben
>>
>> --
>> Ben Greear <greearb_at_candelatech.com <mailto:greearb_at_candelatech.com> <mailto:greearb_at_candelatech.com <mailto:greearb_at_candelatech.com>>>
>> Candela Technologies Inc http://www.candelatech.com
>>
>> -------------------------------------------------------------------
>> List admin: https://cool.haxx.se/list/listinfo/curl-library <https://cool.haxx.se/list/listinfo/curl-library>
>> <https://cool.haxx.se/list/listinfo/curl-library <https://cool.haxx.se/list/listinfo/curl-library>>
>> Etiquette: https://curl.haxx.se/mail/etiquette.html <https://curl.haxx.se/mail/etiquette.html> <https://curl.haxx.se/mail/etiquette.html
>> <https://curl.haxx.se/mail/etiquette.html>>
>>
>>
>>
>>
>> -------------------------------------------------------------------
>> List admin: https://cool.haxx.se/list/listinfo/curl-library <https://cool.haxx.se/list/listinfo/curl-library>
>> Etiquette: https://curl.haxx.se/mail/etiquette.html <https://curl.haxx.se/mail/etiquette.html>
>>
>>
>>
>> --
>> Ben Greear <greearb_at_candelatech.com <mailto:greearb_at_candelatech.com>>
>> Candela Technologies Inc http://www.candelatech.com
>>
>> -------------------------------------------------------------------
>> List admin: https://cool.haxx.se/list/listinfo/curl-library <https://cool.haxx.se/list/listinfo/curl-library>
>> Etiquette: https://curl.haxx.se/mail/etiquette.html <https://curl.haxx.se/mail/etiquette.html>
>>
>>
>>
>>
>>
>> -------------------------------------------------------------------
>> List admin: https://cool.haxx.se/list/listinfo/curl-library
>> Etiquette: https://curl.haxx.se/mail/etiquette.html
>>
>
>

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-08-24