
Hi, I want to compile ghc on my office box, which does not have any binary ghc exist. So I followed http://hackage.haskell.org/trac/ghc/wiki/Building/Porting, "Porting GHC to a new platform" section. Well, this was what I got: (On target) $ ./configure --enable-hc-boot --enable-hc-boot-unregisterised checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target sytem type... i686-pc-linux-gnu Canonicalised to: i386-unknown-linux checking for ghc... no checking for ghc-pkg matching... no checking for ghc-pkg... no checking whether ghc has readline package... no checking for nhc... no checking for nhc98... no checking for hbc... no checking for ld... /usr/bin/ld checking for path to top of build tree... ./configure: line 2660: -v0: command not found ./configure: line 2664: utils/pwd/pwd: No such file or directory configure: error: cannot determine current directory What does this mean!

Excerpts from Magicloud Magiclouds's message of Sun Sep 21 21:19:00 -0500 2008:
Hi, I want to compile ghc on my office box, which does not have any binary ghc exist.
First, porting with an unregistered build is currently supported from GHC 6.4 to GHC 6.6 - it does not work in 6.8 nor will it work in 6.10 (ghc is getting a new build system and other nice stuff so hopefully it will be in 6.12.) Try with something like http://haskell.org/ghc/dist/6.4.2/ghc-6.4.2-src.tar.bz2 Of course, you must be able to build 6.4.2 on your host machine as well - if you are using Linux this shouldn't be a problem. Austin

I see.... So 6.8.3 is not portable.... So in my company-customed-linux box, ghc is nothing to me? Any way I can use it? Austin Seipp wrote:
Excerpts from Magicloud Magiclouds's message of Sun Sep 21 21:19:00 -0500 2008:
Hi, I want to compile ghc on my office box, which does not have any binary ghc exist.
First, porting with an unregistered build is currently supported from GHC 6.4 to GHC 6.6 - it does not work in 6.8 nor will it work in 6.10 (ghc is getting a new build system and other nice stuff so hopefully it will be in 6.12.)
Try with something like
http://haskell.org/ghc/dist/6.4.2/ghc-6.4.2-src.tar.bz2
Of course, you must be able to build 6.4.2 on your host machine as well - if you are using Linux this shouldn't be a problem.
Austin _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Magicloud wrote:
I see.... So 6.8.3 is not portable.... So in my company-customed-linux box, ghc is nothing to me? Any way I can use it?
Yes install 6.4.2, as the last poster suggested, and then use 6.4.2 to build 6.8.3. Alternatively, and probably more simply, get a binary dist.
participants (4)
-
Austin Seipp
-
Jason Dusek
-
Jules Bean
-
Magicloud