
I tried to install HSBC and HSQL-sqlite3, Bot fail, And the error report is:
cabal install HDBC Resolving dependencies... Configuring old-locale-1.0.0.7... Configuring utf8-string-1.0.1.1... Building old-locale-1.0.0.7... Building utf8-string-1.0.1.1... Installed old-locale-1.0.0.7 Configuring old-time-1.1.0.3... Installed utf8-string-1.0.1.1 Failed to install old-time-1.1.0.3 Build log ( C:\Users\guthrie\AppData\Roaming\cabal\logs\old-time-1.1.0.3.log ): Configuring old-time-1.1.0.3... configure: WARNING: unrecognized options: --with-compiler checking for gcc... e:\Plang\Haskell Platform\8.0.2\mingw\bin\gcc.exe checking whether the C compiler works... no configure: error: in `/tmp/cabal-tmp-21488/old-time-1.1.0.3': configure: error: C compiler cannot create executables See `config.log' for more details
But the path to gcc is correct, and gc works fine. I had a similar problem once, and the issue was that the autoconf script didn't allow paths with spaces, Odd since Haskell installs into "Haskell Package" on windows. That time I had to reconfigure my whole installation (eliminating the space character), and then install it, and then restore the paths to what they were. Is this an ongoing issue? Should I reconfigure Haskell to install differently?