Thanks, Ian. That tweak helped. Now "make" succeeds, but "sudo make
install" dies, as shown below. - Conal
== make install -r;
in /home/conal/downloads/ghc-6.11.20090109/libffi
------------------------------------------------------------------------
gcc -E -undef -traditional -P -DINSTALLING \
-DIMPORT_DIR='"/usr/local/lib/ghc-6.11.20090109/imports"' \
-DLIB_DIR='"/usr/local/lib/ghc-6.11.20090109"' \
-DINCLUDE_DIR='"/usr/local/lib/ghc-6.11.20090109/include"' \
-DDATA_DIR='"/usr/local/lib/ghc-6.11.20090109"' \
-DHTML_DIR='"/usr/local/lib/ghc-6.11.20090109/html/libraries/ffi"' \
-DHADDOCK_IFACE='"/usr/local/lib/ghc-6.11.20090109/html/libraries/ffi/ffi.haddock"'
\
-I../includes \
-x c -I../includes -Iinclude -DPACKAGE=ffi -DVERSION=
-DPKG_LIBDIR='"/usr/local/lib/ghc-6.11.20090109"'
-DPKG_DATADIR='"/usr/local/lib/ghc-6.11.20090109"' package.conf.in \
| grep -v '^#pragma GCC' \
| sed -e 's/""//g' -e 's/:[ ]*,/: /g' \
|
/home/conal/downloads/ghc-6.11.20090109/utils/ghc-pkg/dist-install/build/ghc-pkg/ghc-pkg
--global-conf /usr/local/lib/ghc-6.11.20090109/package.conf update - --force
ghc-pkg: /usr/local/lib/ghc-6.11.20090109/package.conf: openFile: does not
exist (No such file or directory)
On Sun, Jan 11, 2009 at 7:11 AM, Ian Lynagh <[email protected]> wrote:
> On Fri, Jan 09, 2009 at 09:33:09PM -0800, Conal Elliott wrote:
> > I grabbed the snapshot ghc-6.11.20090109, with extra-libs. After
> > "./configure", "make" aborts with "ghc-pkg:
> > /home/conal/downloads/ghc-6.11.20090109/ghc/inplace-datadir/package.conf:
> > openFile: does not exist (No such file or directory)", wile registering
> > haddock-2.5.0 . Did I miss something? There is no inplace-datadir
> there.
> > Is there a fix?
>
> I've just pushed a patch to fix this one:
>
> hunk ./Makefile 36
> -INPLACE_PKG_CONF = $(FPTOOLS_TOP_ABS)/ghc/inplace-datadir/package.conf
> +INPLACE_PKG_CONF = $(INPLACE_DATA_DIR)/package.conf
>
> in utils/haddock.
>
>
> Thanks
> Ian
>
>
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs