Buidling GHC and Haskell Platform on FreeBSD 8

Hello! Is it possible to build haskell platform on FreeBSD 8? I tried to build it as described at http://hackage.haskell.org/platform/linux.html but the cabal didn't built correctly, due to the lack of haskell-src package. I installed GHC 6.12.2 from http://www.haskell.org/ghc/download_ghc_6_12_2.html#freebsd Thank you in advance! -- Eugene N Dzhurinsky

Hi,
On Wed, May 19, 2010 at 2:45 PM, Eugene Dzhurinsky
Is it possible to build haskell platform on FreeBSD 8?
I think it worked for me last time when I tried. You should use GHC 6.12.1, it is important. Are you on amd64? I can give you a bindist for GHC 6.12.1. (and I already wanted to add it the GHC home page, perhaps I should do it now.) Cheers, :g

On Wed, May 19, 2010 at 02:49:35PM +0200, Gabor PALI wrote:
Hi,
On Wed, May 19, 2010 at 2:45 PM, Eugene Dzhurinsky
wrote: Is it possible to build haskell platform on FreeBSD 8?
I think it worked for me last time when I tried. You should use GHC 6.12.1, it is important. Are you on amd64? I can give you a bindist for GHC 6.12.1. (and I already wanted to add it the GHC home page, perhaps I should do it now.)
Hello, Gabor! Thank you, unfortunately I do use 32-bit version. -- Eugene N Dzhurinsky

On Wed, May 19, 2010 at 03:32:21PM +0200, Gabor PALI wrote:
On Wed, May 19, 2010 at 3:25 PM, Eugene Dzhurinsky
wrote: Thank you, unfortunately I do use 32-bit version.
Okay, I roll you a 6.12.1-freebsd8-i386 bindist then :)
Thanks :) BTW, when compiling some haskell sources - I am getting warning like import Prelude is deprecated, is it normal? -- Eugene N Dzhurinsky

On Wed, May 19, 2010 at 03:32:21PM +0200, Gabor PALI wrote:
On Wed, May 19, 2010 at 3:25 PM, Eugene Dzhurinsky
wrote: Thank you, unfortunately I do use 32-bit version.
Okay, I roll you a 6.12.1-freebsd8-i386 bindist then :)
Thanks :)
You can download it from here (until it is not at haskell.org): http://people.freebsd.org/~pgj/haskell/ghc/
BTW, when compiling some haskell sources - I am getting warning like import Prelude is deprecated, is it normal?
Could you post an error message? Cheers, :g

On Wed, May 19, 2010 at 04:47:10PM +0200, Gabor PALI wrote:
On Wed, May 19, 2010 at 03:32:21PM +0200, Gabor PALI wrote:
On Wed, May 19, 2010 at 3:25 PM, Eugene Dzhurinsky
wrote: Thank you, unfortunately I do use 32-bit version.
Okay, I roll you a 6.12.1-freebsd8-i386 bindist then :)
Thanks :)
You can download it from here (until it is not at haskell.org):
Thanks. So do I need to install GHC 6.12.1, then build Haskell Platform using cabal, and then update to GHC 6.12.2?
BTW, when compiling some haskell sources - I am getting warning like import Prelude is deprecated, is it normal?
Could you post an error message?
In fact it is not an error message, just warning when I trying to install something from hackage using cabal. -- Eugene N Dzhurinsky

Eugene Dzhurinsky writes: [...]
BTW, when compiling some haskell sources - I am getting warning like import Prelude is deprecated, is it normal?
Could you post an error message?
I think that has to do with deprecation of base 3.x in GHC 6.12.x. Its normal. -- Sent via Gnus from GNU Emacs They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin

On Wed, May 19, 2010 at 08:46:26PM +0530, Ashish SHUKLA wrote:
Eugene Dzhurinsky writes:
[...]
BTW, when compiling some haskell sources - I am getting warning like import Prelude is deprecated, is it normal?
Could you post an error message?
I think that has to do with deprecation of base 3.x in GHC 6.12.x. Its normal.
Seems so - those messages are just warnings, not errors. Thanks, now I'm feeling safer :) -- Eugene N Dzhurinsky

