[Haskell-cafe] Has anybody tried to upgrade Cabal on HP (Win 7)

Daniel Kahlenberg d.kahlenberg at googlemail.com
Fri Jun 18 10:48:01 EDT 2010


Hello,

I recently installed HP 2010.1.0.0 within Windows 7 and wanted to
upgrade the Cabal package to 1.8.0.6 today, sadly I got stuck on a
failure building the "directory" package.

So I tried to isolate the messages a bit and gave the following a try in
a ghci session (1st time only with path to cygwin binaries/2nd time only
with path to msys binaries added on my path variable, for both times I
append the logging output):

Prelude System.Cmd>
> rawSystem "cabal" ["upgrade", "--constraint=base==4.*", "directory",
> "-v3", "--user",
> "--build-log=d:/temp/log/build-$$pkgid-$$compiler.log"]

Maybe we can find the cause?!

Greetz
Daniel
-------------- next part --------------
Configuring directory-1.0.1.1...
Creating dist (and its parents)
searching for ghc in path.
found ghc at C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\ghc.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["--numeric-version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\ghc.exe is version
6.12.1
looking for package tool: ghc-pkg near compiler in C:\Program Files
(x86)\Haskell Platform\2010.1.0.0\bin
found package tool in C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\ghc-pkg.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe is version
6.12.1
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["--supported-languages"])
Reading installed packages...
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["dump","--global","-v2"])
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["dump","--user","-v2"])
Dependency Win32 ==2.2.0.2: using Win32-2.2.0.2
Dependency base ==4.2.0.0: using base-4.2.0.0
Dependency filepath ==1.1.0.4: using filepath-1.1.0.4
Dependency old-time ==1.0.0.5: using old-time-1.0.0.5
searching for alex in path.
found alex at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\alex.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
is version 2.3.2
searching for ar in path.
found ar at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\ar.exe
searching for c2hs in path.
Cannot find c2hs on the path
searching for cpphs in path.
Cannot find cpphs on the path
searching for ffihugs in path.
Cannot find ffihugs on the path
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["-dumpversion"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe is
version 3.4.5
searching for greencard in path.
Cannot find greencard on the path
searching for haddock in path.
found haddock at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\haddock.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\haddock.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\haddock.exe is version
2.7.2
searching for happy in path.
found happy at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\happy.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
is version 1.18.4
searching for hmake in path.
Cannot find hmake on the path
searching for hsc2hs in path.
found hsc2hs at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\hsc2hs.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\hsc2hs.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\hsc2hs.exe is version
0.67
searching for HsColour in path.
Cannot find HsColour on the path
searching for hugs in path.
Cannot find hugs on the path
searching for jhc in path.
Cannot find jhc on the path
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["-c","C:\\Users\\daniel\\AppData\\Local\\Temp\\3272.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\3272.o"])
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\mingw32\\bin\\ld.exe",["-x","-r","C:\\Users\\daniel\\AppData\\Local\\Temp\\3272.o","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\3273.o"])
searching for lhc in path.
Cannot find lhc on the path
searching for lhc-pkg in path.
Cannot find lhc-pkg on the path
searching for nhc98 in path.
Cannot find nhc98 on the path
searching for pkg-config in path.
Cannot find pkg-config on the path
searching for ranlib in path.
found ranlib at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\ranlib.exe
searching for strip in path.
found strip at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\strip.exe
searching for tar in path.
found tar at H:\zsh\bin\tar.exe
Using Cabal-1.8.0.2 compiled by ghc-6.12
Using compiler: ghc-6.12.1
Using install prefix: C:\Users\daniel\AppData\Roaming\cabal
Binaries installed in: C:\Users\daniel\AppData\Roaming\cabal\bin
Libraries installed in:
C:\Users\daniel\AppData\Roaming\cabal\directory-1.0.1.1\ghc-6.12.1
Private binaries installed in:
C:\Users\daniel\AppData\Roaming\cabal\directory-1.0.1.1
Data files installed in: C:\Program Files (x86)\Haskell\directory-1.0.1.1
Documentation installed in:
C:\Users\daniel\AppData\Roaming\cabal\doc\directory-1.0.1.1
Using alex version 2.3.2 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
Using ar found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\ar.exe
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 3.4.5 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\gcc.exe
Using ghc version 6.12.1 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\ghc.exe
Using ghc-pkg version 6.12.1 found on system at: C:\Program Files
(x86)\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe
No greencard found
Using haddock version 2.7.2 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\haddock.exe
Using happy version 1.18.4 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
No hmake found
Using hsc2hs version 0.67 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\hsc2hs.exe
No hscolour found
No hugs found
No jhc found
Using ld found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\mingw32\bin\ld.exe
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\ranlib.exe
Using strip found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\strip.exe
Using tar found on system at: H:\zsh\bin\tar.exe
("sh",["configure","--with-compiler=ghc","--prefix=C:\\Users\\daniel\\AppData\\Roaming\\cabal"])
cygwin warning:
  MS-DOS style path detected: C:\Users\daniel\AppData\Roaming\cabal/share/config.site
  Preferred POSIX equivalent is: /cygdrive/c/Users/daniel/AppData/Roaming/cabal/share/config.site
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
configure: creating ./config.status
config.status: creating include/HsDirectoryConfig.h
config.status: include/HsDirectoryConfig.h is unchanged
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["C:\\Users\\daniel\\AppData\\Local\\Temp\\3272.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\3272","-D__GLASGOW_HASKELL__=612","-Iinclude","-I.","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\old-locale-1.0.0.2","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\filepath-1.1.0.4\\ghc-6.12.1","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\integer-gmp-0.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\ghc-prim-0.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/gcc-lib","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe returned
ExitFailure 1 with error message:
In file included from C:\Users\daniel\AppData\Local\Temp\3272.c:1:
include/HsDirectory.h:19:19: HsFFI.h: No such file or directory
In file included from C:\Users\daniel\AppData\Local\Temp\3272.c:1:
include/HsDirectory.h:60: error: syntax error before "__hscore_long_path_size"
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["C:\\Users\\daniel\\AppData\\Local\\Temp\\3272.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\3272","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\old-locale-1.0.0.2","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\filepath-1.1.0.4\\ghc-6.12.1","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\integer-gmp-0.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\ghc-prim-0.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/gcc-lib","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0"])
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["C:\\Users\\daniel\\AppData\\Local\\Temp\\3272.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\3272","-c","-D__GLASGOW_HASKELL__=612","-Iinclude","-I.","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe returned
ExitFailure 1 with error message:
In file included from C:\Users\daniel\AppData\Local\Temp\3272.c:1:
include/HsDirectory.h:19:19: HsFFI.h: No such file or directory
In file included from C:\Users\daniel\AppData\Local\Temp\3272.c:1:
include/HsDirectory.h:60: error: syntax error before "__hscore_long_path_size"
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["C:\\Users\\daniel\\AppData\\Local\\Temp\\3272.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\3272","-c","-D__GLASGOW_HASKELL__=612","-Iinclude","-I.","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe returned
ExitFailure 1 with error message:
In file included from C:\Users\daniel\AppData\Local\Temp\3272.c:1:
include/HsDirectory.h:19:19: HsFFI.h: No such file or directory
In file included from C:\Users\daniel\AppData\Local\Temp\3272.c:1:
include/HsDirectory.h:60: error: syntax error before "__hscore_long_path_size"
setup.exe: Missing dependency on a foreign library:
* Missing header file: HsDirectory.h
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
-------------- next part --------------
Configuring directory-1.0.1.1...
Creating dist (and its parents)
searching for ghc in path.
found ghc at C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\ghc.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["--numeric-version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\ghc.exe is version
6.12.1
looking for package tool: ghc-pkg near compiler in C:\Program Files
(x86)\Haskell Platform\2010.1.0.0\bin
found package tool in C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\ghc-pkg.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe is version
6.12.1
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["--supported-languages"])
Reading installed packages...
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["dump","--global","-v2"])
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["dump","--user","-v2"])
Dependency Win32 ==2.2.0.2: using Win32-2.2.0.2
Dependency base ==4.2.0.0: using base-4.2.0.0
Dependency filepath ==1.1.0.4: using filepath-1.1.0.4
Dependency old-time ==1.0.0.5: using old-time-1.0.0.5
searching for alex in path.
found alex at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\alex.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
is version 2.3.2
searching for ar in path.
found ar at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\ar.exe
searching for c2hs in path.
Cannot find c2hs on the path
searching for cpphs in path.
Cannot find cpphs on the path
searching for ffihugs in path.
Cannot find ffihugs on the path
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["-dumpversion"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe is
version 3.4.5
searching for greencard in path.
Cannot find greencard on the path
searching for haddock in path.
found haddock at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\haddock.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\haddock.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\haddock.exe is version
2.7.2
searching for happy in path.
found happy at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\happy.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
is version 1.18.4
searching for hmake in path.
Cannot find hmake on the path
searching for hsc2hs in path.
found hsc2hs at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\hsc2hs.exe
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\hsc2hs.exe",["--version"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\bin\hsc2hs.exe is version
0.67
searching for HsColour in path.
Cannot find HsColour on the path
searching for hugs in path.
Cannot find hugs on the path
searching for jhc in path.
Cannot find jhc on the path
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["-c","C:\\Users\\daniel\\AppData\\Local\\Temp\\860.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\860.o"])
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\mingw32\\bin\\ld.exe",["-x","-r","C:\\Users\\daniel\\AppData\\Local\\Temp\\860.o","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\861.o"])
searching for lhc in path.
Cannot find lhc on the path
searching for lhc-pkg in path.
Cannot find lhc-pkg on the path
searching for nhc98 in path.
Cannot find nhc98 on the path
searching for pkg-config in path.
Cannot find pkg-config on the path
searching for ranlib in path.
found ranlib at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\ranlib.exe
searching for strip in path.
found strip at C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\strip.exe
searching for tar in path.
found tar at H:\msys\1.0\bin\tar.exe
Using Cabal-1.8.0.2 compiled by ghc-6.12
Using compiler: ghc-6.12.1
Using install prefix: C:\Users\daniel\AppData\Roaming\cabal
Binaries installed in: C:\Users\daniel\AppData\Roaming\cabal\bin
Libraries installed in:
C:\Users\daniel\AppData\Roaming\cabal\directory-1.0.1.1\ghc-6.12.1
Private binaries installed in:
C:\Users\daniel\AppData\Roaming\cabal\directory-1.0.1.1
Data files installed in: C:\Program Files (x86)\Haskell\directory-1.0.1.1
Documentation installed in:
C:\Users\daniel\AppData\Roaming\cabal\doc\directory-1.0.1.1
Using alex version 2.3.2 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
Using ar found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\ar.exe
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 3.4.5 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\gcc.exe
Using ghc version 6.12.1 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\ghc.exe
Using ghc-pkg version 6.12.1 found on system at: C:\Program Files
(x86)\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe
No greencard found
Using haddock version 2.7.2 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\haddock.exe
Using happy version 1.18.4 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
No hmake found
Using hsc2hs version 0.67 found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\bin\hsc2hs.exe
No hscolour found
No hugs found
No jhc found
Using ld found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\mingw32\bin\ld.exe
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\ranlib.exe
Using strip found on system at: C:\Program Files (x86)\Haskell
Platform\2010.1.0.0\mingw\bin\strip.exe
Using tar found on system at: H:\msys\1.0\bin\tar.exe
("sh",["configure","--with-compiler=ghc","--prefix=C:\\Users\\daniel\\AppData\\Roaming\\cabal"])
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
configure: creating ./config.status
config.status: creating include/HsDirectoryConfig.h
config.status: include/HsDirectoryConfig.h is unchanged
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["C:\\Users\\daniel\\AppData\\Local\\Temp\\860.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\860","-D__GLASGOW_HASKELL__=612","-Iinclude","-I.","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\old-locale-1.0.0.2","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\filepath-1.1.0.4\\ghc-6.12.1","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\integer-gmp-0.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\ghc-prim-0.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/gcc-lib","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe returned
ExitFailure 1 with error message:
In file included from C:\Users\daniel\AppData\Local\Temp\860.c:1:
include/HsDirectory.h:19:19: HsFFI.h: No such file or directory
In file included from C:\Users\daniel\AppData\Local\Temp\860.c:1:
include/HsDirectory.h:60: error: syntax error before "__hscore_long_path_size"
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["C:\\Users\\daniel\\AppData\\Local\\Temp\\860.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\860","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\old-locale-1.0.0.2","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\filepath-1.1.0.4\\ghc-6.12.1","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1","-LC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\integer-gmp-0.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\ghc-prim-0.2.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/gcc-lib","-LC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0"])
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["C:\\Users\\daniel\\AppData\\Local\\Temp\\860.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\860","-c","-D__GLASGOW_HASKELL__=612","-Iinclude","-I.","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe returned
ExitFailure 1 with error message:
In file included from C:\Users\daniel\AppData\Local\Temp\860.c:1:
include/HsDirectory.h:19:19: HsFFI.h: No such file or directory
In file included from C:\Users\daniel\AppData\Local\Temp\860.c:1:
include/HsDirectory.h:60: error: syntax error before "__hscore_long_path_size"
("C:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["C:\\Users\\daniel\\AppData\\Local\\Temp\\860.c","-o","C:\\Users\\daniel\\AppData\\Local\\Temp\\860","-c","-D__GLASGOW_HASKELL__=612","-Iinclude","-I.","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\old-time-1.0.0.5\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\Win32-2.2.0.2\\ghc-6.12.1\\include","-IC:\\Users\\daniel\\AppData\\Roaming\\cabal\\bytestring-0.9.1.7\\ghc-6.12.1\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0\\include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include","-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include"])
C:\Program Files (x86)\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe returned
ExitFailure 1 with error message:
In file included from C:\Users\daniel\AppData\Local\Temp\860.c:1:
include/HsDirectory.h:19:19: HsFFI.h: No such file or directory
In file included from C:\Users\daniel\AppData\Local\Temp\860.c:1:
include/HsDirectory.h:60: error: syntax error before "__hscore_long_path_size"
setup.exe: Missing dependency on a foreign library:
* Missing header file: HsDirectory.h
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.


More information about the Haskell-Cafe mailing list