[Haskell-cafe] installing ghc-6.8.2
tanimoto at arizona.edu
Thu Apr 3 12:44:26 EDT 2008
Don't the available binaries work for you? From the output it seems
you are on x86, which is of course supported. The requirements are
just libreadline.so.4 and libncurses.so.5. Also, if you still want to
compile from source, you could grab those binaries and them to compile
GHC yourself, then perhaps make a debian package.
Although those binaries have been created on Fedora, I'm on Ubuntu and
they work flawlessly. By the way, you can have multiple versions of
GHC coexisting too.
On Wed, Apr 2, 2008 at 5:45 PM, <michael at schmong.org> wrote:
> Apologies to Ian, I think I sent him direct mail on my first attempt to
> Adding those lines to mk/build.mk did not work.
> I hope Idon't have to build a newer gcc. This is what I have right now.
> michael at schmong:~/src/gcc$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
> Configured with: ../src/configure -v
> --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
> --mandir=/usr/share/man --infodir=/usr/share/info
> --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
> --enable-__cxa_atexit --with-system-zlib --enable-nls
> --without-included-gettext --enable-clocale=gnu --enable-debug
> --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
> Thread model: posix
> gcc version 3.3.5 (Debian 1:3.3.5-13)
> On Thu, Apr 03, 2008 at 12:50:46AM +0100, Ian Lynagh wrote:
> > On Wed, Apr 02, 2008 at 07:12:16PM -0400, michael at schmong.org wrote:
> > >
> > > so it's this line that seems of the most interesting
> > >
> > > cc1: error: unrecognized option `-fno-unit-at-a-time'
> > It looks like your version of ghc isn't designed to be used with the
> > version of gcc you have.
> > Putting this in mk/build.mk ought to let the build go through:
> > SRC_HC_OPTS = -fasm
> > GhcStage1HcOpts = -fasm
> > Thanks
> > Ian
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe