Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Language::Prolog::Yaswi

by reneeb (Chaplain)
on Jan 23, 2006 at 04:00 UTC ( [id://524867]=perlquestion: print w/replies, xml ) Need Help??

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

I still have problems to install Language::Prolog::Yaswi under cygwin (see Problems installing Language::Prolog::Yaswi). But I'm a bit further:
  • compiled SWI Prolog 5.6.3 under cygwin -- ok
  • perl -MCPAN -e 'install Language::Prolog::Yaswi' started
  • opaque.c compiles...
But now I get the following error:
Creating library file: libLow.dll.a engines.o(.text+0x10f): In function `xs_init': /home/Renee/.cpan/build/Language-Prolog-Yaswi-0.08/Low/engines.c:62: u +ndefined r eference to `_boot_DynaLoader' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0xe0) +:pl-gmp.c: undefined reference to `__imp____gmpz_import' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0x1c8 +):pl-gmp.c : undefined reference to `__imp____gmpz_cmp_ui' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0x1e8 +):pl-gmp.c : undefined reference to `__imp____gmpz_cmp' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0x1fe +):pl-gmp.c : undefined reference to `__imp____gmpz_cmp' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0x21b +):pl-gmp.c : undefined reference to `__imp____gmpz_cmp' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0x234 +):pl-gmp.c : undefined reference to `__imp____gmpz_cmp' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0x329 +):pl-gmp.c : undefined reference to `__imp____gmpz_export' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0x36b +):pl-gmp.c : undefined reference to `__imp____gmpz_get_si' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0x3aa +):pl-gmp.c : undefined reference to `__imp____gmpz_cmp' /usr/local/lib/pl-5.6.3/lib/i686-cygwin//libpl.a(pl-gmp.o)(.text+0x3c0 +):pl-gmp.c perlld: *** system() failed to execute gcc -shared -o Low.dll -Wl,--out-implib=libLow.dll.a -Wl,--export-all +-symbols - Wl,--enable-auto-import -Wl,--stack,8388608 \ -s -L/usr/local/lib Low.o callback.o callperl.o hook.o perl2swi.o swi2 +perl.o plc onfig.o argv.o query.o vars.o context.o engines.o opaque.o /usr/lib/p +erl5/5.8/c ygwin/CORE/libperl.dll.a -lgmp -lreadline -lncurses -lm -lpthread -L/u +sr/local/l ib/pl-5.6.3/lib/i686-cygwin/ -lpl

Can anyone help me?
Regards,
Renee

Replies are listed 'Best First'.
Re: Language::Prolog::Yaswi
by esskar (Deacon) on Jan 23, 2006 at 05:49 UTC
    hi reneeb,

    are you bound to cygwin? I just installed SWI Prolog 5.6.3 (installer) and triggered the CPAN command: View the log
      I've also tried to install L::P::Y under Windows, but therefore I need the Windows SDK and I tried to avoid to download this huge package.

      When I try to install it under Windows, I get the error message, that the 'windows.h' (or a similar name) include could not be found...
        Do you want me to bundle all binaries to a package?
Re: Language::Prolog::Yaswi
by syphilis (Archbishop) on Jan 23, 2006 at 07:19 UTC
    Not too sure what to make of the undefined reference to '_boot_DynaLoader', but the other undefined references are all defined in the GMP library.

    Do you have GMP installed ? If so, then why is libgmp.a not being found ? Otoh, if you don't have the GMP library installed, then why does the build process think you do ?

    I actually have the GMP library, but I don't think it's being referenced when I build L::P::Y-0.08. That may be because the SWI-Prolog that I have is a binary Windows build (as opposed to built by me).

    I also think it likely that esskar does not have GMP. If that's so, then that's a strong indication that L::P::Y builds fine without GMP.

    Cheers,
    Rob
      As I am currently in an Internetcafe, I can't check whether I have GMP installed or not. I will check this later...

      Can you build a ppm version of L::P::Y and send it via email?

      Regards,
      Renee
        Yes, I can do that.
        Where do I find your email address ?

        Cheers,
        Rob

Log In?
Username:
Password:

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

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

    No recent polls found