Missing Folder in ghc?

Ashley Yakeley ashley at semantic.org
Thu Mar 2 19:35:32 EST 2006


Simon Marlow wrote:

> It looks like you expected to build GHC by grabbing the darcs repo and 
> reading the README file - that isn't a route I anticipated :-)  I'll 
> make sure the README gets updated at some point.

Thanks. Now the build process gets stuck here:

------------------------------------------------------------------------
==fptools== make all -wr -f Makefile;
  in /home/ashley/Projects/Collected/Haskell/ghc/libraries/base
------------------------------------------------------------------------
rm -f GHC/Base.o; if [ ! -d GHC/Base_split ]; then mkdir GHC/Base_split; 
else /usr/bin/find GHC/Base_split -name '*.o' -print | xargs rm -f 
__rm_food; fi;
../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude 
-"#include" HsBase.h -funbox-strict-fields -ignore-package base -O 
-Rghc-timing -fgenerics  -fgenerics -split-objs    -c GHC/Base.lhs -o 
GHC/Base.o  -ohi GHC/Base.hi


The compiler just sits and does nothing for hours. It doesn't even use 
any CPU, it seems to be just waiting for something (in state "S+" 
according to ps). I tried running the command with -H64m, but that 
didn't help. With -v it gives this:

Glasgow Haskell Compiler, Version 6.5, for Haskell 98, compiled by GHC 
version 6.4
Using package config file: 
/home/ashley/Projects/Collected/Haskell/ghc/ghc/driver/package.conf.inplace
Using package config file: /home/ashley/.ghc/i386-linux-6.5/package.conf
package haskell98-1.0 will be ignored due to missing dependencies:
   base-1.0
package template-haskell-1.0 will be ignored due to missing dependencies:
   base-1.0
package unix-1.0 will be ignored due to missing dependencies:
   base-1.0
package Cabal-1.1.4 will be ignored due to missing dependencies:
   base-1.0
package parsec-2.0 will be ignored due to missing dependencies:
   base-1.0
package haskell-src-1.0 will be ignored due to missing dependencies:
   base-1.0
package network-1.0 will be ignored due to missing dependencies:
   base-1.0
package QuickCheck-1.0 will be ignored due to missing dependencies:
   base-1.0
package HUnit-1.1 will be ignored due to missing dependencies:
   base-1.0
package mtl-1.0 will be ignored due to missing dependencies:
   base-1.0
package fgl-5.2 will be ignored due to missing dependencies:
   base-1.0
package stm-1.0 will be ignored due to missing dependencies:
   base-1.0
package readline-1.0 will be ignored due to missing dependencies:
   base-1.0
Hsc static flags: -static
*** Literate pre-processor:
/home/ashley/Projects/Collected/Haskell/ghc/ghc/utils/unlit/unlit -h 
GHC/Base.lhs GHC/Base.lhs /tmp/ghc28900_0.lpp
*** C pre-processor:
gcc -E -undef -traditional -v -I include -I 
/home/ashley/Projects/Collected/Haskell/ghc/ghc/includes 
-D__HASKELL1__=5 -D__GLASGOW_HASKELL__=605 -D__HASKELL98__ 
-D__CONCURRENT_HASKELL__ -Dlinux_BUILD_OS=1 -Di386_BUILD_ARCH=1 
-Dlinux_HOST_OS=1 -Di386_HOST_ARCH=1 -x c /tmp/ghc28900_0.lpp -o 
/tmp/ghc28900_0.hscpp
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr 
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared 
--with-system-zlib --libexecdir=/usr/lib --enable-nls 
--without-included-gettext --enable-threads=posix --program-suffix=-4.0 
--enable-__cxa_atexit --enable-libstdcxx-allocator=mt 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre 
--enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
  /usr/lib/gcc/i486-linux-gnu/4.0.2/cc1 -E -traditional-cpp -quiet -v -I 
include -I /home/ashley/Projects/Collected/Haskell/ghc/ghc/includes 
-D__HASKELL1__=5 -D__GLASGOW_HASKELL__=605 -D__HASKELL98__ 
-D__CONCURRENT_HASKELL__ -Dlinux_BUILD_OS=1 -Di386_BUILD_ARCH=1 
-Dlinux_HOST_OS=1 -Di386_HOST_ARCH=1 /tmp/ghc28900_0.lpp -o 
/tmp/ghc28900_0.hscpp -mtune=i486 -undef
ignoring nonexistent directory "/usr/local/include/i486-linux-gnu"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
  include
  /home/ashley/Projects/Collected/Haskell/ghc/ghc/includes
  /usr/local/include
  /usr/lib/gcc/i486-linux-gnu/4.0.2/include
  /usr/include
End of search list.
*** Checking old interface for GHC.Base:
*** Parser:
*** Renamer/typechecker:
*** Desugar:
     Result size = 2851
*** Simplify:


It stops and waits there. This is my machine:

$ uname -a
Linux rollright 2.6.12-10-386 #1 Mon Feb 13 12:13:15 UTC 2006 i686 GNU/Linux



More information about the Glasgow-haskell-users mailing list