[csw-users] Problems compiling Apache2::Cookie
Norbert Grundmann
ngrundma at uni-muenster.de
Tue Sep 25 15:25:37 CEST 2012
Many, many thanks!! :-)
But now there is:
handle.c:20:19: fatal error: httpd.h: No such file or directory
compilation terminated.
*** Error code 1
make: Fatal error: Command failed for target `handle.lo'
Current working directory
/root/.cpan/build/libapreq2-2.13-E_HiTB/module/apache2
*** Error code 1
which i corrected by adding
pkgutil -i CSWapache2-dev
and the last is:
cd perl; /opt/csw/bin/perl Makefile.PL -apxs /opt/csw/apache2/sbin/apxs
Can't locate Parse/RecDescent.pm in @INC (@INC contains:
/opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl
/opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw
/opt/csw/share/perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.10.1
/opt/csw/share/perl/5.10.1 .) at
/opt/csw/share/perl/site_perl/ExtUtils/XSBuilder/ParseSource.pm line 9.
BEGIN failed--compilation aborted at
/opt/csw/share/perl/site_perl/ExtUtils/XSBuilder/ParseSource.pm line 9.
Compilation failed in require at Makefile.PL line 22.
BEGIN failed--compilation aborted at Makefile.PL line 22.
*** Error code 2
make: Fatal error: Command failed for target `perl/Makefile'
Current working directory /root/.cpan/build/libapreq2-2.13-o6QSiD/glue
*** Error code 1
Cheers, Norbert
On 09/25/2012 15:09, Dagobert Michelsen wrote:
> Hi Norbert,
>
> Am 25.09.2012 um 14:04 schrieb Norbert Grundmann
> <ngrundma at uni-muenster.de <mailto: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
>
>
>
> _______________________________________________
> users mailing list
> users at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/users
--
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/92fe33a3/attachment.html>
More information about the users
mailing list