On Wed, May 19, 2010 at 05:17:51PM +0200, Gabor PALI wrote:
On Wed, May 19, 2010 at 5:04 PM, Eugene Dzhurinsky
wrote: So do I need to install GHC 6.12.1, then build Haskell Platform using cabal, and then update to GHC 6.12.2?
Install GHC 6.12.1 and then Haskell Platform. You do not need 6.12.2 :)
Okay, I tried - but no luck. ============================================================================================ Registering cgi-3001.1.7.2... Installing library in /home/bofh/.cabal/lib/cgi-3001.1.7.2/ghc-6.12.1 Registering cgi-3001.1.7.2... Configuring zlib-0.5.2.0... Preprocessing library zlib-0.5.2.0... Building zlib-0.5.2.0... [1 of 5] Compiling Codec.Compression.Zlib.Stream ( dist/build/Codec/Compression/Zlib/Stream.hs, dist/build/Codec/Compression/Zlib/Stream.o ) [2 of 5] Compiling Codec.Compression.Zlib.Internal ( Codec/Compression/Zlib/Internal.hs, dist/build/Codec/Compression/Zlib/Internal.o ) [3 of 5] Compiling Codec.Compression.Zlib.Raw ( Codec/Compression/Zlib/Raw.hs, dist/build/Codec/Compression/Zlib/Raw.o ) [4 of 5] Compiling Codec.Compression.Zlib ( Codec/Compression/Zlib.hs, dist/build/Codec/Compression/Zlib.o ) [5 of 5] Compiling Codec.Compression.GZip ( Codec/Compression/GZip.hs, dist/build/Codec/Compression/GZip.o ) Registering zlib-0.5.2.0... Installing library in /home/bofh/.cabal/lib/zlib-0.5.2.0/ghc-6.12.1 Registering zlib-0.5.2.0... cabal: Error: some packages failed to install: haskell-platform-2010.1.0.0 depends on haskell-src-1.0.1.3 which failed to install. haskell-src-1.0.1.3 failed during the building phase. The exception was: ExitFailure 1 Script done on Wed May 19 18:46:05 2010 ============================================================================================ -- Eugene N Dzhurinsky

On Wed, May 19, 2010 at 06:46:36PM +0300, Eugene Dzhurinsky wrote:
On Wed, May 19, 2010 at 05:17:51PM +0200, Gabor PALI wrote:
On Wed, May 19, 2010 at 5:04 PM, Eugene Dzhurinsky
wrote: So do I need to install GHC 6.12.1, then build Haskell Platform using cabal, and then update to GHC 6.12.2?
Install GHC 6.12.1 and then Haskell Platform. You do not need 6.12.2 :)
Okay, I tried - but no luck.
============================================================================================ Registering cgi-3001.1.7.2... Installing library in /home/bofh/.cabal/lib/cgi-3001.1.7.2/ghc-6.12.1 Registering cgi-3001.1.7.2... Configuring zlib-0.5.2.0... Preprocessing library zlib-0.5.2.0... Building zlib-0.5.2.0... [1 of 5] Compiling Codec.Compression.Zlib.Stream ( dist/build/Codec/Compression/Zlib/Stream.hs, dist/build/Codec/Compression/Zlib/Stream.o ) [2 of 5] Compiling Codec.Compression.Zlib.Internal ( Codec/Compression/Zlib/Internal.hs, dist/build/Codec/Compression/Zlib/Internal.o ) [3 of 5] Compiling Codec.Compression.Zlib.Raw ( Codec/Compression/Zlib/Raw.hs, dist/build/Codec/Compression/Zlib/Raw.o ) [4 of 5] Compiling Codec.Compression.Zlib ( Codec/Compression/Zlib.hs, dist/build/Codec/Compression/Zlib.o ) [5 of 5] Compiling Codec.Compression.GZip ( Codec/Compression/GZip.hs, dist/build/Codec/Compression/GZip.o ) Registering zlib-0.5.2.0... Installing library in /home/bofh/.cabal/lib/zlib-0.5.2.0/ghc-6.12.1 Registering zlib-0.5.2.0... cabal: Error: some packages failed to install: haskell-platform-2010.1.0.0 depends on haskell-src-1.0.1.3 which failed to install. haskell-src-1.0.1.3 failed during the building phase. The exception was: ExitFailure 1
Script done on Wed May 19 18:46:05 2010 ============================================================================================
about haskell-src: Installing library in /home/bofh/.cabal/lib/deepseq-1.1.0.0/ghc-6.12.1 Registering deepseq-1.1.0.0... Configuring haskell-src-1.0.1.3... Preprocessing library haskell-src-1.0.1.3... cabal: The program happy is required but it could not be found Configuring html-1.0.1.2... Preprocessing library html-1.0.1.2... Building html-1.0.1.2... -- Eugene N Dzhurinsky

On Wed, May 19, 2010 at 05:55:54PM +0200, Gabor PALI wrote:
On Wed, May 19, 2010 at 5:48 PM, Eugene Dzhurinsky
wrote: cabal: The program happy is required but it could not be found
# pkg_add -r hs-happy
...and be happy :)
Yup, and cabal-install of strict version 0.8.0, as well as alex 2.3.2 And looks like I'm done :) -- Eugene N Dzhurinsky
participants (3)
-
Eugene Dzhurinsky
-
Gabor PALI
-
wahjava.ml@gmail.com