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)