[csw-users] Problems compiling Apache2::Cookie

Norbert Grundmann ngrundma at uni-muenster.de
Tue Sep 25 14:04:29 CEST 2012


Hi,

I have problems (along with others using cpan and OpenCSW) installing 
Apache2::Cookie
(I have no sun compiler installed so far - just gcc!!)

-- snip --
[root at melon-services:5.10.1] # /opt/csw/bin/perl -MCPAN -e 'install 
Apache2::Cookie'
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
   Database was generated on Tue, 25 Sep 2012 11:07:03 GMT
Running install for module 'Apache2::Cookie'
CPAN: Data::Dumper loaded ok (v2.124)
'YAML' not installed, falling back to Data::Dumper and Storable to read 
prefs '/root/.cpan/prefs'
Running make for I/IS/ISAAC/libapreq2-2.13.tar.gz
...
  gcc -DHAVE_CONFIG_H -I. -I../include -I/opt/csw/include 
-I/opt/csw/bdb48/include -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS 
-D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -MT error.lo -MD -MP -MF 
.deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
mv -f .deps/error.Tpo .deps/error.Plo
/bin/sh ../libtool --tag=CC    --mode=link gcc  -g -O2 -version-info 
11:0:8  -L/opt/csw/lib -R/opt/csw/lib -lapr-1 -laprutil-1  -luuid 
-lsendfile -lrt -lsocket -lnsl  -lpthread -ldl -liconv  -o libapreq2.la 
-rpath /opt/csw/lib util.lo version.lo cookie.lo param.lo  parser.lo 
parser_urlencoded.lo parser_header.lo parser_multipart.lo module.lo 
module_custom.lo module_cgi.lo error.lo
gcc -shared -Wl,-h -Wl,libapreq2.so.3 -o .libs/libapreq2.so.3.8.0 
.libs/util.o .libs/version.o .libs/cookie.o .libs/param.o .libs/parser.o 
.libs/parser_urlencoded.o .libs/parser_header.o .libs/parser_multipart.o 
.libs/module.o .libs/module_custom.o .libs/module_cgi.o .libs/error.o  
-R/opt/csw/lib -L/opt/csw/lib -lapr-1 -laprutil-1 -luuid -lsendfile -lrt 
-lsocket -lnsl -lpthread -ldl -liconv
*ld: fatal: library -liconv: not found*
ld: fatal: file processing errors. No output written to 
.libs/libapreq2.so.3.8.0
*** Error code 1
make: Fatal error: Command failed for target `libapreq2.la'
Current working directory /root/.cpan/build/libapreq2-2.13-Tqtxft/library
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /root/.cpan/build/libapreq2-2.13-Tqtxft/library
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
...
-- snip --

Can anyone tell me what is wrong?

I already instllaed CSW packages...

-- snip --
# pkgutil -i libapreq2
Solving needed dependencies ...
Solving dependency order ...
40 CURRENT packages:
         CSWalternatives-1.1.1,REV=2011.05.31
         CSWapache2-2.2.22,REV=2012.06.01
         CSWapache2-utils-2.2.22,REV=2012.06.01
         CSWapache2c-2.2.22,REV=2012.06.01
         CSWapache2rt-2.2.22,REV=2012.06.01
         CSWbdb47-4.7.25,REV=2009.10.18_rev=p4
         CSWbdb48-4.8.30,REV=2010.12.06_rev=p0
         CSWcacertificates-20120511,REV=2012.05.11
         CSWcas-initsmf-1.44,REV=2011.04.21
         CSWcas-migrateconf-1.47,REV=2012.02.14
         CSWcas-postmsg-1.42,REV=2010.11.26
         CSWcas-preserveconf-1.42,REV=2010.11.26
         CSWcommon-1.5,REV=2010.12.11
*CSWiconv-1.14,REV=2011.08.08*
         CSWlibapr-dev-1.4.6,REV=2012.03.03
         CSWlibapr1-0-1.4.6,REV=2012.03.03
*CSWlibapreq2-2.12,REV=2010.02.10*
         CSWlibaprutil-dev-1.3.12,REV=2011.07.26
         CSWlibaprutil1-0-1.3.12,REV=2011.07.26
         CSWlibaprutil1-dbm-db-1.3.12,REV=2011.07.26
         CSWlibaprutil1-ldap-1.3.12,REV=2011.07.26
         CSWlibcharset1-1.14,REV=2011.08.07
         CSWlibexpat1-2.0.1,REV=2011.07.15
         CSWlibgdbm4-1.9,REV=2011.10.24
         CSWlibiconv2-1.14,REV=2011.08.07
         CSWliblber2-3-0-2.3_1,REV=2012.02.01
         CSWliblber2-4-2-2.4.28,REV=2012.02.11
         CSWlibldap-r2-3-0-2.3_1,REV=2012.02.01
         CSWlibldap-r2-4-2-2.4.28,REV=2012.02.11
         CSWlibldap2-3-0-2.3_1,REV=2012.02.01
         CSWlibldap2-4-2-2.4.28,REV=2012.02.11
         CSWlibnet-1.0.2a,REV=2011.09.29
         CSWlibsasl2-2-2.1.25,REV=2012.05.06
         CSWlibssl0-9-8-0.9.8x,REV=2012.05.12
         CSWlibssl1-0-0-1.0.1c,REV=2012.05.12
         CSWlibz1-1.2.7,REV=2012.06.14
         CSWoldaprt-2.4.28,REV=2012.02.11
         CSWopenssl-utils-1.0.1c,REV=2012.05.12
         CSWosslutils-0.9.8x,REV=2012.05.12
         CSWperl-5.10.1,REV=2012.07.24

Nothing to do.
-- snip --

Thanks!  Norbert

-- 
Institute of Bioinformatics
Faculty of Medicine
University of Muenster, Germany
fax: +49-251-8353005
phone: +49-251-8353007

Use *BSD because Linux is a patch for Linux

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20120925/1d848250/attachment-0001.html>


More information about the users mailing list