heres a 32bit OS X 7.8.3 build

hey all, I know all of you wish you could run 32bit ghc 7.8.3 on your snazzy mac OS 10.9, so here you are! http://www.wellposed.com.s3.amazonaws.com/opensource/ghc/releasebuild-unoffi... $ shasum -a256 ghc-7.8.3-i386-apple-darwin.tar.bz2 1268ce020b46b0b459b8713916466cb92ce0c54992a76b265db203e9ef5fb5e5 ghc-7.8.3-i386-apple-darwin.tar.bz2 is the relevant SHA 256 digest NB: I believe I managed to build it with intree-gmp too! So it wont' need GMP installed in the system (but I could be wrong, in which case brew install gmp will suffice) cheers -Carter

Hello carter,
I tried to install it, but get the error (see bellow.)
I did the usual thing I do on linux: ./configure --prefix=... && sudo make
install
The tail of the log:
Installing library in /opt/ghc-7.8.3_x86/lib/ghc-7.8.3/terminfo-0.4.0.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy
libraries/haskeline dist-install "strip" '' '/opt/ghc-7.8.3_x86'
'/opt/ghc-7.8.3_x86/lib/ghc-7.8.3'
'/opt/ghc-7.8.3_x86/share/doc/ghc/html/libraries' 'v p dyn'
Installing library in /opt/ghc-7.8.3_x86/lib/ghc-7.8.3/haskeline-0.7.1.2
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy compiler
stage2 "strip" '' '/opt/ghc-7.8.3_x86' '/opt/ghc-7.8.3_x86/lib/ghc-7.8.3'
'/opt/ghc-7.8.3_x86/share/doc/ghc/html/libraries' 'v p dyn'
Installing library in /opt/ghc-7.8.3_x86/lib/ghc-7.8.3/ghc-7.8.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy
libraries/old-time dist-install "strip" '' '/opt/ghc-7.8.3_x86'
'/opt/ghc-7.8.3_x86/lib/ghc-7.8.3'
'/opt/ghc-7.8.3_x86/share/doc/ghc/html/libraries' 'v p dyn'
Installing library in /opt/ghc-7.8.3_x86/lib/ghc-7.8.3/old-time-1.1.0.2
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy
libraries/haskell98 dist-install "strip" '' '/opt/ghc-7.8.3_x86'
'/opt/ghc-7.8.3_x86/lib/ghc-7.8.3'
'/opt/ghc-7.8.3_x86/share/doc/ghc/html/libraries' 'v p dyn'
Installing library in /opt/ghc-7.8.3_x86/lib/ghc-7.8.3/haskell98-2.0.0.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy
libraries/haskell2010 dist-install "strip" '' '/opt/ghc-7.8.3_x86'
'/opt/ghc-7.8.3_x86/lib/ghc-7.8.3'
'/opt/ghc-7.8.3_x86/share/doc/ghc/html/libraries' 'v p dyn'
Installing library in /opt/ghc-7.8.3_x86/lib/ghc-7.8.3/haskell2010-1.1.2.0
"/opt/ghc-7.8.3_x86/lib/ghc-7.8.3/bin/ghc-pkg" --force --global-package-db
"/opt/ghc-7.8.3_x86/lib/ghc-7.8.3/package.conf.d" update
rts/dist/package.conf.install
Reading package info from "rts/dist/package.conf.install" ... done.
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register
libraries/ghc-prim dist-install "/opt/ghc-7.8.3_x86/lib/ghc-7.8.3/bin/ghc"
"/opt/ghc-7.8.3_x86/lib/ghc-7.8.3/bin/ghc-pkg"
"/opt/ghc-7.8.3_x86/lib/ghc-7.8.3" '' '/opt/ghc-7.8.3_x86'
'/opt/ghc-7.8.3_x86/lib/ghc-7.8.3'
'/opt/ghc-7.8.3_x86/share/doc/ghc/html/libraries' NO
Registering ghc-prim-0.3.1.0...
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register
libraries/integer-gmp dist-install
"/opt/ghc-7.8.3_x86/lib/ghc-7.8.3/bin/ghc"
"/opt/ghc-7.8.3_x86/lib/ghc-7.8.3/bin/ghc-pkg"
"/opt/ghc-7.8.3_x86/lib/ghc-7.8.3" '' '/opt/ghc-7.8.3_x86'
'/opt/ghc-7.8.3_x86/lib/ghc-7.8.3'
'/opt/ghc-7.8.3_x86/share/doc/ghc/html/libraries' NO
Registering integer-gmp-0.5.1.0...
ghc-cabal: integer-gmp-0.5.1.0: library-dirs: yes is a relative path which
makes no sense (as there is nothing for it to be relative to). You can make
paths relative to the package database itself by using ${pkgroot}. (use
--force to override)
make[1]: *** [install_packages] Error 1
make: *** [install] Error 2
Thanks,
Yuras
2014-10-08 22:39 GMT+03:00 Carter Schonwald
hey all,
I know all of you wish you could run 32bit ghc 7.8.3 on your snazzy mac OS 10.9, so here you are!
http://www.wellposed.com.s3.amazonaws.com/opensource/ghc/releasebuild-unoffi...
$ shasum -a256 ghc-7.8.3-i386-apple-darwin.tar.bz2 1268ce020b46b0b459b8713916466cb92ce0c54992a76b265db203e9ef5fb5e5 ghc-7.8.3-i386-apple-darwin.tar.bz2
is the relevant SHA 256 digest
NB: I believe I managed to build it with intree-gmp too! So it wont' need GMP installed in the system (but I could be wrong, in which case brew install gmp will suffice)
cheers -Carter
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

