Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

cpan -i Language::Prolog::Yaswi gives undefined symbol: clock_gettime

by Steve_BZ (Chaplain)
on Jun 16, 2012 at 21:28 UTC ( [id://976600]=perlquestion: print w/replies, xml ) Need Help??

Steve_BZ has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I just failed to install Yaswi on Kubuntu 12.04 LTS with:

cpan -i Language::Prolog::Yaswi

It installed without incident on 9.04 - 11.10, so this is unexpected. (Update Ok, so not totally without incident and not totally unexpected).

Here is the output:

cpan -i Language::Prolog::Yaswi Reading '/home/image/.cpan/Metadata' Database was generated on Sat, 16 Jun 2012 06:14:01 GMT Running install for module 'Language::Prolog::Yaswi' Running make for S/SA/SALVA/Language-Prolog-Yaswi-0.19.tar.gz Checksum for /home/image/.cpan/sources/authors/id/S/SA/SALVA/Language- +Prolog-Yaswi-0.19.tar.gz ok CPAN.pm: Building S/SA/SALVA/Language-Prolog-Yaswi-0.19.tar.gz Checking if your kit is complete... Looks good retrieving SWI-Prolog configuration: running 'swipl -dump-runtime-variables' PLBASE: /usr/lib/swi-prolog PLARCH: i386 PLLIBS: -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl PLLIB: -lswipl PLCFLAGS: -pthread -fPIC PLLDFLAGS: -rdynamic -Wl,-Bsymbolic-functions -Wl,-z,relro -pthrea +d PLSOEXT: so PLVERSION: 51004 PLSHARED: yes PLTHREADS: yes checking thread support in Perl and SWI-Prolog: thread support enabled creating plconfig.c Writing Makefile for Language::Prolog::Yaswi::Low Writing MYMETA.yml and MYMETA.json Writing Makefile for Language::Prolog::Yaswi Writing MYMETA.yml and MYMETA.json cp pl.pl blib/lib/Language/Prolog/pl.pl cp Yaswi.pm blib/lib/Language/Prolog/Yaswi.pm make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-Tcxn1S/Low' cp Low.pm ../blib/lib/Language/Prolog/Yaswi/Low.pm /usr/bin/perl /usr/share/perl/5.14.2/ExtUtils/xsubpp -typemap /usr/sh +are/perl/5.14/ExtUtils/typemap Low.xs > Low.xsc && mv Low.xsc Low.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" Low.c Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_ref2int’: Low.xs:218:12: warning: cast from pointer to integer of different size + [-Wpointer-to-int-cast] Low.c: In function ‘XS_Language__Prolog__Yaswi__Low_openquery’: Low.xs:140:15: warning: ignoring return value of ‘PL_unify_arg’, decla +red with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" callb +ack.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" callp +erl.c callperl.c: In function ‘push_args’: callperl.c:118:19: warning: ignoring return value of ‘PL_unify_term’, +declared with attribute warn_unused_result [-Wunused-result] callperl.c: In function ‘check_error_and_pop_results’: callperl.c:76:15: warning: ignoring return value of ‘PL_unify_term’, d +eclared with attribute warn_unused_result [-Wunused-result] callperl.c:84:15: warning: ignoring return value of ‘PL_unify_term’, d +eclared with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" hook. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" perl2 +swi.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" swi2p +erl.c swi2perl.c: In function ‘raise_atom_expected’: swi2perl.c:177:18: warning: ignoring return value of ‘PL_unify_term’, +declared with attribute warn_unused_result [-Wunused-result] swi2perl.c: In function ‘swi2perl’: swi2perl.c:26:13: warning: ignoring return value of ‘PL_get_long’, dec +lared with attribute warn_unused_result [-Wunused-result] swi2perl.c:31:14: warning: ignoring return value of ‘PL_get_float’, de +clared with attribute warn_unused_result [-Wunused-result] swi2perl.c:53:28: warning: ignoring return value of ‘PL_get_list’, dec +lared with attribute warn_unused_result [-Wunused-result] swi2perl.c:70:30: warning: ignoring return value of ‘PL_get_name_arity +’, declared with attribute warn_unused_result [-Wunused-result] swi2perl.c:85:31: warning: ignoring return value of ‘PL_get_arg’, decl +ared with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" plcon +fig.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" argv. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" query +.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" vars. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" conte +xt.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" engin +es.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" opaqu +e.c Running Mkbootstrap for Language::Prolog::Yaswi::Low () chmod 644 Low.bs rm -f ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so LD_RUN_PATH="/usr/lib/i386-linux-gnu:/lib/i386-linux-gnu" cc -shared +-O2 -g -L/usr/local/lib -fstack-protector Low.o callback.o callperl.o + hook.o perl2swi.o swi2perl.o plconfig.o argv.o query.o vars.o contex +t.o engines.o opaque.o -o ../blib/arch/auto/Language/Prolog/Yaswi/Lo +w/Low.so \ -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl -L/usr/lib/sw +i-prolog/lib/i386/ -lswipl \ chmod 755 ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so cp Low.bs ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs chmod 644 ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs Manifying ../blib/man3/Language::Prolog::Yaswi::Low.3pm make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-Tcxn1S/Low' Manifying blib/man3/Language::Prolog::pl.3pm Manifying blib/man3/Language::Prolog::Yaswi.3pm SALVA/Language-Prolog-Yaswi-0.19.tar.gz make -- OK Running make test make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-Tcxn1S/Low' make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-Tcxn1S/Low' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/1Low.t ..... 1/1 # Failed test 'use Language::Prolog::Yaswi::Low;' # at t/1Low.t line 9. # Tried to use 'Language::Prolog::Yaswi::Low'. # Error: Can't load '/home/image/.cpan/build/Language-Prolog-Yasw +i-0.19-Tcxn1S/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for mo +dule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language-P +rolog-Yaswi-0.19-Tcxn1S/blib/arch/auto/Language/Prolog/Yaswi/Low/Low. +so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader. +pm line 184. # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/1Low.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/2Yaswi.t ... 1/1 # Failed test 'use Language::Prolog::Yaswi;' # at t/2Yaswi.t line 9. # Tried to use 'Language::Prolog::Yaswi'. # Error: Can't load '/home/image/.cpan/build/Language-Prolog-Yasw +i-0.19-Tcxn1S/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for mo +dule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language-P +rolog-Yaswi-0.19-Tcxn1S/blib/arch/auto/Language/Prolog/Yaswi/Low/Low. +so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader. +pm line 184. # at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-Tcxn1S/blib/l +ib/Language/Prolog/Yaswi.pm line 54 # Compilation failed in require at /home/image/.cpan/build/Language-Pr +olog-Yaswi-0.19-Tcxn1S/blib/lib/Language/Prolog/Yaswi.pm line 54. # BEGIN failed--compilation aborted at /home/image/.cpan/build/Languag +e-Prolog-Yaswi-0.19-Tcxn1S/blib/lib/Language/Prolog/Yaswi.pm line 54. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/2Yaswi.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/3simple.t .. Can't load '/home/image/.cpan/build/Language-Prolog-Yas +wi-0.19-Tcxn1S/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for m +odule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-Tcxn1S/blib/arch/auto/Language/Prolog/Yaswi/Low/Low +.so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader +.pm line 184. at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-Tcxn1S/blib/lib +/Language/Prolog/Yaswi.pm line 54 Compilation failed in require at /home/image/.cpan/build/Language-Prol +og-Yaswi-0.19-Tcxn1S/blib/lib/Language/Prolog/Yaswi.pm line 54. BEGIN failed--compilation aborted at /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-Tcxn1S/blib/lib/Language/Prolog/Yaswi.pm line 54. Compilation failed in require at t/3simple.t line 13. BEGIN failed--compilation aborted at t/3simple.t line 13. # Looks like your test exited with 2 before it could output anything. t/3simple.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 27/27 subtests t/4pods.t .... skipped: Only the author needs to check that POD docs a +re right t/5opaque.t .. Can't load '/home/image/.cpan/build/Language-Prolog-Yas +wi-0.19-Tcxn1S/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for m +odule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-Tcxn1S/blib/arch/auto/Language/Prolog/Yaswi/Low/Low +.so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader +.pm line 184. at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-Tcxn1S/blib/lib +/Language/Prolog/Yaswi.pm line 54 Compilation failed in require at /home/image/.cpan/build/Language-Prol +og-Yaswi-0.19-Tcxn1S/blib/lib/Language/Prolog/Yaswi.pm line 54. BEGIN failed--compilation aborted at /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-Tcxn1S/blib/lib/Language/Prolog/Yaswi.pm line 54. Compilation failed in require at t/5opaque.t line 12. BEGIN failed--compilation aborted at t/5opaque.t line 12. # Looks like your test exited with 2 before it could output anything. t/5opaque.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests Test Summary Report ------------------- t/1Low.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/2Yaswi.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/3simple.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 27 tests but ran 0. t/5opaque.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=5, Tests=2, 1 wallclock secs ( 0.11 usr 0.03 sys + 0.77 cusr + 0.06 csys = 0.97 CPU) Result: FAIL Failed 4/5 test programs. 2/2 subtests failed. make: *** [test_dynamic] Error 2 SALVA/Language-Prolog-Yaswi-0.19.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports SALVA/Language-Prolog-Yaswi-0.19.tar.gz Running make install make test had returned bad status, won't install without force root@image-AOD255:~/Documents/Endoscopia# cpan -i Language::Prolog::Ya +swi::Low Reading '/home/image/.cpan/Metadata' Database was generated on Sat, 16 Jun 2012 06:14:01 GMT Running install for module 'Language::Prolog::Yaswi::Low' Running make for S/SA/SALVA/Language-Prolog-Yaswi-0.19.tar.gz Checksum for /home/image/.cpan/sources/authors/id/S/SA/SALVA/Language- +Prolog-Yaswi-0.19.tar.gz ok CPAN.pm: Building S/SA/SALVA/Language-Prolog-Yaswi-0.19.tar.gz Checking if your kit is complete... Looks good retrieving SWI-Prolog configuration: running 'swipl -dump-runtime-variables' PLBASE: /usr/lib/swi-prolog PLARCH: i386 PLLIBS: -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl PLLIB: -lswipl PLCFLAGS: -pthread -fPIC PLLDFLAGS: -rdynamic -Wl,-Bsymbolic-functions -Wl,-z,relro -pthrea +d PLSOEXT: so PLVERSION: 51004 PLSHARED: yes PLTHREADS: yes checking thread support in Perl and SWI-Prolog: thread support enabled creating plconfig.c Writing Makefile for Language::Prolog::Yaswi::Low Writing MYMETA.yml and MYMETA.json Writing Makefile for Language::Prolog::Yaswi Writing MYMETA.yml and MYMETA.json cp pl.pl blib/lib/Language/Prolog/pl.pl cp Yaswi.pm blib/lib/Language/Prolog/Yaswi.pm make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-CurHV3/Low' cp Low.pm ../blib/lib/Language/Prolog/Yaswi/Low.pm /usr/bin/perl /usr/share/perl/5.14.2/ExtUtils/xsubpp -typemap /usr/sh +are/perl/5.14/ExtUtils/typemap Low.xs > Low.xsc && mv Low.xsc Low.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" Low.c Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_ref2int’: Low.xs:218:12: warning: cast from pointer to integer of different size + [-Wpointer-to-int-cast] Low.c: In function ‘XS_Language__Prolog__Yaswi__Low_openquery’: Low.xs:140:15: warning: ignoring return value of ‘PL_unify_arg’, decla +red with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" callb +ack.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" callp +erl.c callperl.c: In function ‘push_args’: callperl.c:118:19: warning: ignoring return value of ‘PL_unify_term’, +declared with attribute warn_unused_result [-Wunused-result] callperl.c: In function ‘check_error_and_pop_results’: callperl.c:76:15: warning: ignoring return value of ‘PL_unify_term’, d +eclared with attribute warn_unused_result [-Wunused-result] callperl.c:84:15: warning: ignoring return value of ‘PL_unify_term’, d +eclared with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" hook. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" perl2 +swi.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" swi2p +erl.c swi2perl.c: In function ‘raise_atom_expected’: swi2perl.c:177:18: warning: ignoring return value of ‘PL_unify_term’, +declared with attribute warn_unused_result [-Wunused-result] swi2perl.c: In function ‘swi2perl’: swi2perl.c:26:13: warning: ignoring return value of ‘PL_get_long’, dec +lared with attribute warn_unused_result [-Wunused-result] swi2perl.c:31:14: warning: ignoring return value of ‘PL_get_float’, de +clared with attribute warn_unused_result [-Wunused-result] swi2perl.c:53:28: warning: ignoring return value of ‘PL_get_list’, dec +lared with attribute warn_unused_result [-Wunused-result] swi2perl.c:70:30: warning: ignoring return value of ‘PL_get_name_arity +’, declared with attribute warn_unused_result [-Wunused-result] swi2perl.c:85:31: warning: ignoring return value of ‘PL_get_arg’, decl +ared with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" plcon +fig.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" argv. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" query +.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" vars. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" conte +xt.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" engin +es.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" opaqu +e.c Running Mkbootstrap for Language::Prolog::Yaswi::Low () chmod 644 Low.bs rm -f ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so LD_RUN_PATH="/usr/lib/i386-linux-gnu:/lib/i386-linux-gnu" cc -shared +-O2 -g -L/usr/local/lib -fstack-protector Low.o callback.o callperl.o + hook.o perl2swi.o swi2perl.o plconfig.o argv.o query.o vars.o contex +t.o engines.o opaque.o -o ../blib/arch/auto/Language/Prolog/Yaswi/Lo +w/Low.so \ -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl -L/usr/lib/sw +i-prolog/lib/i386/ -lswipl \ chmod 755 ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so cp Low.bs ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs chmod 644 ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs Manifying ../blib/man3/Language::Prolog::Yaswi::Low.3pm make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-CurHV3/Low' Manifying blib/man3/Language::Prolog::pl.3pm Manifying blib/man3/Language::Prolog::Yaswi.3pm SALVA/Language-Prolog-Yaswi-0.19.tar.gz make -- OK Running make test make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-CurHV3/Low' make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-CurHV3/Low' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/1Low.t ..... 1/1 # Failed test 'use Language::Prolog::Yaswi::Low;' # at t/1Low.t line 9. # Tried to use 'Language::Prolog::Yaswi::Low'. # Error: Can't load '/home/image/.cpan/build/Language-Prolog-Yasw +i-0.19-CurHV3/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for mo +dule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language-P +rolog-Yaswi-0.19-CurHV3/blib/arch/auto/Language/Prolog/Yaswi/Low/Low. +so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader. +pm line 184. # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/1Low.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/2Yaswi.t ... 1/1 # Failed test 'use Language::Prolog::Yaswi;' # at t/2Yaswi.t line 9. # Tried to use 'Language::Prolog::Yaswi'. # Error: Can't load '/home/image/.cpan/build/Language-Prolog-Yasw +i-0.19-CurHV3/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for mo +dule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language-P +rolog-Yaswi-0.19-CurHV3/blib/arch/auto/Language/Prolog/Yaswi/Low/Low. +so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader. +pm line 184. # at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-CurHV3/blib/l +ib/Language/Prolog/Yaswi.pm line 54 # Compilation failed in require at /home/image/.cpan/build/Language-Pr +olog-Yaswi-0.19-CurHV3/blib/lib/Language/Prolog/Yaswi.pm line 54. # BEGIN failed--compilation aborted at /home/image/.cpan/build/Languag +e-Prolog-Yaswi-0.19-CurHV3/blib/lib/Language/Prolog/Yaswi.pm line 54. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/2Yaswi.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/3simple.t .. Can't load '/home/image/.cpan/build/Language-Prolog-Yas +wi-0.19-CurHV3/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for m +odule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-CurHV3/blib/arch/auto/Language/Prolog/Yaswi/Low/Low +.so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader +.pm line 184. at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-CurHV3/blib/lib +/Language/Prolog/Yaswi.pm line 54 Compilation failed in require at /home/image/.cpan/build/Language-Prol +og-Yaswi-0.19-CurHV3/blib/lib/Language/Prolog/Yaswi.pm line 54. BEGIN failed--compilation aborted at /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-CurHV3/blib/lib/Language/Prolog/Yaswi.pm line 54. Compilation failed in require at t/3simple.t line 13. BEGIN failed--compilation aborted at t/3simple.t line 13. # Looks like your test exited with 2 before it could output anything. t/3simple.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 27/27 subtests t/4pods.t .... skipped: Only the author needs to check that POD docs a +re right t/5opaque.t .. Can't load '/home/image/.cpan/build/Language-Prolog-Yas +wi-0.19-CurHV3/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for m +odule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-CurHV3/blib/arch/auto/Language/Prolog/Yaswi/Low/Low +.so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader +.pm line 184. at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-CurHV3/blib/lib +/Language/Prolog/Yaswi.pm line 54 Compilation failed in require at /home/image/.cpan/build/Language-Prol +og-Yaswi-0.19-CurHV3/blib/lib/Language/Prolog/Yaswi.pm line 54. BEGIN failed--compilation aborted at /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-CurHV3/blib/lib/Language/Prolog/Yaswi.pm line 54. Compilation failed in require at t/5opaque.t line 12. BEGIN failed--compilation aborted at t/5opaque.t line 12. # Looks like your test exited with 2 before it could output anything. t/5opaque.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests Test Summary Report ------------------- t/1Low.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/2Yaswi.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/3simple.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 27 tests but ran 0. t/5opaque.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=5, Tests=2, 0 wallclock secs ( 0.09 usr 0.04 sys + 0.78 cusr + 0.06 csys = 0.97 CPU) Result: FAIL Failed 4/5 test programs. 2/2 subtests failed. make: *** [test_dynamic] Error 2 SALVA/Language-Prolog-Yaswi-0.19.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports SALVA/Language-Prolog-Yaswi-0.19.tar.gz Running make install make test had returned bad status, won't install without force root@image-AOD255:~/Documents/Endoscopia# cpan -if Language::Prolog::Y +aswi::Low Reading '/home/image/.cpan/Metadata' Database was generated on Sat, 16 Jun 2012 06:14:01 GMT Running install for module 'Language::Prolog::Yaswi::Low' Running make for S/SA/SALVA/Language-Prolog-Yaswi-0.19.tar.gz Checksum for /home/image/.cpan/sources/authors/id/S/SA/SALVA/Language- +Prolog-Yaswi-0.19.tar.gz ok CPAN.pm: Building S/SA/SALVA/Language-Prolog-Yaswi-0.19.tar.gz Checking if your kit is complete... Looks good retrieving SWI-Prolog configuration: running 'swipl -dump-runtime-variables' PLBASE: /usr/lib/swi-prolog PLARCH: i386 PLLIBS: -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl PLLIB: -lswipl PLCFLAGS: -pthread -fPIC PLLDFLAGS: -rdynamic -Wl,-Bsymbolic-functions -Wl,-z,relro -pthrea +d PLSOEXT: so PLVERSION: 51004 PLSHARED: yes PLTHREADS: yes checking thread support in Perl and SWI-Prolog: thread support enabled creating plconfig.c Writing Makefile for Language::Prolog::Yaswi::Low Writing MYMETA.yml and MYMETA.json Writing Makefile for Language::Prolog::Yaswi Writing MYMETA.yml and MYMETA.json cp pl.pl blib/lib/Language/Prolog/pl.pl cp Yaswi.pm blib/lib/Language/Prolog/Yaswi.pm make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-J7y2GK/Low' cp Low.pm ../blib/lib/Language/Prolog/Yaswi/Low.pm /usr/bin/perl /usr/share/perl/5.14.2/ExtUtils/xsubpp -typemap /usr/sh +are/perl/5.14/ExtUtils/typemap Low.xs > Low.xsc && mv Low.xsc Low.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" Low.c Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_ref2int’: Low.xs:218:12: warning: cast from pointer to integer of different size + [-Wpointer-to-int-cast] Low.c: In function ‘XS_Language__Prolog__Yaswi__Low_openquery’: Low.xs:140:15: warning: ignoring return value of ‘PL_unify_arg’, decla +red with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" callb +ack.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" callp +erl.c callperl.c: In function ‘push_args’: callperl.c:118:19: warning: ignoring return value of ‘PL_unify_term’, +declared with attribute warn_unused_result [-Wunused-result] callperl.c: In function ‘check_error_and_pop_results’: callperl.c:76:15: warning: ignoring return value of ‘PL_unify_term’, d +eclared with attribute warn_unused_result [-Wunused-result] callperl.c:84:15: warning: ignoring return value of ‘PL_unify_term’, d +eclared with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" hook. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" perl2 +swi.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" swi2p +erl.c swi2perl.c: In function ‘raise_atom_expected’: swi2perl.c:177:18: warning: ignoring return value of ‘PL_unify_term’, +declared with attribute warn_unused_result [-Wunused-result] swi2perl.c: In function ‘swi2perl’: swi2perl.c:26:13: warning: ignoring return value of ‘PL_get_long’, dec +lared with attribute warn_unused_result [-Wunused-result] swi2perl.c:31:14: warning: ignoring return value of ‘PL_get_float’, de +clared with attribute warn_unused_result [-Wunused-result] swi2perl.c:53:28: warning: ignoring return value of ‘PL_get_list’, dec +lared with attribute warn_unused_result [-Wunused-result] swi2perl.c:70:30: warning: ignoring return value of ‘PL_get_name_arity +’, declared with attribute warn_unused_result [-Wunused-result] swi2perl.c:85:31: warning: ignoring return value of ‘PL_get_arg’, decl +ared with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" plcon +fig.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" argv. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" query +.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" vars. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" conte +xt.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" engin +es.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" opaqu +e.c Running Mkbootstrap for Language::Prolog::Yaswi::Low () chmod 644 Low.bs rm -f ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so LD_RUN_PATH="/usr/lib/i386-linux-gnu:/lib/i386-linux-gnu" cc -shared +-O2 -g -L/usr/local/lib -fstack-protector Low.o callback.o callperl.o + hook.o perl2swi.o swi2perl.o plconfig.o argv.o query.o vars.o contex +t.o engines.o opaque.o -o ../blib/arch/auto/Language/Prolog/Yaswi/Lo +w/Low.so \ -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl -L/usr/lib/sw +i-prolog/lib/i386/ -lswipl \ chmod 755 ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so cp Low.bs ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs chmod 644 ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs Manifying ../blib/man3/Language::Prolog::Yaswi::Low.3pm make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-J7y2GK/Low' Manifying blib/man3/Language::Prolog::pl.3pm Manifying blib/man3/Language::Prolog::Yaswi.3pm SALVA/Language-Prolog-Yaswi-0.19.tar.gz make -- OK Running make test make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-J7y2GK/Low' make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-J7y2GK/Low' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/1Low.t ..... 1/1 # Failed test 'use Language::Prolog::Yaswi::Low;' # at t/1Low.t line 9. # Tried to use 'Language::Prolog::Yaswi::Low'. # Error: Can't load '/home/image/.cpan/build/Language-Prolog-Yasw +i-0.19-J7y2GK/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for mo +dule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language-P +rolog-Yaswi-0.19-J7y2GK/blib/arch/auto/Language/Prolog/Yaswi/Low/Low. +so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader. +pm line 184. # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/1Low.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/2Yaswi.t ... 1/1 # Failed test 'use Language::Prolog::Yaswi;' # at t/2Yaswi.t line 9. # Tried to use 'Language::Prolog::Yaswi'. # Error: Can't load '/home/image/.cpan/build/Language-Prolog-Yasw +i-0.19-J7y2GK/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for mo +dule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language-P +rolog-Yaswi-0.19-J7y2GK/blib/arch/auto/Language/Prolog/Yaswi/Low/Low. +so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader. +pm line 184. # at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-J7y2GK/blib/l +ib/Language/Prolog/Yaswi.pm line 54 # Compilation failed in require at /home/image/.cpan/build/Language-Pr +olog-Yaswi-0.19-J7y2GK/blib/lib/Language/Prolog/Yaswi.pm line 54. # BEGIN failed--compilation aborted at /home/image/.cpan/build/Languag +e-Prolog-Yaswi-0.19-J7y2GK/blib/lib/Language/Prolog/Yaswi.pm line 54. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/2Yaswi.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/3simple.t .. Can't load '/home/image/.cpan/build/Language-Prolog-Yas +wi-0.19-J7y2GK/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for m +odule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-J7y2GK/blib/arch/auto/Language/Prolog/Yaswi/Low/Low +.so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader +.pm line 184. at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-J7y2GK/blib/lib +/Language/Prolog/Yaswi.pm line 54 Compilation failed in require at /home/image/.cpan/build/Language-Prol +og-Yaswi-0.19-J7y2GK/blib/lib/Language/Prolog/Yaswi.pm line 54. BEGIN failed--compilation aborted at /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-J7y2GK/blib/lib/Language/Prolog/Yaswi.pm line 54. Compilation failed in require at t/3simple.t line 13. BEGIN failed--compilation aborted at t/3simple.t line 13. # Looks like your test exited with 2 before it could output anything. t/3simple.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 27/27 subtests t/4pods.t .... skipped: Only the author needs to check that POD docs a +re right t/5opaque.t .. Can't load '/home/image/.cpan/build/Language-Prolog-Yas +wi-0.19-J7y2GK/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for m +odule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-J7y2GK/blib/arch/auto/Language/Prolog/Yaswi/Low/Low +.so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader +.pm line 184. at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-J7y2GK/blib/lib +/Language/Prolog/Yaswi.pm line 54 Compilation failed in require at /home/image/.cpan/build/Language-Prol +og-Yaswi-0.19-J7y2GK/blib/lib/Language/Prolog/Yaswi.pm line 54. BEGIN failed--compilation aborted at /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-J7y2GK/blib/lib/Language/Prolog/Yaswi.pm line 54. Compilation failed in require at t/5opaque.t line 12. BEGIN failed--compilation aborted at t/5opaque.t line 12. # Looks like your test exited with 2 before it could output anything. t/5opaque.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests Test Summary Report ------------------- t/1Low.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/2Yaswi.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/3simple.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 27 tests but ran 0. t/5opaque.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=5, Tests=2, 1 wallclock secs ( 0.10 usr 0.03 sys + 0.73 cusr + 0.10 csys = 0.96 CPU) Result: FAIL Failed 4/5 test programs. 2/2 subtests failed. make: *** [test_dynamic] Error 2 SALVA/Language-Prolog-Yaswi-0.19.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports SALVA/Language-Prolog-Yaswi-0.19.tar.gz Running make install make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-J7y2GK/Low' make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-J7y2GK/Low' Files found in blib/arch: installing files in blib/lib into architectu +re dependent library tree Installing /usr/local/lib/perl/5.14.2/auto/Language/Prolog/Yaswi/Low/L +ow.so Installing /usr/local/lib/perl/5.14.2/auto/Language/Prolog/Yaswi/Low/L +ow.bs Installing /usr/local/lib/perl/5.14.2/Language/Prolog/Yaswi.pm Installing /usr/local/lib/perl/5.14.2/Language/Prolog/pl.pl Installing /usr/local/lib/perl/5.14.2/Language/Prolog/Yaswi/Low.pm Installing /usr/local/man/man3/Language::Prolog::Yaswi::Low.3pm Installing /usr/local/man/man3/Language::Prolog::Yaswi.3pm Installing /usr/local/man/man3/Language::Prolog::pl.3pm Appending installation info to /usr/lib/perl/5.14/perllocal.pod SALVA/Language-Prolog-Yaswi-0.19.tar.gz make install -- OK root@image-AOD255:~/Documents/Endoscopia# cpan -if Language::Prolog::Y +aswi Reading '/home/image/.cpan/Metadata' Database was generated on Sat, 16 Jun 2012 06:14:01 GMT Running install for module 'Language::Prolog::Yaswi' Running make for S/SA/SALVA/Language-Prolog-Yaswi-0.19.tar.gz Checksum for /home/image/.cpan/sources/authors/id/S/SA/SALVA/Language- +Prolog-Yaswi-0.19.tar.gz ok CPAN.pm: Building S/SA/SALVA/Language-Prolog-Yaswi-0.19.tar.gz Checking if your kit is complete... Looks good retrieving SWI-Prolog configuration: running 'swipl -dump-runtime-variables' PLBASE: /usr/lib/swi-prolog PLARCH: i386 PLLIBS: -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl PLLIB: -lswipl PLCFLAGS: -pthread -fPIC PLLDFLAGS: -rdynamic -Wl,-Bsymbolic-functions -Wl,-z,relro -pthrea +d PLSOEXT: so PLVERSION: 51004 PLSHARED: yes PLTHREADS: yes checking thread support in Perl and SWI-Prolog: thread support enabled creating plconfig.c Writing Makefile for Language::Prolog::Yaswi::Low Writing MYMETA.yml and MYMETA.json Writing Makefile for Language::Prolog::Yaswi Writing MYMETA.yml and MYMETA.json cp pl.pl blib/lib/Language/Prolog/pl.pl cp Yaswi.pm blib/lib/Language/Prolog/Yaswi.pm make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-GDCbIy/Low' cp Low.pm ../blib/lib/Language/Prolog/Yaswi/Low.pm /usr/bin/perl /usr/share/perl/5.14.2/ExtUtils/xsubpp -typemap /usr/sh +are/perl/5.14/ExtUtils/typemap Low.xs > Low.xsc && mv Low.xsc Low.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" Low.c Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_ref2int’: Low.xs:218:12: warning: cast from pointer to integer of different size + [-Wpointer-to-int-cast] Low.c: In function ‘XS_Language__Prolog__Yaswi__Low_openquery’: Low.xs:140:15: warning: ignoring return value of ‘PL_unify_arg’, decla +red with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" callb +ack.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" callp +erl.c callperl.c: In function ‘push_args’: callperl.c:118:19: warning: ignoring return value of ‘PL_unify_term’, +declared with attribute warn_unused_result [-Wunused-result] callperl.c: In function ‘check_error_and_pop_results’: callperl.c:76:15: warning: ignoring return value of ‘PL_unify_term’, d +eclared with attribute warn_unused_result [-Wunused-result] callperl.c:84:15: warning: ignoring return value of ‘PL_unify_term’, d +eclared with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" hook. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" perl2 +swi.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" swi2p +erl.c swi2perl.c: In function ‘raise_atom_expected’: swi2perl.c:177:18: warning: ignoring return value of ‘PL_unify_term’, +declared with attribute warn_unused_result [-Wunused-result] swi2perl.c: In function ‘swi2perl’: swi2perl.c:26:13: warning: ignoring return value of ‘PL_get_long’, dec +lared with attribute warn_unused_result [-Wunused-result] swi2perl.c:31:14: warning: ignoring return value of ‘PL_get_float’, de +clared with attribute warn_unused_result [-Wunused-result] swi2perl.c:53:28: warning: ignoring return value of ‘PL_get_list’, dec +lared with attribute warn_unused_result [-Wunused-result] swi2perl.c:70:30: warning: ignoring return value of ‘PL_get_name_arity +’, declared with attribute warn_unused_result [-Wunused-result] swi2perl.c:85:31: warning: ignoring return value of ‘PL_get_arg’, decl +ared with attribute warn_unused_result [-Wunused-result] cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" plcon +fig.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" argv. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" query +.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" vars. +c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" conte +xt.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" engin +es.c cc -c -I. -I/usr/lib/swi-prolog/include -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0 +.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl/5.14/CORE" opaqu +e.c Running Mkbootstrap for Language::Prolog::Yaswi::Low () chmod 644 Low.bs rm -f ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so LD_RUN_PATH="/usr/lib/i386-linux-gnu:/lib/i386-linux-gnu" cc -shared +-O2 -g -L/usr/local/lib -fstack-protector Low.o callback.o callperl.o + hook.o perl2swi.o swi2perl.o plconfig.o argv.o query.o vars.o contex +t.o engines.o opaque.o -o ../blib/arch/auto/Language/Prolog/Yaswi/Lo +w/Low.so \ -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl -L/usr/lib/sw +i-prolog/lib/i386/ -lswipl \ chmod 755 ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so cp Low.bs ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs chmod 644 ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs Manifying ../blib/man3/Language::Prolog::Yaswi::Low.3pm make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-GDCbIy/Low' Manifying blib/man3/Language::Prolog::pl.3pm Manifying blib/man3/Language::Prolog::Yaswi.3pm SALVA/Language-Prolog-Yaswi-0.19.tar.gz make -- OK Running make test make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-GDCbIy/Low' make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-GDCbIy/Low' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/1Low.t ..... 1/1 # Failed test 'use Language::Prolog::Yaswi::Low;' # at t/1Low.t line 9. # Tried to use 'Language::Prolog::Yaswi::Low'. # Error: Can't load '/home/image/.cpan/build/Language-Prolog-Yasw +i-0.19-GDCbIy/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for mo +dule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language-P +rolog-Yaswi-0.19-GDCbIy/blib/arch/auto/Language/Prolog/Yaswi/Low/Low. +so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader. +pm line 184. # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/1Low.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/2Yaswi.t ... 1/1 # Failed test 'use Language::Prolog::Yaswi;' # at t/2Yaswi.t line 9. # Tried to use 'Language::Prolog::Yaswi'. # Error: Can't load '/home/image/.cpan/build/Language-Prolog-Yasw +i-0.19-GDCbIy/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for mo +dule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language-P +rolog-Yaswi-0.19-GDCbIy/blib/arch/auto/Language/Prolog/Yaswi/Low/Low. +so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader. +pm line 184. # at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-GDCbIy/blib/l +ib/Language/Prolog/Yaswi.pm line 54 # Compilation failed in require at /home/image/.cpan/build/Language-Pr +olog-Yaswi-0.19-GDCbIy/blib/lib/Language/Prolog/Yaswi.pm line 54. # BEGIN failed--compilation aborted at /home/image/.cpan/build/Languag +e-Prolog-Yaswi-0.19-GDCbIy/blib/lib/Language/Prolog/Yaswi.pm line 54. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/2Yaswi.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/3simple.t .. Can't load '/home/image/.cpan/build/Language-Prolog-Yas +wi-0.19-GDCbIy/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for m +odule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-GDCbIy/blib/arch/auto/Language/Prolog/Yaswi/Low/Low +.so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader +.pm line 184. at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-GDCbIy/blib/lib +/Language/Prolog/Yaswi.pm line 54 Compilation failed in require at /home/image/.cpan/build/Language-Prol +og-Yaswi-0.19-GDCbIy/blib/lib/Language/Prolog/Yaswi.pm line 54. BEGIN failed--compilation aborted at /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-GDCbIy/blib/lib/Language/Prolog/Yaswi.pm line 54. Compilation failed in require at t/3simple.t line 13. BEGIN failed--compilation aborted at t/3simple.t line 13. # Looks like your test exited with 2 before it could output anything. t/3simple.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 27/27 subtests t/4pods.t .... skipped: Only the author needs to check that POD docs a +re right t/5opaque.t .. Can't load '/home/image/.cpan/build/Language-Prolog-Yas +wi-0.19-GDCbIy/blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so' for m +odule Language::Prolog::Yaswi::Low: /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-GDCbIy/blib/arch/auto/Language/Prolog/Yaswi/Low/Low +.so: undefined symbol: __gmpz_get_si at /usr/lib/perl/5.14/DynaLoader +.pm line 184. at /home/image/.cpan/build/Language-Prolog-Yaswi-0.19-GDCbIy/blib/lib +/Language/Prolog/Yaswi.pm line 54 Compilation failed in require at /home/image/.cpan/build/Language-Prol +og-Yaswi-0.19-GDCbIy/blib/lib/Language/Prolog/Yaswi.pm line 54. BEGIN failed--compilation aborted at /home/image/.cpan/build/Language- +Prolog-Yaswi-0.19-GDCbIy/blib/lib/Language/Prolog/Yaswi.pm line 54. Compilation failed in require at t/5opaque.t line 12. BEGIN failed--compilation aborted at t/5opaque.t line 12. # Looks like your test exited with 2 before it could output anything. t/5opaque.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests Test Summary Report ------------------- t/1Low.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/2Yaswi.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/3simple.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 27 tests but ran 0. t/5opaque.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=5, Tests=2, 1 wallclock secs ( 0.09 usr 0.04 sys + 0.79 cusr + 0.04 csys = 0.96 CPU) Result: FAIL Failed 4/5 test programs. 2/2 subtests failed. make: *** [test_dynamic] Error 2 SALVA/Language-Prolog-Yaswi-0.19.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports SALVA/Language-Prolog-Yaswi-0.19.tar.gz Running make install make[1]: Entering directory `/home/image/.cpan/build/Language-Prolog-Y +aswi-0.19-GDCbIy/Low' make[1]: Leaving directory `/home/image/.cpan/build/Language-Prolog-Ya +swi-0.19-GDCbIy/Low' Files found in blib/arch: installing files in blib/lib into architectu +re dependent library tree Installing /usr/local/lib/perl/5.14.2/auto/Language/Prolog/Yaswi/Low/L +ow.so Appending installation info to /usr/lib/perl/5.14/perllocal.pod SALVA/Language-Prolog-Yaswi-0.19.tar.gz make install -- OK root@image-AOD255:~/Documents/Endoscopia# exit exit image@image-AOD255:~/Documents/Endoscopia$ perl Main_Menu_vA.pl perl: symbol lookup error: /usr/local/lib/perl/5.14.2/auto/Language/Pr +olog/Yaswi/Low/Low.so: undefined symbol: clock_gettime image@image-AOD255:~/Documents/Endoscopia$

If I install using force, however I get the same error as in the compilation:

perl: symbol lookup error: /usr/local/lib/perl/5.14.2/auto/Language/Pr +olog/Yaswi/Low/Low.so: undefined symbol: clock_gettime

Replies are listed 'Best First'.
Re: cpan -i Language::Prolog::Yaswi gives undefined symbol: __gmpz_get_si
by Anonymous Monk on Jun 16, 2012 at 23:01 UTC

    Remember What's happened to Yaswi?

    This error

    perl: symbol lookup error: /usr/local/lib/perl/5.14.2/auto/Language/Pr +olog/Yaswi/Low/Low.so: undefined symbol: clock_gettime
    means you should run ldd /usr/local/lib/perl/5.14.2/auto/Language/Prolog/Yaswi/Low/Low.so and then adjust your LD_LIBRARY_PATH, or whatever, so that Low.so can find the correct libgmp.so which exports a __gmpz_get_si symbol

      Dear Anon,

      Well, umm, slightly embarassing, and only a year ago. But thanks anyway.

      Regards

      Steve.

      Hi Anon,

      Well I'm not sure if you're still tracking this, but I ran ldd (it's on a remote computer and I had to get teamviewer installed first) and got:

      ldd /usr/local/lib/perl/5.14.2/auto/Language/Prolog/Yaswi/Low/Low.so linux-gate.so.1 => (0xb770f000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7461000) /lib/ld-linux.so.2 (0xb7710000)

      I get no "file not found" entries, although there must be.

      Does this mean that there are no unlinked files?

      What should I do?

      Regards

      Steve

        I get no "file not found" entries, although there must be. Does this mean that there are no unlinked files? What should I do?

        Well, I don't see anything resembling libgmp... where is libgmp... located? (does ldd -v show anything gmp related?)

        You should recompile, say with an updated LIBS= or LD_RUN_PATH= join ':', qw{ /usr/lib/i386-linux-gnu /lib/i386-linux-gnu /usr/lib/swi-prolog/lib/i386/ };

Re: cpan -i Language::Prolog::Yaswi gives undefined symbol: clock_gettime
by salva (Canon) on Jul 05, 2012 at 08:15 UTC
    I have just uploaded version 0.20 which solves that issue.

    The problem was in the order the libraries were passed to the linker with swipl at the end.

    Usually, libswipl is compiled as a dynamic library and so this problem is hidden, but for some unknown reason it is a static library on Ubuntu for i386.

      Hi Salva,

      Totally wonderful, in that case I don't understand why it didn't show up earlier, but I'm very grateful you fixed it :)

      Thanks very much.

      And to Anonymous Monk, thanks for your help, but I don't understand why it didn't show up in our other tests with ldd etc. What could we have done differently?

      Regards

      Steve

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://976600]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found