RE: [Fedora-haskell] Problems compiling Pugs on Athlon 64 with ghc64

On 23 March 2005 02:54, Jens Petersen wrote:
John van Krieken wrote:
Hallo, when trying to compile Pugs with ghc64 (ghc64-6.4-4 rpm, athlon 64) I get message like the following:
src/Compile/Haskell.hs:28:25: Template Haskell bracket illegal in a stage-1 compiler [| return (VStr s) |]
Hmmm, with the current darcs tip I see:
/usr/bin/ghc --make -H200m -L. -Lsrc -Lsrc/pcre -I. -Isrc -Isrc/pcre -i. -isrc -isrc/pcre -static -Wall -fno-warn-missing-signatures -fno-warn-name-shadowing -fno-warn-deprecations -fno-warn-orphans -o pugs src/Main.hs src/pcre/pcre.o src/UnicodeC.o Chasing modules from: src/Main.hs Could not find module `Compile': use -v to see a list of the files searched for (imported from src/Main.hs) make: *** [pugs] error 1
I built pugs with i386 ghc64 the other day...
Anyone know if this is still relevant? Is it a Pugs or GHC issue? Cheers, Simon

Simon Marlow wrote:
On 23 March 2005 02:54, Jens Petersen wrote:
John van Krieken wrote:
Hallo, when trying to compile Pugs with ghc64 (ghc64-6.4-4 rpm, athlon 64) I get message like the following:
src/Compile/Haskell.hs:28:25: Template Haskell bracket illegal in a stage-1 compiler [| return (VStr s) |]
Hmmm, with the current darcs tip I see:
/usr/bin/ghc --make -H200m -L. -Lsrc -Lsrc/pcre -I. -Isrc -Isrc/pcre -i. -isrc -isrc/pcre -static -Wall -fno-warn-missing-signatures -fno-warn-name-shadowing -fno-warn-deprecations -fno-warn-orphans -o pugs src/Main.hs src/pcre/pcre.o src/UnicodeC.o Chasing modules from: src/Main.hs Could not find module `Compile': use -v to see a list of the files searched for (imported from src/Main.hs) make: *** [pugs] error 1
I built pugs with i386 ghc64 the other day...
Anyone know if this is still relevant? Is it a Pugs or GHC issue?
Today I see: [petersen@localhost]~/haskell/pugs/pugs% LANG=C make cp lib/Perl6/Pugs.pm /home/petersen/haskell/pugs/pugs/blib/lib/Perl6/Pugs.pm cp lib/Perl6/MakeMaker.pm /home/petersen/haskell/pugs/pugs/blib/lib/Perl6/MakeMaker.pm make[1]: Entering directory `/home/petersen/haskell/pugs/pugs/ext/FileSpec' cp lib/File/Spec/Unix.pm /home/petersen/haskell/pugs/pugs/blib6/lib/File/Spec/Unix.pm cp lib/File/Spec/Win32.pm /home/petersen/haskell/pugs/pugs/blib6/lib/File/Spec/Win32.pm cp lib/File/Spec.pm /home/petersen/haskell/pugs/pugs/blib6/lib/File/Spec.pm make[1]: Leaving directory `/home/petersen/haskell/pugs/pugs/ext/FileSpec' make[1]: Entering directory `/home/petersen/haskell/pugs/pugs/ext/LWP-Simple' cp lib/LWP/Simple.pm /home/petersen/haskell/pugs/pugs/blib6/lib/LWP/Simple.pm cp lib/HTTP/Headers.pm /home/petersen/haskell/pugs/pugs/blib6/lib/HTTP/Headers.pm Manifying /home/petersen/haskell/pugs/pugs/blib6/man3/HTTP::Headers.3pm Manifying /home/petersen/haskell/pugs/pugs/blib6/man3/LWP::Simple.3pm make[1]: Leaving directory `/home/petersen/haskell/pugs/pugs/ext/LWP-Simple' make[1]: Entering directory `/home/petersen/haskell/pugs/pugs/ext/Test' cp lib/Test.pm /home/petersen/haskell/pugs/pugs/blib6/lib/Test.pm make[1]: Leaving directory `/home/petersen/haskell/pugs/pugs/ext/Test' cp script/pugscc /home/petersen/haskell/pugs/pugs/blib/script/pugscc /usr/bin/perl -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)" /home/petersen/haskell/pugs/pugs/blib/script/pugscc /usr/bin/perl -Iinc -Iutil -MPugsConfig -e "PugsConfig->write_config_module" > src/Config.hs /usr/bin/perl -Iinc util/version_h.pl /usr/bin/perl -Iinc util/config_h.pl *** Perl5 embedding disabled. If you want Perl5 support, please set the PUGS_EMBED environment variable to contain "perl5". /home/petersen/tmp/pugs-tmp-7741.hs:2:7: Template Haskell splice illegal in a stage-1 compiler [| return () |] /home/petersen/tmp/pugs-tmp-7741.hs:2:9: Template Haskell bracket illegal in a stage-1 compiler [| return () |] *** Template Haskell compiler backends disabled. If you want Template Haskell support, please compile your GHC with the GHCi option. /usr/bin/ghc -threaded -no-link -no-hs-main -O -o src/pcre/pcre.o src/pcre/pcre.c /usr/bin/ghc -threaded -no-link -no-hs-main -O -o src/UnicodeC.o src/UnicodeC.c /usr/bin/ghc -threaded --make -H200m -L. -Lsrc -Lsrc/pcre -I. -Isrc -Isrc/pcre -i. -isrc -isrc/pcre -static -Wall -fno-warn-missing-signatures -fno-warn-name-shadowing -o pugs src/Main.hs src/pcre/pcre.o src/UnicodeC.o Chasing modules from: src/Main.hs Could not find module `Posix': it is a member of package posix-1.0, which is hidden (imported from src/Internals.hs) make: *** [pugs] Error 1 -- Jens
participants (2)
-
Jens Petersen
-
Simon Marlow