woops, looks like the build is busted, I'll try again this afternoon.
pardon the noise
On Wed, Oct 8, 2014 at 3:39 PM, Carter Schonwald wrote: hey all, I know all of you wish you could run 32bit ghc 7.8.3 on your snazzy mac OS
10.9, so here you are! http://www.wellposed.com.s3.amazonaws.com/opensource/ghc/releasebuild-unoffi... $ shasum -a256 ghc-7.8.3-i386-apple-darwin.tar.bz2
1268ce020b46b0b459b8713916466cb92ce0c54992a76b265db203e9ef5fb5e5
ghc-7.8.3-i386-apple-darwin.tar.bz2 is the relevant SHA 256 digest NB: I believe I managed to build it with intree-gmp too! So it wont' need
GMP installed in the system (but I could be wrong, in which case brew
install gmp will suffice) cheers
-Carter

Ok, I've rebuilt it (and tested it!) the same link http://www.wellposed.com.s3.amazonaws.com/opensource/ghc/releasebuild-unoffi... now points to that build $ shasum -a256 ghc-7.8.3-i386-apple-darwin.tar.bz2 8f79b4d88db1da6b904b02f23e28d0197d7f101008d005b27def7d1396f74421 ghc-7.8.3-i386-apple-darwin.tar.bz2 is the sha256 checksum This build uses intree-gmp correctly, so it doesnt need any GMP installed on the target system. And definitely works on OS X 10.9 cheers! -Carter On Thu, Oct 9, 2014 at 11:12 AM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
woops, looks like the build is busted, I'll try again this afternoon. pardon the noise
On Wed, Oct 8, 2014 at 3:39 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
hey all,
I know all of you wish you could run 32bit ghc 7.8.3 on your snazzy mac OS 10.9, so here you are!
http://www.wellposed.com.s3.amazonaws.com/opensource/ghc/releasebuild-unoffi...
$ shasum -a256 ghc-7.8.3-i386-apple-darwin.tar.bz2 1268ce020b46b0b459b8713916466cb92ce0c54992a76b265db203e9ef5fb5e5 ghc-7.8.3-i386-apple-darwin.tar.bz2
is the relevant SHA 256 digest
NB: I believe I managed to build it with intree-gmp too! So it wont' need GMP installed in the system (but I could be wrong, in which case brew install gmp will suffice)
cheers -Carter

Since this came up on IRC on #ghc,
yes, modern OS X 10.9 and 10.10 can run 32bit executables. (for some reason
certain folks seem to think they're only runnable on <= 10.6 )
(plus apparently if you wanna hot patch certain program such as dropbox,
those are written in 32bit form so you need 32bit haskell libs if you wanna
use haskell for that :))
On Thu, Oct 9, 2014 at 1:23 PM, Carter Schonwald wrote: Ok, I've rebuilt it (and tested it!) the same link
http://www.wellposed.com.s3.amazonaws.com/opensource/ghc/releasebuild-unoffi... now
points to that build $ shasum -a256 ghc-7.8.3-i386-apple-darwin.tar.bz2
8f79b4d88db1da6b904b02f23e28d0197d7f101008d005b27def7d1396f74421
ghc-7.8.3-i386-apple-darwin.tar.bz2 is the sha256 checksum This build uses intree-gmp correctly, so it doesnt need any GMP installed
on the target system. And definitely works on OS X 10.9 cheers!
-Carter On Thu, Oct 9, 2014 at 11:12 AM, Carter Schonwald <
carter.schonwald@gmail.com> wrote: woops, looks like the build is busted, I'll try again this afternoon.
pardon the noise On Wed, Oct 8, 2014 at 3:39 PM, Carter Schonwald <
carter.schonwald@gmail.com> wrote: hey all, I know all of you wish you could run 32bit ghc 7.8.3 on your snazzy mac
OS 10.9, so here you are! http://www.wellposed.com.s3.amazonaws.com/opensource/ghc/releasebuild-unoffi... $ shasum -a256 ghc-7.8.3-i386-apple-darwin.tar.bz2
1268ce020b46b0b459b8713916466cb92ce0c54992a76b265db203e9ef5fb5e5
ghc-7.8.3-i386-apple-darwin.tar.bz2 is the relevant SHA 256 digest NB: I believe I managed to build it with intree-gmp too! So it wont'
need GMP installed in the system (but I could be wrong, in which case brew
install gmp will suffice) cheers
-Carter
participants (2)
-
Carter Schonwald
-
Yuras Shumovich