cannot compile ghc on Debian unstable
Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3 (the package maintainer has been notified). I tried to compile the sources from scratch but found out that GHC requires a previously-existing version of itself to compile. I have hugs working fine, but configuring using --enable-hc-boot --with-hc=/usr/bin/hugs doesn't work (the configure completes but the compile fails very quickly). Has anyone managed to get this working? I'm actually somewhat surprised that there isn't a bootstrap-from-gcc-only mode available like there is in ocaml; what are the issues? Thanks in advance, Mike
From: Michael Vanier <mvanier@cs.caltech.edu> Date: Sat, 27 Aug 2005 22:06:40 -0700 (PDT)
Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3 (the package maintainer has been notified). I tried to compile the sources from scratch but found out that GHC requires a previously-existing version of itself to compile. I have hugs working fine, but configuring using --enable-hc-boot --with-hc=/usr/bin/hugs doesn't work (the configure completes but the compile fails very quickly). Has anyone managed to get this working? I'm actually somewhat surprised that there isn't a bootstrap-from-gcc-only mode available like there is in ocaml; what are the issues?
Thanks in advance,
Mike
Some more information (sorry for omitting it): running distrib/hc-build gives me this message: ==fptools== make boot -wr; in /home/mvanier/ghc/ghc-6.4/libraries/base ------------------------------------------------------------------------ make[1]: *** No rule to make target `System/CPUTime_hsc.c', needed by `depend'. Stop. make: *** [boot] Error 1 make: Leaving directory `/home/mvanier/ghc/ghc-6.4/libraries' There doesn't appear to be a file CPUTime_hsc.c in the distribution. Mike
Am Sonntag, 28. August 2005 07:06 schrieb Michael Vanier:
Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3 (the package maintainer has been notified).
But the unstable package works with Debian stable. :-)
tried to compile the sources from scratch but found out that GHC requires a previously-existing version of itself to compile. I have hugs working fine, but configuring using --enable-hc-boot --with-hc=/usr/bin/hugs doesn't work (the configure completes but the compile fails very quickly).
/usr/bin/hugs is the interactive system. So to use Hugs, you would have to use /usr/bin/runhugs. But I'm rather sure that GHC cannot be compiled with Hugs.
Has anyone managed to get this working? I'm actually somewhat surprised that there isn't a bootstrap-from-gcc-only mode available like there is in ocaml; what are the issues?
There C files available which are machine-generated from the Haskell files. You probably have to download a different bundle.
Thanks in advance,
Mike
Best regards, Wolfgang
From: Wolfgang Jeltsch <wolfgang@jeltsch.net> Date: Sun, 28 Aug 2005 16:14:26 +0200
Am Sonntag, 28. August 2005 07:06 schrieb Michael Vanier:
Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3 (the package maintainer has been notified).
But the unstable package works with Debian stable. :-)
And testing, but I'm hoping to avoid that ;-)
tried to compile the sources from scratch but found out that GHC requires a previously-existing version of itself to compile. I have hugs working fine, but configuring using --enable-hc-boot --with-hc=/usr/bin/hugs doesn't work (the configure completes but the compile fails very quickly).
/usr/bin/hugs is the interactive system. So to use Hugs, you would have to use /usr/bin/runhugs. But I'm rather sure that GHC cannot be compiled with Hugs.
Maybe I'll try it, but I think you're probably right.
Has anyone managed to get this working? I'm actually somewhat surprised that there isn't a bootstrap-from-gcc-only mode available like there is in ocaml; what are the issues?
There C files available which are machine-generated from the Haskell files. You probably have to download a different bundle.
Right, and I could see which files should have generated them, but it didn't work in that case. Sounds like a bug -- I'll file a report. I did finally get GHC working from the binary distributions, and then spent a couple of happy hours (successfully) recompiling GHC from scratch ;-), so I'm all set now. A big thanks to everyone who prepares the binary distributions (and to the entire GHC team, of course). Mike
Michael Vanier <mvanier@cs.caltech.edu> writes:
Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3 (the package maintainer has been notified).
The trick to getting this to work is to install the libgmp3 from stable. apt-get install libgmp3/stable #or grab it and install it with dpkg apt-get install ghc6 That might work? peace, isaac
On 2005-08-30, Isaac Jones <ijones@syntaxpolice.org> wrote:
Michael Vanier <mvanier@cs.caltech.edu> writes:
Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3 (the package maintainer has been notified).
The trick to getting this to work is to install the libgmp3 from stable.
apt-get install libgmp3/stable #or grab it and install it with dpkg apt-get install ghc6
That might work?
It should, but I have other packages that depend on a newer version of libgmp3. Well, I've held off on upgrading them, because of this. -- Aaron Denney -><-
Aaron Denney <wnoise@ofb.net> writes:
On 2005-08-30, Isaac Jones <ijones@syntaxpolice.org> wrote:
Michael Vanier <mvanier@cs.caltech.edu> writes:
Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3 (the package maintainer has been notified).
The trick to getting this to work is to install the libgmp3 from stable.
apt-get install libgmp3/stable #or grab it and install it with dpkg apt-get install ghc6
That might work?
It should, but I have other packages that depend on a newer version of libgmp3. Well, I've held off on upgrading them, because of this.
I believe that this is fixed now at least for i386. Try apt-get update and apt-get install ghc6. peace, isaac
Isaac Jones wrote:
Aaron Denney writes:
Isaac Jones wrote:
Michael Vanier writes:
Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3...
...install the libgmp3 from stable... That might work?
It should, but I have other packages that depend on a newer version of libgmp3...
I believe that this is fixed now...
ghc6 in unstable now depends on libgmp3c2 which conflicts with libgmp3. So, for example, ghc6 now conflicts with darcs. -Yitz
Yitzchak Gale <gale@sefer.org> writes:
Isaac Jones wrote:
Aaron Denney writes:
Isaac Jones wrote:
Michael Vanier writes:
Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3...
...install the libgmp3 from stable... That might work?
It should, but I have other packages that depend on a newer version of libgmp3...
I believe that this is fixed now...
ghc6 in unstable now depends on libgmp3c2 which conflicts with libgmp3. So, for example, ghc6 now conflicts with darcs.
Believe me... I know. People are working on this problem.
participants (5)
-
Aaron Denney -
Isaac Jones -
Michael Vanier -
Wolfgang Jeltsch -
Yitzchak Gale