make error for Language::Prolog::Yaswi::Low

[email protected] (William)
Newsgroups perl.beginners
Message-ID <[email protected]>
Hello, sigh...the erros seem like without end. Does it happen to you guys that debugging takes much much longer time than actual coding ?

Here I have problem of building Language::Prolog::Yaswi at http://search.cpan.org/~salva/Language-Prolog-Yaswi-0.14/Yaswi.pm
It's an XS module. Recently, before I upgrade from perl 5.8.8 to perl 5.10 I have not problem building this module. 

Not problem for Makefile.PL but problem for 'make'

william@william-pc:/tmp/Language-Prolog-Yaswi-0.14$ sudo /usr/local/bin/perl Makefile.PL 
retrieving SWI-Prolog configuration:
  running 'pl -dump-runtime-variables'
    PLBASE: /usr/local/lib/pl-5.6.55
    PLARCH: i686-linux
    PLLIBS: -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl 
    PLLIB: -lpl
    PLCFLAGS: -pthread 
    PLLDFLAGS: -export-dynamic -O3 -pthread
    PLSOEXT: so
    PLVERSION: 50655
    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 Makefile for Language::Prolog::Yaswi

-----------------------------------------------------------------------------------------------------

william@william-pc:/tmp/Language-Prolog-Yaswi-0.14$ sudo make
make[1]: Entering directory `/tmp/Language-Prolog-Yaswi-0.14/Low'
cc -c  -I. -I/usr/local/lib/pl-5.6.55/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0   -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fPIC "-I/usr/local/lib/perl5/5.10.0/i686-linux-thread-multi/CORE"   Low.c
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_END’:
Low.xs:50: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs:50: error: (Each undeclared identifier is reported only once
Low.xs:50: error: for each function it appears in.)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_start’:
Low.xs:68: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_cleanup’:
Low.xs:79: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_toplevel’:
Low.xs:91: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_swi2perl’:
Low.xs:103: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_openquery’:
Low.xs:120: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_cutquery’:
Low.xs:165: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_nextsolution’:
Low.xs:174: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_testquery’:
Low.xs:205: error: ‘my_cxt_index’ undeclared (first use in this function)
make[1]: *** [Low.o] Error 1
make[1]: Leaving directory `/tmp/Language-Prolog-Yaswi-0.14/Low'
make: *** [subdirs] Error 2



Any idea why ? Thanks.


Send instant messages to your online friends http://uk.messenger.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.