Hi,

I would like to get a new version of ghc6 into unstable soon.
I think it's best to build the current version with gcc 3.3.
Upstream seem to be taking a while to get the new release out
that should work with gcc 4.0, and I'm not really sure how stable
that is going to be on all arches we have.  Looking at the
changelog, it seems that it already had it share of problems with
compiler versions.

To get it build with a different version of gcc, all you need to
do is add a --with-gcc=gcc-3.3 to configure.  Setting CC=gcc-3.3
when calling configure will not work.

There are going to be some problems getting this build in any
case.  ghc6 build-depends on itself, which currently means it
depends on libgmp3, and that of course conflicts with
libgmp3c2/libgmp3-dev.  This means someone will have to build all
those things manually on all arches.

How to get around this and get a working version:
- Install libstdc++5
- Install old version of libgmp3 and libgmp3-dev (version
  4.1.4-6)
- Installing the build dependencies should work now.

We now should have all build dependencies installed, except that
libgmp3(-dev) is the wrong version.  The rest will need manual
work:

dpkg --force-depends --remove libgmp3
dpkg --force-depends -i libgmp3-dev_4.1.4-10_$arch.deb 
libgmp3c2_4.1.4-10_$arch.deb libgmpxx3_4.1.4-10_$arch.deb

(You should be able to get rid of libstdc++5 at this point too.)

After this you should be able to build it without problems.  I
got a version build like this, which seems to work for me.


I'll can do an NMU of this if you want.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to