[Koha-devel] Koha 3.0 - XML::LibXSLT

Partha Mukhopadhyay psm_vu at india.com
Fri Jul 11 13:41:48 CEST 2008


Dear developers

I'm installing koha 3 (Rc1) on Fedora Core 7. Now I've done with Yaz and zebra but getting problems for four perl modules. I'm using cpan utility for downloading and installing perl modules. The problem childs are -

1) DBD::mysql (I dropped the old test database, created a new one and used --testdb=test --testuser=test --testpass=test as makepl_arg);

2) XML::LibXSLT

3) Net::Z39.50::ZOOM

4) Image::Magick

Rest of the required perl modules are installed properly without any problem.

I'm attaching herewith the XML::LibXSLT related error -

------------------------------------------------------------------------

XML::LibXSLT
-----------------------
cpan[3]> install XML::LibXSLT
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 10 Jul 2008 11:02:50 GMT
CPAN: YAML loaded ok (v0.66)
Going to read /root/.cpan/build/
............................................................................DONE
Found 82 old builds, restored the state of 82
Running install for module 'XML::LibXSLT'
Running make for P/PA/PAJAS/XML-LibXSLT-1.66.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.011)
Checksum for /root/.cpan/sources/authors/id/P/PA/PAJAS/XML-LibXSLT-1.66.tar.gz ok
XML-LibXSLT-1.66/
XML-LibXSLT-1.66/Changes
XML-LibXSLT-1.66/Driver/
XML-LibXSLT-1.66/Driver/BaseClass.pm
XML-LibXSLT-1.66/Driver/LibXSLT.pm
XML-LibXSLT-1.66/Driver/Sablotron.pm
XML-LibXSLT-1.66/LibXSLT.pm
XML-LibXSLT-1.66/LibXSLT.xs
XML-LibXSLT-1.66/MANIFEST
XML-LibXSLT-1.66/META.yml
XML-LibXSLT-1.66/Makefile.PL
XML-LibXSLT-1.66/README
XML-LibXSLT-1.66/benchmark.pl
XML-LibXSLT-1.66/example/
XML-LibXSLT-1.66/example/1.xml
XML-LibXSLT-1.66/example/1.xsl
XML-LibXSLT-1.66/example/2.xml
XML-LibXSLT-1.66/example/2.xsl
XML-LibXSLT-1.66/example/bad1.xsl
XML-LibXSLT-1.66/example/bad2.xsl
XML-LibXSLT-1.66/example/bad3.xsl
XML-LibXSLT-1.66/example/fatal.xsl
XML-LibXSLT-1.66/example/nonfatal.xsl
XML-LibXSLT-1.66/perl-libxml-mm.c
XML-LibXSLT-1.66/perl-libxml-mm.h
XML-LibXSLT-1.66/ppport.h
XML-LibXSLT-1.66/t/
XML-LibXSLT-1.66/t/01basic.t
XML-LibXSLT-1.66/t/02dromeds.t
XML-LibXSLT-1.66/t/03input.t
XML-LibXSLT-1.66/t/04params.t
XML-LibXSLT-1.66/t/05quick.t
XML-LibXSLT-1.66/t/06entities.t
XML-LibXSLT-1.66/t/06output.t
XML-LibXSLT-1.66/t/07blankdoc.t
XML-LibXSLT-1.66/t/08literal.t
XML-LibXSLT-1.66/t/09exslt.t
XML-LibXSLT-1.66/t/10functions.t
XML-LibXSLT-1.66/t/11utf8.t
XML-LibXSLT-1.66/t/12import.t
XML-LibXSLT-1.66/t/13error.t
XML-LibXSLT-1.66/t/14security.t
XML-LibXSLT-1.66/testcases/
XML-LibXSLT-1.66/testcases/default.conf
XML-LibXSLT-1.66/typemap
CPAN: File::Temp loaded ok (v0.20)

  CPAN.pm: Going to build P/PA/PAJAS/XML-LibXSLT-1.66.tar.gz

