[csw-users] Problems compiling Apache2::Cookie

Dagobert Michelsen dam at opencsw.org
Tue Sep 25 15:09:12 CEST 2012


Hi Norbert,

Am 25.09.2012 um 14:04 schrieb Norbert Grundmann <ngrundma at uni-muenster.de>:
> 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?


You need to install CSWlibiconv-dev.


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20120925/ae47e16b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2351 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/users/attachments/20120925/ae47e16b/attachment.p7s>


More information about the users mailing list