[Net-z3950] event & z3950 build failure

Ville Huhtala ville.huhtala at pp1.inet.fi
Sat Oct 5 22:25:51 CEST 2002


Hello

z3950 needs event but i can't make it work.
Help!

I'm using mandrake 9.0. There is a perl-event package in mandrake-
contrib, z3950 don't find it - and it installs to i386-linux, not
i386-linux-thread-multi (simply copying is no good).

Ville Huhtala

Error message after 
perl -MCPAN -e 'install "Net::Z3950"'
...

Writing Makefile for Event
cp lib/Event/signal.pm blib/lib/Event/signal.pm
cp lib/Event/io.pm blib/lib/Event/io.pm
cp lib/Event/timer.pm blib/lib/Event/timer.pm
cp lib/Event/var.pm blib/lib/Event/var.pm
cp lib/Event/idle.pm blib/lib/Event/idle.pm
cp lib/Event.pod blib/lib/Event.pod
cp lib/Event/EventAPI.h blib/lib/Event/EventAPI.h
cp lib/Event/group.pm blib/lib/Event/group.pm
cp lib/Event/typemap blib/lib/Event/typemap
cp lib/Event.pm blib/lib/Event.pm
cp lib/Event/Watcher.pm blib/lib/Event/Watcher.pm
cp lib/Event/type.pm blib/lib/Event/type.pm
cp lib/Event/MakeMaker.pm blib/lib/Event/MakeMaker.pm
/usr/bin/perl5.8.0 /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap ./lib/Event/typemap  Event.xs > Event.xsc && mv Event.xsc Event.c
gcc -c  -Ic -Ilib/Event -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce   -DVERSION=\"0.86\" -DXS_VERSION=\"0.86\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   Event.c
In file included from Event.xs:278:
c/var.c: In function `pe_var_start':
c/var.c:87: warning: assignment from incompatible pointer type
c/var.c:88: warning: assignment from incompatible pointer type
Running Mkbootstrap for Event ()
chmod 644 Event.bs
rm -f blib/arch/auto/Event/Event.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib Event.o  -o blib/arch/auto/Event/Event.so
chmod 755 blib/arch/auto/Event/Event.so
cp Event.bs blib/arch/auto/Event/Event.bs
chmod 644 blib/arch/auto/Event/Event.bs
Manifying blib/man3/Event.3pm
Manifying blib/man3/Event::MakeMaker.3pm
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/attach_to.......ok
t/bored...........ok
t/callback........ok
t/data............ok
t/delete..........ok
t/eval............ok
t/fifo............ok
t/group...........ok
t/hook............ok
t/hup.............ok
t/idle............ok
t/idle2...........ok
t/io..............ok
t/leak............ok
t/leak2...........ok
t/loop............ok
t/now.............ok
t/reenter.........ok
t/signal..........ok
t/timeout_cb......ok
t/timer...........ok
t/unconfigured....ok
t/var.............dubious
        Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 1-6
        Failed 6/6 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/var.t        0    11     6    6 100.00%  1-6
Failed 1/23 test scripts, 95.65% okay. 6/115 subtests failed, 94.78% okay.
make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force
Running make for M/MI/MIRK/Net-Z3950-0.30.tar.gz
  Is already unwrapped into directory /root/.cpan/build/Net-Z3950-0.30

  CPAN.pm: Going to build M/MI/MIRK/Net-Z3950-0.30.tar.gz

cp Z3950/Record.pm blib/lib/Net/Z3950/Record.pm
cp Z3950/Tutorial.pm blib/lib/Net/Z3950/Tutorial.pm
cp Z3950/APDU.pm blib/lib/Net/Z3950/APDU.pm
cp Z3950.pm blib/lib/Net/Z3950.pm
AutoSplitting blib/lib/Net/Z3950.pm (blib/lib/auto/Net/Z3950)
cp Z3950/Connection.pm blib/lib/Net/Z3950/Connection.pm
cp Z3950/Manager.pm blib/lib/Net/Z3950/Manager.pm
cp Z3950/ResultSet.pm blib/lib/Net/Z3950/ResultSet.pm
cd yazwrap && /usr/bin/make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX="/usr" OPTIMIZE="-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory `/root/.cpan/build/Net-Z3950-0.30/yazwrap'
gcc -c   -Dbool=char -DHAS_BOOL -I/usr/local/include -Wall -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce   -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   connect.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/op.h:480,
                 from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2209,
                 from ywpriv.h:5,
                 from connect.c:12:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:602: field `_crypt_struct' has incomplete type
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:3368,
                 from ywpriv.h:5,
                 from connect.c:12:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:246: parse error before "off64_t"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: parse error before "Perl_do_sysseek"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: parse error before "off64_t"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: warning: type defaults to `int' in declaration of `Perl_do_sysseek'
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:248: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:249: parse error before "Perl_do_tell"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:249: warning: type defaults to `int' in declaration of `Perl_do_tell'
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:249: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1378: parse error before "Perl_PerlIO_tell"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1378: warning: type defaults to `int' in declaration of `Perl_PerlIO_tell'
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1378: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/proto.h:1379: parse error before "off64_t"
make[1]: *** [connect.o] Error 1
make[1]: Leaving directory `/root/.cpan/build/Net-Z3950-0.30/yazwrap'
make: *** [yazwrap/libyazwrap.a] Error 2
  /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





More information about the Net-z3950 mailing list