running xslt-config... ok
looking for -lxslt... yes
looking for -lexslt... yes
running pkg-config libexslt... ok
Checking if your kit is complete...
Looks good
Writing Makefile for XML::LibXSLT
cp benchmark.pl blib/lib/XML/benchmark.pl
cp LibXSLT.pm blib/lib/XML/LibXSLT.pm
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  LibXSLT.xs > LibXSLT.xsc && mv LibXSLT.xsc LibXSLT.c
gcc -c  -I/usr/include/libxml2 -I/usr/include/libxml2   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.66\" -DXS_VERSION=\"1.66\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT LibXSLT.c
LibXSLT.xs: In function ‘LibXSLT_generic_function’:
LibXSLT.xs:326: warning: value computed is not usedkoha-devel at lists.koha.org
LibXSLT.xs:365: warning: pointer targets in passing argument 3 of ‘xmlNewDocNode’ differ in signedness
LibXSLT.xs:239: warning: unused variable ‘arguments’
LibXSLT.xs: In function ‘LibXSLT_input_match’:
LibXSLT.xs:459: warning: value computed is not used
LibXSLT.xs: In function ‘LibXSLT_input_open’:
LibXSLT.xs:503: warning: value computed is not used
LibXSLT.xs: In function ‘LibXSLT_input_read’:
LibXSLT.xs:553: warning: value computed is not used
LibXSLT.xs: In function ‘LibXSLT_security_check’:
LibXSLT.xs:643: warning: value computed is not used
LibXSLT.c: In function ‘XS_XML__LibXSLT_xinclude_default’:
LibXSLT.c:799: warning: unused variable ‘self’
LibXSLT.c: In function ‘XS_XML__LibXSLT_max_depth’:
LibXSLT.c:821: warning: unused variable ‘self’
LibXSLT.c: In function ‘XS_XML__LibXSLT_register_function’:
LibXSLT.c:844: warning: unused variable ‘self’
LibXSLT.c: In function ‘XS_XML__LibXSLT_debug_callback’:
LibXSLT.c:882: warning: unused variable ‘self’
LibXSLT.c: In function ‘XS_XML__LibXSLT__parse_stylesheet’:
LibXSLT.c:910: warning: unused variable ‘self’
LibXSLT.c: In function ‘XS_XML__LibXSLT__parse_stylesheet_file’:
LibXSLT.c:964: warning: unused variable ‘self’
LibXSLT.c: In function ‘XS_XML__LibXSLT_lib_init_callbacks’:
LibXSLT.c:1002: warning: unused variable ‘self’
LibXSLT.c: In function ‘XS_XML__LibXSLT_lib_cleanup_callbacks’:
LibXSLT.c:1021: warning: unused variable ‘self’
LibXSLT.xs: In function ‘XS_XML__LibXSLT__Stylesheet__output_string’:
LibXSLT.xs:1145: warning: suggest parentheses around && within ||
LibXSLT.xs: In function ‘XS_XML__LibXSLT__Stylesheet_media_type’:
LibXSLT.xs:1219: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
LibXSLT.xs:1219: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
LibXSLT.xs:1219: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
LibXSLT.xs:1219: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
LibXSLT.xs:1219: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
LibXSLT.xs:1219: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
LibXSLT.xs:1222: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
LibXSLT.xs:1222: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
LibXSLT.xs:1222: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
LibXSLT.xs:1222: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
LibXSLT.xs:1222: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
LibXSLT.xs:1222: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
LibXSLT.xs:1228: warning: pointer targets in assignment differ in signedness
LibXSLT.xs: In function ‘XS_XML__LibXSLT__Stylesheet_output_encoding’:
LibXSLT.xs:1241: warning: pointer targets in assignment differ in signedness
gcc -c  -I/usr/include/libxml2 -I/usr/include/libxml2   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.66\" -DXS_VERSION=\"1.66\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT perl-libxml-mm.c
Running Mkbootstrap for XML::LibXSLT ()
chmod 644 LibXSLT.bs
rm -f blib/arch/auto/XML/LibXSLT/LibXSLT.so
LD_RUN_PATH="/usr/lib64" gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic LibXSLT.o perl-libxml-mm.o  -o blib/arch/auto/XML/LibXSLT/LibXSLT.so      \
           -L/usr/lib64 -lxslt -lxml2 -lz -lm -lexslt -lgcrypt -lgpg-error -lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc     \
          
/usr/bin/ld: skipping incompatible /usr/lib/libgpg-error.so when searching for -lgpg-error
/usr/bin/ld: skipping incompatible /usr/lib/libgpg-error.a when searching for -lgpg-error
/usr/bin/ld: cannot find -lgpg-error
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1
  PAJAS/XML-LibXSLT-1.66.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 PAJAS/XML-LibXSLT-1.66.tar.gz                : make NO
----------------------------------------------------------------------------- 

Dr. Parthasarathi Mukhopadhyay
Department of Library and Information Science
University of Burdwan, Burdwan, West Bengal, India


=
Manage Clusters Easier
Easy to use Graphical Interface. Get 90-99% HW Utilization - Try Moab.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=0fed92dd6184fd5c310219a733d0fa59


-- 
_______________________________________________
Search for products and services at: 
http://search.mail.com
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel



More information about the Koha-devel mailing list