[Koha-devel] problems installing z3950 module

Ville Huhtala vthuhtala at netscape.net
Wed Jan 8 11:36:03 CET 2003


>> cc (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk)

I managed to get it work:

perl-event 0.86-2mdk from mandrake-devel/contrib

Net::Z3950 source 
http://search.cpan.org/CPAN/authors/id/M/MI/MIRK/Net-Z3950-0.31.tar.gz

after uncompressing I edited Net-Z3950-0.31/yazwrap/Makefile.PL file:

I changed line
'CCFLAGS'   => $defaultCCFLAGS . ' -Wall',
to
'CCFLAGS'   => $defaultCCFLAGS . ' -Wall -D_GNU_SOURCE',

then back to Net-Z3950-0.31 directory and 

perl Makefile.PL
make
make test
make install

It worked for me. No idea why.

[The suggestion for -D_GNU_SOURCE see
http://lists.debian.org/debian-perl/2002/debian-perl-200209/msg00002.html
]

Ville

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/




More information about the Koha-devel mailing list