Hi,

Lookat your src/Pugs/pugs_config.h and make sure that the PUGS_HAS_PERL5 thing
is defined to 1.  Also rm src/Pugs/Embed/Perl5.o and Perl5.hi before
continuing -- you may need to rm the other .o files that depend on it
too.

It helps for that error, but not for the other one. Still get this:

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

I've found this:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=86465

and this:
  http://newweb.ices.utexas.edu/misc/ctype.c

I've created ~/.ifcrc file, ctype.c, too, but I see no changes. As it takes hours, I not yet recompiled GHC 6.4, because I think it wouldn't help (just a guess).

The problem is about GLIBC, but I don't know theses libraries. I cannot install GHC from deb package (I tried), because of this library problem, too.

Any ideas? I still would like to check the fast p6 rules and the amazing p5 DBI with pugs!!!! ;) :((

Bye,
  Andras

Reply via email to