Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-24-2008, 09:01 AM
Member
 
Posts: 14
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
Reply With Quote
  #2 (permalink)  
Old 11-24-2008, 09:20 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

pull fresh Thirdparty/curl from p4, this was fixed couple of days ago.
Reply With Quote
  #3 (permalink)  
Old 11-24-2008, 09:27 AM
Member
 
Posts: 14
Default

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

Steve
Reply With Quote
  #4 (permalink)  
Old 11-25-2008, 05:43 AM
Member
 
Posts: 14
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
Reply With Quote
  #5 (permalink)  
Old 11-25-2008, 08:38 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

check you have curl/patches/heimdal.patch, that was the missing file that was added a few days ago.
Reply With Quote
  #6 (permalink)  
Old 11-25-2008, 09:30 AM
Member
 
Posts: 14
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
Reply With Quote
  #7 (permalink)  
Old 11-26-2008, 01:15 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

you're also missing LWP:

perl -MCPAN -e 'install "LWP"'
Reply With Quote
  #8 (permalink)  
Old 12-04-2008, 07:25 AM
Member
 
Posts: 14
Default perl component

is the missing perl component causing the perl build to fail ?
Reply With Quote
  #9 (permalink)  
Old 12-04-2008, 08:56 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

based on your original log, yes
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.