Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Pugs compilation problem

by simonf (Novice)
on Nov 11, 2005 at 20:21 UTC ( [id://507854]=perlquestion: print w/replies, xml ) Need Help??

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

I've just dowloaded release 7917 from svn, and the compilation on Fedora 3 fails like this:
Compiling Pugs.Run ( src/Pugs/Run.hs, dist/build/src/Pugs/Run. +o ) Skipping Pugs.CodeGen.PIR ( src/Pugs/CodeGen/PIR.hs, dist/build/src/P +ugs/CodeGen/PIR.o ) Skipping Pugs.Compile.Haskell ( src/Pugs/Compile/Haskell.hs, dist/bui +ld/src/Pugs/Compile/Haskell.o ) Skipping Pugs.CodeGen ( src/Pugs/CodeGen.hs, dist/build/src/Pugs/ +CodeGen.o ) Skipping Pugs.Help ( src/Pugs/Help.hs, dist/build/src/Pugs/Hel +p.o ) Skipping Pugs ( src/Pugs.hs, dist/build/src/Pugs.o ) gram.c: In function `syckparse': gram.c:1115: warning: implicit declaration of function `sycklex' src/syck/syck.c: In function `syck_parse': src/syck/syck.c:492: warning: implicit declaration of function `syckpa +rse' /usr/bin/ar: creating dist/build/libHSPugs-6.2.10.a *** Found more than one 'Syck_stub.o' -- using the first one. *** Building: /usr/bin/ghc -package stm -package network -package mtl +-package template-haskell -package base -package unix -package readli +ne -idist/build -Ldist/build -idist/build/src -Ldist/build/src -o pug +s src/Main.hs -lHSPugs-6.2.10 compilation IS NOT required cp pugs /lhome/simonf/pugs/blib/script/pugs /usr/bin/perl -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)" /lhome/simo +nf/pugs/blib/script/pugs cd perl5/Perl6-Container && perl Makefile.PL && make Pugs build should not get here at ../../inc/Module/Install.pm line 29. BEGIN failed--compilation aborted at Makefile.PL line 6. make: *** [build_perl5] Error 2
What can I do? Thanks, Simon

Replies are listed 'Best First'.
Re: Pugs compilation problem
by Corion (Patriarch) on Nov 11, 2005 at 20:50 UTC

    My guess is that your GHC version is 6.2, and from what I remember, Pugs really wants GHC 6.4.1 or higher. Also, usually, #perl6 on [irc://freenode/perl6] has a quicker turnaround that Perlmonks for Pugs development questions. It also might be that you just received a bad/broken version of Pugs and that the next svn release fixes the problem.

      Thanks, but I have the latest ghc 6.4-7. I've tried asking this twice on IRC, and did not get much help outside of "check out the latest version".

        I don't think 6.4-7 is the latest version. I say that because fedora-haskell gives the release date of 6.4-7 as 11-May-2005 while the release date of 6.4.1 is 19-Sep-2005. AFAICT, the Fedora Haskell Project is a bit behind the latest GHC versions. Anyway, I'm running Fedora core 4 and used the "Generic Linux with glibc 2.3" ghc-6.4.1-i386-unknown-linux.tar.bz2 tarball and it worked fine for me.

Re: Pugs compilation problem
by audreyt (Hermit) on Nov 12, 2005 at 22:37 UTC
    This problem seems to be Fedora Code specific; I have attempted a fix (r7937 -- untested) that may work for you. If not, please report the diagnostics information to perl6-compiler@perl.org.

    Thanks!
    /Autrijus/

Re: Pugs compilation problem
by tphyahoo (Vicar) on Nov 12, 2005 at 12:25 UTC
    Simon, if you just want a version of pugs to play with and don't care about compiling the latest version, you might want to try out pxperl, which has a pre-compiled version of pugs complete with friendly one-click windows installer, and I think a frienly nix installer as well. Haven't tried this myself so YMMV. Good luck with in perl 6 world!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found