<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>--- On <b>Sat, 12/5/09, Daniel Fischer <i>&lt;daniel.is.fischer@web.de&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div class="plainMail"><br>Try<br><br>cabal install --with-c2hs="C:\path\to\c2hs.exe" portaudio<br><br>maybe that'll work. If not, run cabal --verbose=3 install portaudio,<br>perhaps that gives more information about what went wrong.<br><br></div></blockquote>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. <br><br>Log:<br><br>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" &gt;log.txt<br><br>searching for ghc in path.<br>found ghc at C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc.exe<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc.exe",["--numeric-version"])<br>C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc.exe is version 6.10.4<br>looking for package tool: ghc-pkg near compiler in C:\Program Files\Haskell<br>Platform\2009.2.0.2\bin<br>found package tool in C:\Program Files\Haskell<br>Platform\2009.2.0.2\bin\ghc-pkg.exe<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc-pkg.exe",["--version"])<br>C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc-pkg.exe is version 6.10.4<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc.exe",["--supported-languages"])<br>Reading installed
 packages...<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc-pkg.exe",["dump","--global"])<br>Reading available packages...<br>Resolving dependencies...<br>selecting portaudio-0.0.1 (hackage) and discarding mtl-1.0<br>selecting mtl-1.1.0.2 (installed or hackage) and discarding mtl-1.1.0.0 and<br>1.1.0.1<br>selecting haskell98-1.0.1.0 (installed or hackage) and discarding<br>haskell98-1.0<br>selecting random-1.0.0.1 (installed or hackage) and discarding random-1.0.0.0<br>selecting process-1.0.1.1 (installed or hackage) and discarding filepath-1.0<br>and process-1.0.0.0<br>selecting directory-1.0.0.3 (installed or hackage) and discarding<br>directory-1.0.0.0<br>selecting old-time-1.0.0.2 (installed or hackage) and discarding<br>old-time-1.0.0.0<br>selecting old-locale-1.0.0.1 (installed or hackage) and discarding<br>old-locale-1.0.0.0<br>selecting filepath-1.1.0.2 (installed or hackage) and discarding<br>filepath-1.1.0.0 and
 1.1.0.1<br>selecting Win32-2.2.0.0 (installed or hackage) and discarding Win32-2.1 and<br>2.1.0.0<br>selecting bytestring-0.9.1.4 (installed or hackage) and discarding<br>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,<br>0.9.1.3 and 0.9.1.5<br>selecting ghc-prim-0.1.0.0 (installed)<br>selecting rts-1.0 (installed)<br>selecting array-0.2.0.0 (installed or hackage) and discarding array-0.1.0.0<br>selecting base-3.0.3.1 (installed) and 4.1.0.0 (installed) and discarding<br>syb-0.1.0.0 and 0.1.0.1<br>selecting integer-0.1.0.1 (installed)<br>selecting syb-0.1.0.1 (installed)<br>In order, the following would be installed:<br>portaudio-0.0.1 (new package)<br>portaudio-0.0.1 has already been downloaded.<br>Extracting C:\Documents and Settings\M\Application<br>Data\cabal\packages\hackage.haskell.org\portaudio\0.0.1\portaudio-0.0.1.tar.gz<br>to C:\DOCUME~1\M\LOCALS~1\Temp\portaudio-0.0.13824...<br>Using internal setup method with
 build-type Simple and args:<br>["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<br>==3.0.3.1","--constraint=haskell98 ==1.0.1.0","--constraint=mtl<br>==1.1.0.2","--with-c2hs=C:\\Program Files\\Haskell\\bin\\c2hs.exe"]<br>Configuring portaudio-0.0.1...<br>Creating dist (and its parents)<br>searching for ghc in path.<br>found ghc at C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc.exe<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc.exe",["--numeric-version"])<br>C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc.exe is version 6.10.4<br>looking for package tool: ghc-pkg near compiler in C:\Program Files\Haskell<br>Platform\2009.2.0.2\bin<br>found package tool in C:\Program Files\Haskell<br>Platform\2009.2.0.2\bin\ghc-pkg.exe<br>("C:\\Program
 Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc-pkg.exe",["--version"])<br>C:\Program Files\Haskell Platform\2009.2.0.2\bin\ghc-pkg.exe is version 6.10.4<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc.exe",["--supported-languages"])<br>Reading installed packages...<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\ghc-pkg.exe",["dump","--global"])<br>Dependency base &gt;3 &amp;&amp; ==3.0.3.1: using base-3.0.3.1<br>Dependency haskell98 -any &amp;&amp; ==1.0.1.0: using haskell98-1.0.1.0<br>Dependency mtl &gt;=1.1.0.0 &amp;&amp; ==1.1.0.2: using mtl-1.1.0.2<br>searching for alex in path.<br>found alex at C:\Program Files\Haskell<br>Platform\2009.2.0.2\extralibs\bin\alex.exe<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\extralibs\\bin\\alex.exe",["--version"])<br>C:\Program Files\Haskell Platform\2009.2.0.2\extralibs\bin\alex.exe is version<br>2.3.1<br>searching for ar in path.<br>found ar at C:\Program Files\Haskell
 Platform\2009.2.0.2\bin\ar.exe<br>("C:\\Program Files\\Haskell\\bin\\c2hs.exe",["--numeric-version"])<br>C:\Program Files\Haskell\bin\c2hs.exe is version 0.16.0<br>searching for cpphs in path.<br>Cannot find cpphs on the path<br>searching for ffihugs in path.<br>Cannot find ffihugs on the path<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\gcc.exe",["-dumpversion"])<br>C:\Program Files\Haskell Platform\2009.2.0.2\gcc.exe is version 3.4.5<br>searching for greencard in path.<br>Cannot find greencard on the path<br>searching for haddock in path.<br>found haddock at C:\Program Files\Haskell Platform\2009.2.0.2\bin\haddock.exe<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\haddock.exe",["--version"])<br>C:\Program Files\Haskell Platform\2009.2.0.2\bin\haddock.exe is version 2.4.2<br>searching for happy in path.<br>found happy at C:\Program Files\Haskell<br>Platform\2009.2.0.2\extralibs\bin\happy.exe<br>("C:\\Program Files\\Haskell
 Platform\\2009.2.0.2\\extralibs\\bin\\happy.exe",["--version"])<br>C:\Program Files\Haskell Platform\2009.2.0.2\extralibs\bin\happy.exe is<br>version 1.18.4<br>searching for hmake in path.<br>Cannot find hmake on the path<br>searching for hsc2hs in path.<br>found hsc2hs at C:\Program Files\Haskell Platform\2009.2.0.2\bin\hsc2hs.exe<br>("C:\\Program Files\\Haskell Platform\\2009.2.0.2\\bin\\hsc2hs.exe",["--version"])<br>C:\Program Files\Haskell Platform\2009.2.0.2\bin\hsc2hs.exe is version 0.67<br>searching for HsColour in path.<br>Cannot find HsColour on the path<br>searching for hugs in path.<br>Cannot find hugs on the path<br>searching for jhc in path.<br>Cannot find jhc on the path<br>("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"])<br>("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"])<br>searching for nhc98 in path.<br>Cannot find nhc98 on the path<br>searching for pkg-config in path.<br>Cannot find pkg-config on the path<br>searching for ranlib in path.<br>Cannot find ranlib on the path<br>searching for strip in path.<br>Cannot find strip on the path<br>searching for tar in path.<br>Cannot find tar on the path<br>Using Cabal-1.6.0.3 compiled by ghc-6.10<br>Using compiler: ghc-6.10.4<br>Using install prefix: C:\Program Files\Haskell<br>Binaries installed in: C:\Program Files\Haskell\bin<br>Libraries installed in: C:\Program Files\Haskell\portaudio-0.0.1\ghc-6.10.4<br>Private binaries installed in: C:\Program Files\Haskell\portaudio-0.0.1<br>Data files installed in: C:\Program Files\Haskell\portaudio-0.0.1<br>Documentation installed in: C:\Program Files\Haskell\doc\portaudio-0.0.1<br>Using alex
 version 2.3.1 found on system at: C:\Program Files\Haskell<br>Platform\2009.2.0.2\extralibs\bin\alex.exe<br>Using ar found on system at: C:\Program Files\Haskell<br>Platform\2009.2.0.2\bin\ar.exe<br>Using c2hs version 0.16.0 given by user at: C:\Program<br>Files\Haskell\bin\c2hs.exe<br>No cpphs found<br>No ffihugs found<br>Using gcc version 3.4.5 found on system at: C:\Program Files\Haskell<br>Platform\2009.2.0.2\gcc.exe<br>Using ghc version 6.10.4 found on system at: C:\Program Files\Haskell<br>Platform\2009.2.0.2\bin\ghc.exe<br>Using ghc-pkg version 6.10.4 found on system at: C:\Program Files\Haskell<br>Platform\2009.2.0.2\bin\ghc-pkg.exe<br>No greencard found<br>Using haddock version 2.4.2 found on system at: C:\Program Files\Haskell<br>Platform\2009.2.0.2\bin\haddock.exe<br>Using happy version 1.18.4 found on system at: C:\Program Files\Haskell<br>Platform\2009.2.0.2\extralibs\bin\happy.exe<br>No hmake found<br>Using hsc2hs version 0.67 found on
 system at: C:\Program Files\Haskell<br>Platform\2009.2.0.2\bin\hsc2hs.exe<br>No hscolour found<br>No hugs found<br>No jhc found<br>Using ld found on system at: C:\Program Files\Haskell<br>Platform\2009.2.0.2\gcc-lib\ld.exe<br>No nhc98 found<br>No pkg-config found<br>No ranlib found<br>No strip found<br>No tar found<br>("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"])<br>Using internal setup method with build-type Simple and args:<br>["build","--verbose=3"]<br>Creating dist\build (and its parents)<br>Creating dist\build\autogen (and its parents)<br>Preprocessing library portaudio-0.0.1...<br>Creating dist\build\Sound\PortAudio (and its parents)<br>("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"])<br>c2hs.exe: does not exist<br>C:\Program Files\Haskell\bin\c2hs.exe returned ExitFailure 1<br><br><div class="plainMail"><br></div></td></tr></table><br>