Hi,
I lost myself a few weeks ago, and still not found: I'm unable to compile
Pugs. On IRC, about a week ago, Autrijus helped me, but still not working
(but the light are closer).
I've Debian Sid (but a lot of things are from source, so it's not true),
GHC 6.4 compiled from source, Perl 5.8.6 (from source), Parrot 0.2.0 devel
r8065, and Pugs the latest from SVN.
If I try to link Pugs with Parrot and Perl5, I got this message:
Linking ...
src/perl5/perl5.o: In function `xs_init':
src/perl5/perl5.o(.text+0xc): undefined reference to `boot_DynaLoader'
/usr/local/lib/ghc-6.4/libgmp.a(set_str.o): In function
`digit_value_in_base':
/playpen/ghc/nightly/STABLE-cam-02-unx/i386-unknown-linux/ghc/rts/gmp/mpz/set_str.c:44:
undefined reference to `__ctype_b_loc'
/usr/local/lib/ghc-6.4/libgmp.a(set_str.o): In function `__gmpz_set_str':
/playpen/ghc/nightly/STABLE-cam-02-unx/i386-unknown-linux/ghc/rts/gmp/mpz/set_str.c:77:
undefined reference to `__ctype_b_loc'
/playpen/ghc/nightly/STABLE-cam-02-unx/i386-unknown-linux/ghc/rts/gmp/mpz/set_str.c:149:
undefined reference to `__ctype_b_loc'
collect2: ld returned 1 exit status
make: *** [pugs] Error 1
If I try to link Pugs with Parrot and without Perl5, I got this message:
Linking ...
/usr/local/lib/ghc-6.4/libgmp.a(set_str.o): In function
`digit_value_in_base':
/playpen/ghc/nightly/STABLE-cam-02-unx/i386-unknown-linux/ghc/rts/gmp/mpz/set_str.c:44:
undefined reference to `__ctype_b_loc'
/usr/local/lib/ghc-6.4/libgmp.a(set_str.o): In function `__gmpz_set_str':
/playpen/ghc/nightly/STABLE-cam-02-unx/i386-unknown-linux/ghc/rts/gmp/mpz/set_str.c:77:
undefined reference to `__ctype_b_loc'
/playpen/ghc/nightly/STABLE-cam-02-unx/i386-unknown-linux/ghc/rts/gmp/mpz/set_str.c:149:
undefined reference to `__ctype_b_loc'
collect2: ld returned 1 exit status
make: *** [pugs] Error 1
Can you help me? Both error messages says nothing to me.
And an extra question: do I need to compile in Perl5, if I would like to
use Perl5 modules with Pugs?
Thx,
Andras