| 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.
|  | 
11-24-2008, 09:01 AM
| | | 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 | 
11-24-2008, 09:20 AM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | pull fresh Thirdparty/curl from p4, this was fixed couple of days ago. | 
11-24-2008, 09:27 AM
| | | cheers top man, apologies if there was a solution on the forums, the last search i did was last week,
Steve | 
11-25-2008, 05:43 AM
| | | 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 | 
11-25-2008, 08:38 AM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | check you have curl/patches/heimdal.patch, that was the missing file that was added a few days ago. | 
11-25-2008, 09:30 AM
| | | 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 | 
11-26-2008, 01:15 AM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | you're also missing LWP:
perl -MCPAN -e 'install "LWP"' | 
12-04-2008, 07:25 AM
| | | perl component is the missing perl component causing the perl build to fail ? | 
12-04-2008, 08:56 AM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | based on your original log, yes | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |