<br><font size=2 face="sans-serif">I have gotten ghc 6.7 to compile, but
not with extra libs. &nbsp;I'm on linux x86, ubuntu.</font>
<br>
<br><font size=2 face="sans-serif">Can someone suggest a download date
that worked for them, or how to fix one or more of the problems described
below?</font>
<br>
<br><font size=2 face="sans-serif">When I build from source (this is for
august 2, unknown linux, as conal spoke well of it :) but I have tried
with several other dates in august with the same result)</font>
<br>
<br><font size=2 face="sans-serif">I get </font>
<br>
<br><font size=2 face="sans-serif">Linux linuxpt 2.6.15-23-386 #1 PREEMPT
Tue May 23 13:49:40 UTC 2006 i686 GNU/Linux</font>
<br>
<br><font size=2 face="sans-serif">The programs included with the Ubuntu
system are free software;</font>
<br><font size=2 face="sans-serif">checking host system type... i686-pc-linux-gnu</font>
<br><font size=2 face="sans-serif">checking target system type... i686-pc-linux-gnu</font>
<br><font size=2 face="sans-serif">Which we'll further canonicalise into:
i386-unknown-linux</font>
<br><font size=2 face="sans-serif">checking for path to top of build tree...
./configure: line 1433: cd: utils/pwd:</font>
<br><font size=2 face="sans-serif">&nbsp;No such file or directory</font>
<br><font size=2 face="sans-serif">./configure: line 1438: -v0: command
not found</font>
<br><font size=2 face="sans-serif">./configure: line 1441: utils/pwd/pwd:
No such file or directory</font>
<br><font size=2 face="sans-serif">configure: error: cannot determine current
directory</font>
<br>
<br><font size=2 face="sans-serif">when I try unzip src and extralibs I
get </font>
<br>
<br><font size=2 face="sans-serif">(aug 15... tail of a large out file
after &gt;1.5 hours of configure; make &gt; out.txt)</font>
<br>
<br><font size=2 face="sans-serif">......</font>
<br><font size=2 face="Courier New">make[1]: Leaving directory `/home/hartthoma/installs/ghc6.7/aug15/ghc-6.7.20070815/libraries'</font>
<br><font size=2 face="Courier New">make -C libraries all</font>
<br><font size=2 face="Courier New">make[1]: Entering directory `/home/hartthoma/installs/ghc6.7/aug15/ghc-6.7.20070815/libraries'</font>
<br><font size=2 face="Courier New">rm -f -f stamp/configure.library.*.base
base/unbuildable</font>
<br><font size=2 face="Courier New">( cd base &amp;&amp; setup/Setup configure
\</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --enable-library-profiling --enable-split-objs
\</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--prefix='$topdir' \</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--datadir='$prefix/share/ghc' \</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--datasubdir='.' \</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--libsubdir='$compiler/lib/$pkgid' \</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--with-compiler=../../compiler/stage1/ghc-inplace\</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--with-hc-pkg=../../utils/ghc-pkg/ghc-pkg-inplace\</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--with-hsc2hs=../../utils/hsc2hs/hsc2hs-inplace
\</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--with-ld=/usr/bin/ld \</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--haddock-args=&quot;--use-contents=../index.html
\</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;--use-index=../doc-index.html&quot; \</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--configure-option=--with-cc=gcc ) \</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &amp;&amp; touch stamp/configure.library.build-profiling-splitting.base
|| touch base/unbuildable</font>
<br><font size=2 face="Courier New">Setup: Warning: Unknown fields: nhc98-options
(line 173)</font>
<br><font size=2 face="Courier New">Fields allowed in this section:</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; buildable, cc-options,
ld-options, frameworks, c-sources,</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; extensions, extra-libraries,
extra-lib-dirs, includes,</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; install-includes, include-dirs,
hs-source-dirs, other-modules,</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; ghc-prof-options, ghc-options,
hugs-options, nhc-options,</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; jhc-options, exposed-modules</font>
<br><font size=2 face="Courier New">Setup: Warning: A package using section
syntax should require</font>
<br><font size=2 face="Courier New">&quot;Cabal-Version: &gt;= 1.2&quot;
or equivalent.</font>
<br><font size=2 face="Courier New">HsColour 1.6</font>
<br><font size=2 face="Courier New">configure: Reading installed packages...</font>
<br><font size=2 face="Courier New">Configuring base-2.1...</font>
<br><font size=2 face="Courier New">configure: Flags chosen: isghc=True</font>
<br><font size=2 face="Courier New">configure: Dependency rts-any: using
rts-1.0</font>
<br><font size=2 face="Courier New">Setup: executing external program failed
(exit 1) : /usr/local/bin/HsColour -version</font>
<br><font size=2 face="Courier New">rm -f base/GNUmakefile</font>
<br><font size=2 face="Courier New">cp Makefile.local base</font>
<br><font size=2 face="Courier New">if ifBuildable/ifBuildable base; then
\</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;cd base &amp;&amp; setup/Setup makefile -f GNUmakefile; \</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; fi</font>
<br><font size=2 face="Courier New">Setup: error reading dist/setup-config;
run &quot;setup configure&quot; command?</font>
<br>
<br><font size=2 face="Courier New">make[1]: *** [base/GNUmakefile] Error
1</font>
<br><font size=2 face="Courier New">make[1]: Leaving directory `/home/hartthoma/installs/ghc6.7/aug15/ghc-6.7.20070815/libraries'</font>
<br><font size=2 face="Courier New">make: *** [stage1] Error 2</font>
<br>
<br><font size=2 face="sans-serif">very weird error because when I execute
/usr/local/bin/HsColour -version it doesn't fail but outputs 1.6.</font>
<br>
<br><font size=2 face="sans-serif">Can somebody suggest a download date
known to compile (with extralibs) for ubuntu? Or suggest a fix?</font>
<br>
<br><font size=2 face="sans-serif">By the way I have also tried </font>
<br>
<br><font size=2 face="sans-serif">darcs get http://hackage.haskell.org/trac/ghc</font>
<br>
<br><font size=2 face="sans-serif">but this dies about halfway through
(in the patch 10000s ) with libcurl error 18 or libcurl error 404 depending
on the phase of the moon.</font>
<br>
<br><font size=2 face="sans-serif">I'm currently trying a build from darcs
checkout with get --partial. If this is the preferred way of doing a checkout
due to &quot;crapping out halfway&quot; issues maybe it should be said
in the readme. (to be honest I forget what the difference between a partial
darcs get and a complete get is.)</font>
<br>
<br><font size=2 face="sans-serif">Much obliged,</font>
<br>
<br><font size=2 face="sans-serif">thomas.</font>
<br><font size=2 face="sans-serif">&nbsp;</font>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Conal Elliott&quot;
&lt;conal@conal.net&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: cvs-ghc-bounces@haskell.org</font>
<p><font size=1 face="sans-serif">08/15/2007 06:38 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">cvs-ghc@haskell.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Fwd: how to get packages for HEAD snapshot
?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>oops -- meant to cc cvs-ghc<br>
<br>
btw, 20070802 does run and does have libs included. &nbsp;<br>
<br>
---------- Forwarded message ----------<br>
From: <b>Conal Elliott</b> &lt;</font><a href=mailto:conal@conal.net><font size=3 color=blue><u>
conal@conal.net</u></font></a><font size=3>&gt;<br>
Date: Aug 15, 2007 2:56 PM<br>
Subject: Re: how to get packages for HEAD snapshot ?<br>
To: Stefan O'Rear &lt;</font><a href=mailto:stefanor@cox.net><font size=3 color=blue><u>stefanor@cox.net</u></font></a><font size=3>&gt;<br>
<br>
Thank Stefan, <br>
<br>
The latest mingw32 snapshot I see is 20070811. &nbsp;I installed it also,
and when I run ghc, it just crashes (WinXP). &nbsp;Happens when I run it
inside of emacs and also in a cygwin bash window.<br>
<br>
Is that a known problem? <br>
<br>
 - Conal<br>
</font>
<br><font size=3>On 8/15/07, <b>Stefan O'Rear</b> &lt;</font><a href=mailto:stefanor@cox.net target=_blank><font size=3 color=blue><u>
stefanor@cox.net</u></font></a><font size=3>&gt; wrote:</font>
<br><font size=3>On Wed, Aug 15, 2007 at 02:20:53PM -0700, Conal Elliott
wrote:<br>
&gt; I installed ghc-6.7.20070810-i386-unknown-mingw32.exe. &nbsp;Though
it runs, I<br>
&gt; don't know how to get other packages installed, including Cabal. &nbsp;&quot;ghc-pkg
<br>
&gt; list&quot; tells me that I have only {ghc-6.7.20070810}, rts-1.0.<br>
&gt;<br>
&gt; Any suggestions?<br>
<br>
Upgrade GHC; Cabal should be installed but wasn't due to a bug in that<br>
snapshot.<br>
<br>
Stefan<br>
</font>
<br><font size=3>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
<br>
iD8DBQFGw3AnFBz7OZ2P+dIRArOwAKCMEEzbB/JwEYnA21wZb4gf1rCoDQCeL1DG<br>
u5ljAbmfp5j0sd5X51nf3wk=<br>
=hewc<br>
-----END PGP SIGNATURE-----<br>
</font>
<br><tt><font size=2>_______________________________________________<br>
Cvs-ghc mailing list<br>
Cvs-ghc@haskell.org<br>
http://www.haskell.org/mailman/listinfo/cvs-ghc<br>
</font></tt>
<br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">---</span><br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">This e-mail may contain confidential and/or privileged information. If you </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">are not the intended recipient (or have received this e-mail in error) </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">please notify the sender immediately and destroy this e-mail. Any </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">unauthorized copying, disclosure or distribution of the material in this </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">e-mail is strictly forbidden.</span><br>