From: Krasimir A. <ka2...@ya...> - 2005-06-28 09:27:56
|
Hi Tim, Try to run Setup.lhs with -v option: $ ./Setup.lhs build -v and send me the generated output. Can you send me the generated MySQL.buildinfo file? Cheers, Krasimir --- tim <ti...@cs...> wrote: > 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 > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > htoolkit-users mailing list > hto...@li... > https://lists.sourceforge.net/lists/listinfo/htoolkit-users > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com |