Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^3: It now works. :)

by pernod (Chaplain)
on Feb 18, 2005 at 08:21 UTC ( #432316=note: print w/replies, xml ) Need Help??

in reply to Re^2: It now works. :)
in thread Hello Perl 6. Running pugs on Windows

You were right about dmake. Doing a s#C:\def\fun\pugs\(pugs.exe)#$1#g on the Makefile removes the previous error. I also tried to modify the Makefile.PL to not use a complete path, which gave the same result. So now I get to build the sources, but linking fails:

C:\dev\fun\pugs>dmake ghc --make -o pugs src/Main.hs -isrc Chasing modules from: src/Main.hs Skipping Cont ( src/Cont.hs, src/Cont.o ) Skipping Internals ( src/Internals.hs, src/Internals.o ) Skipping Context ( src/Context.hs, src/Context.o ) Skipping AST ( src/AST.hs, src/AST.o ) Skipping Lexer ( src/Lexer.hs, src/Lexer.o ) Skipping Monads ( src/Monads.hs, src/Monads.o ) Skipping Bind ( src/Bind.hs, src/Bind.o ) Skipping Junc ( src/Junc.hs, src/Junc.o ) Skipping Shell ( src/Shell.hs, src/Shell.o ) Skipping Pretty ( src/Pretty.hs, src/Pretty.o ) Skipping Help ( src/Help.hs, src/Help.o ) Skipping Parser ( src/Parser.hs, src/Parser.o ) Skipping Prim ( src/Prim.hs, src/Prim.o ) Skipping Eval ( src/Eval.hs, src/Eval.o ) Skipping Main ( src/Main.hs, src/Main.o ) Linking ... C:/ghc/ghc-6.2.2/libHSreadline.a(Readline__56.o)(.text+0x33):ghc11748. +hc: undefined reference to `rl_initialize' C:/ghc/ghc-6.2.2/libHSreadline.a(Readline__96.o)(.text+0xaa):ghc11748. +hc: undefined reference to `readline' C:/ghc/ghc-6.2.2/libHSreadline.a(Readline__98.o)(.text+0x63):ghc11748. +hc: undefined reference to `add_history' dmake.exe: Error code 1, while making 'pugs.exe'

I tried with source both from the darcs repository and the subversion repository at They both give the same result. Looks like my windows box lacks some neat library. Oh well, I've got OS X at home, so perhaps it will work out better there.

I hope this doesn't take your attention from making Pugs better, though!

Edit: autrijus, would you prefer to use instead of posting here? Is feedback like this at all useful for Pugs? Just wondering if there is a small way I can help ...

Mischief. Mayhem. Soap.

Replies are listed 'Best First'.
Re^4: It now works. :)
by audreyt (Hermit) on Feb 18, 2005 at 09:23 UTC
    Hey, your feedback is very useful. :-) I have fixed it on trunk again so building on Win32 should again work. If the readline problem persists, try changing "$has_readline=1" to "$has_readline=0" in Makefile.PL, rerun Makefile.PL and it sould work.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://432316]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2019-08-22 07:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found