NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
pugs (ghc actually) build error under cygwin (Score:1)
fwiw, i also tried to post this to perl.perl6.compiler but google complained of 'temporary error' and i lost the post. not my day
faq suggestion: is there a place on the web to read archived #perl6 ?
getting back to my story, i want to build pugs.
first i downloaded a ghc binary for windows (this is ghc-ming32, a cygwin binary is not supported due to purported maintainence issues with cygwin1.dll -- see 'Building the Glasgow Functional Programming Tools Suite')
i then attempted to build pugs but got a problem with linking a posix library:
ghc --make -o pugs src/Main.hs -isrc -v
src/Posix.hs:
Can't find module `System.Posix.Unistd'
locations searched:
System/Posix/Unistd.hs
System/Posix/Unistd.lhs
src/System/Posix/Unistd.hs
src/System/Posix/Unistd.lhs
c:/ghc/ghc-6.2.2/imports/System/Posix/Unistd.hi
(i had checked out the latest svn repository and followed the README instructions first, before adding the -v)
then i chatted on #perl6 for a bit (not sure how i managed to connect earlier... can't seem to now) and was advised that i needed a ghc built under cygwin in order to pick up the required posix library....
fortunately, the earlier ghc download would not be wasted as i would need a running version of ghc to build ghc.
so i downloaded the source blob for stable 6.2.2 and got surprisingly far:
make
()
ghc.exe: unknown package name: unix
make[2]: *** [depend] Error 1
make[1]: *** [boot] Error 1
make[1]: Leaving directory `/home/jeff/ghc-source/ghc-6.2.2/ghc'
make: *** [build] Error 1
without musing over the broken bit pile for too long, it seems like i may have chicken and egged myself into a corner.
maybe to build a ghc-cygwin in order to pick up the posix library, i can not bootstrap from the windows ghc-ming32 binary at haskell.org/ghc because it doesn't have a package called 'unix' (makes sense that it might not i guess)
does pugs really require posix already? (maybe so due to a library dependancy perhaps...) i could avoid this whole problem if it didn't.
is there a simple way i can extend my ghc-ming32 prelude with 'unix' package ? or something similar, somehow?
i'm afraid i could use some help as i'm an utter newbie to haskell.
someday i'll buy a newer laptop and convert the old one to linux and have more options... but for now i've got too much blood invested in my cygwin tools and not enough disk space to dual boot...
jeff
Reply to This
Re:pugs (ghc actually) build error under cygwin (Score:1)
here is the huge command line that caused the error, for whatever it may be worth :
Re:pugs (ghc actually) build error under cygwin (Score:2)
Thanks,
/Autrijus/
Re:pugs (ghc actually) build error under cygwin (Score:1)
Re:pugs (ghc actually) build error under cygwin (Score:1)
Re:pugs (ghc actually) build error under cygwin (Score:1)
Re:pugs (ghc actually) build error under cygwin (Score:1)
Re:pugs (ghc actually) build error under cygwin (Score:2)
Don't post to google groups. The perl "groups" there are only mirrors of the lists, the lists don't accept incoming posts from google, and so anything posted there is effectively lost. Just send mail to perl6-compiler@perl.org, it will get moderator approval and soon be on the list.
The information about not posting to google groups is repeated fairly regularly on the Perl 6 list summary - I'm not sure how else it can be mad
Re:pugs (ghc actually) build error under cygwin (Score:1)
in terms of 'how else it can be made more prominent'... i suggest a FAQ as a good start.
perhaps the PUGS faq would host such info to start with (in addition to such good info as what good drugs is Autrijus on anyways?)...
additional helpful info might be recommended tools to properly format the mail being sent to the list... for instance, can outlook express ha