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/
Ville Huhtala a écrit:
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',
In the Net::Z3950 mailing list, someone tells me to do : In Makefile.PL and yazwrap/Makefile.PL, try setting 'DEFINE' => '-D_GNU_SOURCE', which works. Thanks for help -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
participants (2)
-
paul POULAIN -
vthuhtala@netscape.net