I've found the "x86 HC files, for building from source without a previous
installation of GHC" which seemed promising. Alas i don't know what to do with
it. I tried untaring it together with the source:

pixel@no:~/rpm/SPECS>rpm -bp ghc.spec
Executing(%prep): /bin/sh -e /home/pixel/rpm/tmp/rpm-tmp.84335
[...]
+ cd /home/pixel/rpm/BUILD
+ rm -rf ghc-5.00
+ /usr/bin/bzip2 -dc /home/pixel/rpm/SOURCES/ghc-5.00-src.tar.bz2
+ tar -xf -
[...]
+ cd /home/pixel/rpm/BUILD
+ /usr/bin/bzip2 -dc /home/pixel/rpm/SOURCES/ghc-5.00-i386-hc.tar.bz2
+ tar -xf -
[...]

pixel@no:~/rpm/BUILD/ghc-5.00>autoconf
configure.in:733: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:914: warning: AC_TRY_RUN called without default to allow cross compiling
(fptools configure script wizard sez: "don't worry, the above warning is harmless (to 
us.)")
pixel@no:~/rpm/BUILD/ghc-5.00>(cd ghc ; autoconf)
pixel@no:~/rpm/BUILD/ghc-5.00>./configure >/tmp/configure.output
pixel@no:~/rpm/BUILD/ghc-5.00>make >/tmp/log 2>&1

configure seems ok (i did install happy 1.9 otherwise configure was not happy),
but "make" is going crazy with things like:

==fptools== make boot -wr;
 in /home/pixel/rpm/BUILD/ghc-5.00/glafp-utils/lndir
------------------------------------------------------------------------
../../glafp-utils/mkdependC/mkdependC -f .depend     -- -O -- lndir.c 
# 46 "lndir.c"
# 1 "lndir-Xos.h" 1
# 27 "lndir-Xos.h"
[...]

which just seems to output the file preprocessed?

==fptools== make boot - --no-print-directory -r;
 in /home/pixel/rpm/BUILD/ghc-5.00/ghc/utils/ghc-pkg
------------------------------------------------------------------------
M -optdep-f -optdep.depend  -osuf o    -ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package 
lang -package util -package text    Main.hs Package.hs
make[3]: M: Command not found
make[3]: [depend] Error 127 (ignored)


I've not tried a lot yet, but some help would be nice :)


Thanks, cu Pixel.


files:
  ftp://ftp.mandrakesoft.com/pub/pixel/configure.output
  ftp://ftp.mandrakesoft.com/pub/pixel/log.bz2

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to