Results 1 to 9 of 9

Thread: curl build fails

  1. #1
    stephenlane80 is offline Member
    Join Date
    Oct 2008
    Posts
    14
    Rep Power
    6

    Default curl build fails

    Hello,

    I get the following error when i try to build curl:

    make[1]: Entering directory `/home/Stephen.Lane/FRANKLIN-5011/ThirdParty/curl'
    (tar xzf src/curl-7.18.1.tar.gz; \
    cd curl-7.18.1; \
    patch -g0 -p1 < ../patches/heimdal.patch; \
    make ca-bundle; \
    LD_RUN_PATH=/opt/zimbra/openssl-0.9.8g:/opt/zimbra/heimdal-1.2/lib \
    CFLAGS="-g -O2" \
    ./configure --prefix=/opt/zimbra/curl-7.18.1 --disable-ldap --disable-ldaps \
    --with-gssapi=/opt/zimbra/heimdal-1.2 \
    --with-ssl=/opt/zimbra/openssl-0.9.8g \
    --with-ca-bundle=/opt/zimbra/curl-7.18.1/share/curl/ca-bundle.crt \
    --with-zlib=/usr/lib64 \
    --with-libidn=/usr/lib64;\
    make -j2; \
    make -j2 install; \
    make ca-bundle; \
    mkdir -p /opt/zimbra/curl-7.18.1/share/curl; \
    cp -f lib/ca-bundle.crt /opt/zimbra/curl-7.18.1/share/curl/ca-bundle.crt)
    /bin/sh: line 2: ../patches/heimdal.patch: No such file or directory
    make[2]: Entering directory `/home/Stephen.Lane/FRANKLIN-5011/ThirdParty/curl/curl-7.18.1'
    generate a fresh ca-bundle.crt
    Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at lib/mk-ca-bundle.pl line 36.
    BEGIN failed--compilation aborted at lib/mk-ca-bundle.pl line 36.
    make[2]: *** [ca-bundle] Error 2


    Any help would be appreciated,

    Thanks

    Steve

  2. #2
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    pull fresh Thirdparty/curl from p4, this was fixed couple of days ago.

  3. #3
    stephenlane80 is offline Member
    Join Date
    Oct 2008
    Posts
    14
    Rep Power
    6

    Default

    cheers top man, apologies if there was a solution on the forums, the last search i did was last week,

    Steve

  4. #4
    stephenlane80 is offline Member
    Join Date
    Oct 2008
    Posts
    14
    Rep Power
    6

    Default

    Hi i pulled the latest curl folder from the franklin-5011 folder of the p4 server but i still get the build error,

    I am using CentOS52 if that any help,

    Steve

  5. #5
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    check you have curl/patches/heimdal.patch, that was the missing file that was added a few days ago.

  6. #6
    stephenlane80 is offline Member
    Join Date
    Oct 2008
    Posts
    14
    Rep Power
    6

    Default

    yes that file is present, i downloaded the entire repository again, i guess there is some other issue, i think the error may relate to security certificats

  7. #7
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    you're also missing LWP:

    perl -MCPAN -e 'install "LWP"'

  8. #8
    stephenlane80 is offline Member
    Join Date
    Oct 2008
    Posts
    14
    Rep Power
    6

    Default perl component

    is the missing perl component causing the perl build to fail ?

  9. #9
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    based on your original log, yes

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to build Zimbra from source?
    By sasepp in forum Developers
    Replies: 4
    Last Post: 11-25-2008, 05:03 AM
  2. build of nginx fails
    By syhliu in forum Developers
    Replies: 11
    Last Post: 11-24-2008, 05:41 PM
  3. postinig to calendar with curl fails
    By SpaceBass in forum Developers
    Replies: 5
    Last Post: 03-07-2007, 11:58 AM
  4. 64bit build, reset-the-world fails on LmtpInject
    By buttars in forum Installation
    Replies: 6
    Last Post: 02-14-2006, 09:31 PM
  5. CentOS 4.2 Build
    By andreychek in forum Developers
    Replies: 2
    Last Post: 12-09-2005, 09:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •