From: tim <ti...@cs...> - 2005-06-24 12:57:24
|
Hello, I'm rather new to Haskell, ghc, Cabal and all that. I'd very much like to do some CGI/HTML programming in Haskell using WASH and a MySQL Database. Since WASH doesn't support MySQL I thought I should give HSQL a try. The hsql-1.6. package itself installed fine under ghc 6.4 on my PC running Mandriva 2005. But the mysql package has following problem: tim@jered MySQL$ runghc Setup.lhs configure Warning: No license-file field. Configuring hsql-mysql-1.6... configure: searching for ghc in path. configure: found ghc at /usr/bin/ghc configure: looking for package tool: ghc-pkg near compiler in /usr/bin/ghc configure: found package tool in /usr/bin/ghc-pkg configure: Using install prefix: /usr/local configure: Using compiler: /usr/bin/ghc configure: Compiler flavor: GHC configure: Compiler version: 6.4 configure: Using package tool: /usr/bin/ghc-pkg configure: No haddock found configure: No happy found configure: No alex found configure: Using hsc2hs: /usr/bin/hsc2hs configure: Using cpphs: /usr/local/bin/cpphs configure: Reading installed packages... configure: Dependency base-any: using base-1.0 configure: Dependency hsql-any: using hsql-1.6 configure: Using mysql_config: /usr/bin/mysql_config configure: configuring mysqlclient library - so far, so good (or do I need some of haddock, happy, alex ... ?) tim@jered MySQL$ runghc Setup.lhs build Preprocessing library hsql-mysql-1.6... unrecognized option `-f' unrecognized option `-p' unrecognized option `-m' unrecognized option `-a' unrecognized option `-r' unrecognized option `-m' unrecognized option `-f' unrecognized option `-n' Usage: hsc2hs [OPTIONS] INPUT.hsc [...] -o FILE --output=FILE name of main output file -t FILE --template=FILE template file ... and so on ... *** Exception: got error code while preprocessing: Database.HSQL.MySQL I hope somebody of you sees at once what's going on and takes the time point it out to me. Tim Richter Computer Science University Potsdam Germany |