--- On Sat, 12/5/09, Daniel Fischer <daniel.is.fischer@web.de> wrote: Daniel, Thank you for your thoughtful reply. I didn't know about those flags. The log is fairly long, and as I'm new to Haskell and Cabal it is mostly meaningless to me. I see very many incidences of "searching for ___ in path. Cannot find ___ on the path" so maybe this is all as simple as me not setting my environment correctly. Log: cabal install portaudio --verbose=3 --with-c2hs="C:\Program Files\Haskell\bin\c2hs.exe" --extra-include-dirs="C:\A\install\programming\portaudio\portaudio\include" --extra-lib-dirs="C:\A\install\programming\portaudio\portaudio\build\msvc\Win32\Release" >log.txt searching for ghc in path. found ghc at C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc.exe ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc.exe",["--numeric-version"]) C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc.exe is version 6.10.4 looking for package tool: ghc-pkg near compiler in C:\Program Files\Haskell Platform\2009.2.0.2\bin found package tool in C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc-pkg.exe ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc-pkg.exe",["--version"]) C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc-pkg.exe is version 6.10.4 ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc.exe",["--supported-languages"]) Reading installed packages... ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc-pkg.exe",["dump","--global"]) Reading available packages... Resolving dependencies... selecting portaudio-0.0.1 (hackage) and discarding mtl-1.0 selecting mtl-1.1.0.2 (installed or hackage) and discarding mtl-1.1.0.0 and 1.1.0.1 selecting haskell98-1.0.1.0 (installed or hackage) and discarding haskell98-1.0 selecting random-1.0.0.1 (installed or hackage) and discarding random-1.0.0.0 selecting process-1.0.1.1 (installed or hackage) and discarding filepath-1.0 and process-1.0.0.0 selecting directory-1.0.0.3 (installed or hackage) and discarding directory-1.0.0.0 selecting old-time-1.0.0.2 (installed or hackage) and discarding old-time-1.0.0.0 selecting old-locale-1.0.0.1 (installed or hackage) and discarding old-locale-1.0.0.0 selecting filepath-1.1.0.2 (installed or hackage) and discarding filepath-1.1.0.0 and 1.1.0.1 selecting Win32-2.2.0.0 (installed or hackage) and discarding Win32-2.1 and 2.1.0.0 selecting bytestring-0.9.1.4 (installed or hackage) and discarding bytestring-0.9, 0.9.0.1, 0.9.0.2, 0.9.0.3, 0.9.0.4, 0.9.1.0, 0.9.1.1, 0.9.1.2, 0.9.1.3 and 0.9.1.5 selecting ghc-prim-0.1.0.0 (installed) selecting rts-1.0 (installed) selecting array-0.2.0.0 (installed or hackage) and discarding array-0.1.0.0 selecting base-3.0.3.1 (installed) and 4.1.0.0 (installed) and discarding syb-0.1.0.0 and 0.1.0.1 selecting integer-0.1.0.1 (installed) selecting syb-0.1.0.1 (installed) In order, the following would be installed: portaudio-0.0.1 (new package) portaudio-0.0.1 has already been downloaded. Extracting C:\Documents and Settings\M\Application Data\cabal\packages\hackage.haskell.org\portaudio\0.0.1\portaudio-0.0.1.tar.gz to C:\DOCUME~1\M\LOCALS~1\Temp\portaudio-0.0.13824... Using internal setup method with build-type Simple and args: ["configure","--verbose=3","--ghc","--global","--extra-include-dirs=C:\\A\\install\\programming\\portaudio\\portaudio\\include","--extra-lib-dirs=C:\\A\\install\\programming\\portaudio\\portaudio\\build\\msvc\\Win32\\Release","--constraint=base ==3.0.3.1","--constraint=haskell98 ==1.0.1.0","--constraint=mtl ==1.1.0.2","--with-c2hs=C:\\Program Files\\Haskell\\bin\\c2hs.exe"] Configuring portaudio-0.0.1... Creating dist (and its parents) searching for ghc in path. found ghc at C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc.exe ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc.exe",["--numeric-version"]) C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc.exe is version 6.10.4 looking for package tool: ghc-pkg near compiler in C:\Program Files\Haskell Platform\2009.2.0.2\bin found package tool in C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc-pkg.exe ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc-pkg.exe",["--version"]) C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc-pkg.exe is version 6.10.4 ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc.exe",["--supported-languages"]) Reading installed packages... ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc-pkg.exe",["dump","--global"]) Dependency base >3 && ==3.0.3.1: using base-3.0.3.1 Dependency haskell98 -any && ==1.0.1.0: using haskell98-1.0.1.0 Dependency mtl >=1.1.0.0 && ==1.1.0.2: using mtl-1.1.0.2 searching for alex in path. found alex at C:\Program Files\Haskell Platform\2009.2.0.2\extralibs\bin\alex.exe ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\extralibs\\bin\\alex.exe",["--version"]) C:\Program Files\Haskell Platform\2009.2.0.2\extralibs\bin\alex.exe is version 2.3.1 searching for ar in path. found ar at C:\Program Files\Haskell Platform\2009.2.0.2\bin\ar.exe ("C:\\Program Files\\Haskell\\bin\\c2hs.exe",["--numeric-version"]) C:\Program Files\Haskell\bin\c2hs.exe is version 0.16.0 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\\Haskell Platform\\2009.2.0.2\\gcc.exe",["-dumpversion"]) C:\Program Files\Haskell Platform\2009.2.0.2\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\Haskell Platform\2009.2.0.2\bin\haddock.exe ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\haddock.exe",["--version"]) C:\Program Files\Haskell Platform\2009.2.0.2\bin\haddock.exe is version 2.4.2 searching for happy in path. found happy at C:\Program Files\Haskell Platform\2009.2.0.2\extralibs\bin\happy.exe ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\extralibs\\bin\\happy.exe",["--version"]) C:\Program Files\Haskell Platform\2009.2.0.2\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\Haskell Platform\2009.2.0.2\bin\hsc2hs.exe ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\hsc2hs.exe",["--version"]) C:\Program Files\Haskell Platform\2009.2.0.2\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\\Haskell Platform\\2009.2.0.2\\bin\\ghc.exe",["-c","C:\\DOCUME~1\\M\\LOCALS~1\\Temp\\3824.c","-o","C:\\DOCUME~1\\M\\LOCALS~1\\Temp\\3824.o"]) ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\gcc-lib\\ld.exe",["-x","-r","C:\\DOCUME~1\\M\\LOCALS~1\\Temp\\3824.o","-o","C:\\DOCUME~1\\M\\LOCALS~1\\Temp\\3825.o"]) 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. Cannot find ranlib on the path searching for strip in path. Cannot find strip on the path searching for tar in path. Cannot find tar on the path Using Cabal-1.6.0.3 compiled by ghc-6.10 Using compiler: ghc-6.10.4 Using install prefix: C:\Program Files\Haskell Binaries installed in: C:\Program Files\Haskell\bin Libraries installed in: C:\Program Files\Haskell\portaudio-0.0.1\ghc-6.10.4 Private binaries installed in: C:\Program Files\Haskell\portaudio-0.0.1 Data files installed in: C:\Program Files\Haskell\portaudio-0.0.1 Documentation installed in: C:\Program Files\Haskell\doc\portaudio-0.0.1 Using alex version 2.3.1 found on system at: C:\Program Files\Haskell Platform\2009.2.0.2\extralibs\bin\alex.exe Using ar found on system at: C:\Program Files\Haskell Platform\2009.2.0.2\bin\ar.exe Using c2hs version 0.16.0 given by user at: C:\Program Files\Haskell\bin\c2hs.exe No cpphs found No ffihugs found Using gcc version 3.4.5 found on system at: C:\Program Files\Haskell Platform\2009.2.0.2\gcc.exe Using ghc version 6.10.4 found on system at: C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc.exe Using ghc-pkg version 6.10.4 found on system at: C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc-pkg.exe No greencard found Using haddock version 2.4.2 found on system at: C:\Program Files\Haskell Platform\2009.2.0.2\bin\haddock.exe Using happy version 1.18.4 found on system at: C:\Program Files\Haskell Platform\2009.2.0.2\extralibs\bin\happy.exe No hmake found Using hsc2hs version 0.67 found on system at: C:\Program Files\Haskell Platform\2009.2.0.2\bin\hsc2hs.exe No hscolour found No hugs found No jhc found Using ld found on system at: C:\Program Files\Haskell Platform\2009.2.0.2\gcc-lib\ld.exe No nhc98 found No pkg-config found No ranlib found No strip found No tar found ("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\gcc.exe",["-BC:\\Program Files\\Haskell Platform\\2009.2.0.2\\gcc-lib","-IC:\\Program Files\\Haskell Platform\\2009.2.0.2\\include\\mingw","C:\\DOCUME~1\\M\\LOCALS~1\\Temp\\3824.c","-o","C:\\DOCUME~1\\M\\LOCALS~1\\Temp\\3824","-BC:\\Program Files\\Haskell Platform\\2009.2.0.2\\gcc-lib","-IC:\\Program Files\\Haskell Platform\\2009.2.0.2\\include\\mingw","-D__GLASGOW_HASKELL__=610","-IC:\\A\\install\\programming\\portaudio\\portaudio\\include","-I.","-IC:\\Program Files\\Haskell Platform\\2009.2.0.2\\process-1.0.1.1\\include","-IC:\\Program Files\\Haskell Platform\\2009.2.0.2\\directory-1.0.0.3\\include","-IC:\\Program Files\\Haskell Platform\\2009.2.0.2\\old-time-1.0.0.2\\include","-IC:\\Program Files\\Haskell Platform\\2009.2.0.2\\Win32-2.2.0.0\\include","-IC:\\Program Files\\Haskell Platform\\2009.2.0.2\\bytestring-0.9.1.4\\include","-IC:\\Program Files\\Haskell Platform\\2009.2.0.2\\base-4.1.0.0\\include","-IC:\\Program Files\\Haskell Platform\\2009.2.0.2/include","-lportaudio","-LC:\\A\\install\\programming\\portaudio\\portaudio\\build\\msvc\\Win32\\Release"]) Using internal setup method with build-type Simple and args: ["build","--verbose=3"] Creating dist\build (and its parents) Creating dist\build\autogen (and its parents) Preprocessing library portaudio-0.0.1... Creating dist\build\Sound\PortAudio (and its parents) ("C:\\Program Files\\Haskell\\bin\\c2hs.exe",["--include=dist\\build","--cppopts=-D__GLASGOW_HASKELL__=610","--cppopts=-IC:\\A\\install\\programming\\portaudio\\portaudio\\include","--output-dir=dist\\build","--output=Sound\\PortAudio\\Base.hs",".\\Sound\\PortAudio\\Base.chs"]) c2hs.exe: does not exist C:\Program Files\Haskell\bin\c2hs.exe returned ExitFailure 1 |