Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105746

Summary: strongswan-2.5.4 fails without useflag "curl"
Product: Gentoo Linux Reporter: Andreas Schultes <andreas.schultes>
Component: Current packagesAssignee: Jay Pfeifer (RETIRED) <pfeifer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch fixing the scepclient compilation problem

Description Andreas Schultes 2005-09-12 16:55:50 UTC
building fails because lib curl is missed.

Reproducible: Always
Steps to Reproduce:





[ebuild  N    ] net-misc/strongswan-2.5.4  -curl +ldap -smartcard 0 kB

Error Message:
cc -O2 -mcpu=i686 -fomit-frame-pointer -DDEBUG -DNO_PLUTO  -O2 -mcpu=i686
-fomit-frame-pointer -I../../linux/include -Wall -Wpointer-arith -Wcast-qual
-Wstrict-prototypes -Wbad-function-cast  -o scepclient scepclient.o rsakey.o
pkcs10.o loglite.o asn1.o ca.o certs.o constants.o crl.o defs.o fetch.o id.o
keys.o lex.o md2.o md5.o ocsp.o oid.o pem.o pgp.o pkcs1.o rnd.o sha1.o
smartcard.o x509.o  ../../lib/libfreeswan/libfreeswan.a
../../lib/libdes/libdes.a -lgmp -lcurl
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.6/../../../../i386-pc-linux-gnu/bin/ld:
cannot find -lcurl
collect2: ld returned 1 exit status
make[2]: *** [scepclient] Error 1
rm scepclient.o
make[2]: Leaving directory
`/var/tmp/portage/strongswan-2.5.4/work/strongswan-2.5.4/programs/scepclient'
make[1]: *** [programs] Error 1
make[1]: Leaving directory
`/var/tmp/portage/strongswan-2.5.4/work/strongswan-2.5.4/programs'
make: *** [programs] Error 1
Comment 1 Andreas Steffen 2005-10-01 07:14:33 UTC
Created attachment 69635 [details, diff]
Patch fixing the scepclient compilation problem

Since in the current development stage scepclient doesn't need libcurl yet,
the patch fixes the compilation problem by removing -lcurl from the Makefile.
Comment 2 Jay Pfeifer (RETIRED) gentoo-dev 2005-11-14 17:44:46 UTC
2.5.6 is in portage now and fixes this issue. It was a bug in a makefile.