[Koha] Koha-3.00.00-beta | Solaris 10 | Net-Z3950-ZOOM-1.21 | Test suite failure

Thommy M. thommym at at-hardeberga.com
Thu Apr 10 07:24:42 NZST 2008


Richard MAHONEY wrote:
> [To IndexData Net-z3950 readers my apologies for cross-posting]
> 
> Dear Subscribers,
> 
> (While not a Koha issue per se I am posting to this list as the issue I
> am facing often seems to crop up during Koha installs.)
> 
> Before installing koha-3.00.00-beta under Solaris 10 I have been trying
> to compile Net-Z3950-ZOOM-1.21. Unfortunately -- while all of the other
> Perl Modules have installed without issue -- I am unable to get ZOOM to
> pass the test suite. I have searched the net and found that a good
> number of people experience similar trouble. Still, after following all
> the various suggestions given I am no closer to a clean compile. The
> standard error is something along these lines (see zoom-gmake-test.txt
> attached):
> 
> #     Error:  Can't load
> '/home/rbm49/.cpan/build/Net-Z3950-ZOOM-1.21/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so'
> for module Net::Z3950::ZOOM: ld.so.1: perl: fatal: relocation error:
> file
> /home/rbm49/.cpan/build/Net-Z3950-ZOOM-1.21/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so:
> symbol _mcount: referenced symbol not found at
> /opt/csw/lib/perl/5.8.8/DynaLoader.pm line 230.
> 
> 
> Here is what I am trying and attached are the relevant logs:
> 
> Platform & apps.:
> 
> % uname -a
> SunOS proliant 5.10 Generic_118855-19 i86pc i386 i86pc
> 
> % /export/home/ieb/bin/yaz-config --version
> 3.0.26
> 
> % /opt/csw/bin/perl --version
> This is perl, v5.8.8 built for i86pc-solaris-thread-multi
> 
> % /opt/Studio12/SUNWspro/bin/dmake --version
> dmake: Sun Distributed Make 7.8 SunOS_i386 2007/05/03
> 
> % /opt/csw/bin/gmake --version
> GNU Make 3.81
> 
> % crle
> Configuration file [version 4]: /var/ld/ld.config
>   Default Library Path (ELF):  
> /lib:/usr/lib:/export/home/ieb/lib:/opt/csw/lib
>   Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system
> default)
> Command line:
>   crle -c /var/ld/ld.config -l
> /lib:/usr/lib:/export/home/ieb/lib:/opt/csw/lib
> 
> 
> Build process:
> 
> % pwd
> /home/rbm49/.cpan/build/Net-Z3950-ZOOM-1.21
> 
> % /opt/csw/bin/perl -I /export/home/ieb/lib ./Makefile.PL
>  (outputs Makefile - attached)
> 
> % /opt/Studio12/SUNWspro/bin/dmake [or /opt/csw/bin/gmake]
>  (outputs zoom-gmake.txt - attached)
> 
> % LD_LIBRARY_PATH=/export/home/ieb/lib dmake [or gmake] test
>  (outputs zoom-gmake-test.txt - attached)
> 
> 
> I would welcome any comments or suggestions.

First yaz

# wget http://ftp.indexdata.dk/pub/yaz/yaz-3.0.6.tar.gz
# gtar zxf yaz-3.0.6.tar.gz
# cd yaz-3.0.6
# CC=cc ./configure
[...]
Configuration:

  YAZ Package:                yaz
  YAZ Version:                3.0.6
  Bugreport:                  yaz-help at indexdata.dk
  Source code location:       .
  C Preprocessor:             cc -E
  C Preprocessor flags:
  C Compiler:                 cc
  C Compiler flags:           -g
  Linker flags:
  Linked libs:                -lexslt -lxslt -lxml2 -lpthread -lz -lm
-lsocket -lnsl    -lsocket -lnsl -R/usr/sfw/lib -L/usr/sfw/lib -lssl
-lcrypto -lsocket -lnsl -ldl
  Host System Type:           i386-pc-solaris2.11
  Install path:               /usr/local
  Automake:                   ${SHELL}
/opt/local/src/yaz-3.0.6/config/missing --run automake-1.9
  Archiver:                   ar
  Ranlib:                     ranlib

# make
# make install

Then perl modules

# perl -MCPAN -e'install "DBD::mysql"'
# perl -MCPAN -e'install "DBI"'
# perl -MCPAN -e'install "Digest::MD5"'
# perl -MCPAN -e'install "HTML::Template"'
# perl -MCPAN -e'install "Date::Manip"'
# perl -MCPAN -e'install "Mail::Sendmail"' #Give it some time to time
out the test
# perl -MCPAN -e'install "MARC::Record"'
# perl -MCPAN -e 'install "XML::SAX"'
# perl -MCPAN -e 'install "Class::Accessor"'
# perl -MCPAN -e 'install "MARC::Charset"'
# perl -MCPAN -e 'install "IO::File"'
# perl -MCPAN -e 'install "MARC::File::XML"'
# perl -MCPAN -e 'install "LWP::Simple"'
# perl -MCPAN -e 'install "Date::Calc"'
# cd /opt/local/src
# wget
http://search.cpan.org/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz
# gtar zxf Net-Z3950-ZOOM-1.21.tar.gz
# cd Net-Z3950-ZOOM-1.21
# perl -I /usr/local/lib Makefile.PL
# make
# LD_LIBRARY_PATH=/usr/local/lib make test
# make install
# cd

Have a look at my instructions on
http://www.at-hardeberga.com/AMPS-Koha.html
They are for 2.x but maybe can help here too.




More information about the Koha mailing list