On Wed, May 25, 2005 at 02:44:47PM +0200, BÁRTHÁZI András wrote: > > 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'
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. > And an extra question: do I need to compile in Perl5, if I would like to > use Perl5 modules with Pugs? For now, yes. We may be able to figure out a way to marshal this with an external Perl 5 interpreter, much like what we did with PGE and external parrot, but that may take a while to happen. Thanks, /Autrijus/
pgpdZ2TyLh7CF.pgp
Description: PGP signature