From: manu <emm...@ci...> - 2007-04-05 17:42:20
|
Hello, HSQL compiled fine but when I went to build the MySQL and Postgres =20 specific drivers, the headers files couldn't be found on my machine... I've installed MySQL and Postgres through Darwinports, and the =20 headers relating to MySQL and Postgres are in : /opt/local/include/mysql5/mysql and in : /opt/local/include/postgresql82 from the error messages i get when i do $ runhaskell Setup.lhs build I guess that these headers cannot be located... how do i configure =20 the build process to go and look in the /opt/local directories ??? Thanks >>> error messages >>>>>>>>>>>>>>>> manu:~/Sites/HSQL/MySQL manu$ runhaskell Setup.lhs configure --=20 prefix=3D/user/local Setup.lhs: Warning: No license-file field. Configuring hsql-mysql-1.7... configure: /opt/local/bin/ghc-pkg configure: Dependency base-any: using base-2.0 configure: Dependency hsql-any: using hsql-1.7 configure: Using install prefix: /user/local configure: Binaries installed in: /user/local/bin configure: Libraries installed in: /user/local/lib/hsql-mysql-1.7/=20 ghc-6.6 configure: Private binaries installed in: /user/local/libexec configure: Data files installed in: /user/local/share/hsql-mysql-1.7 configure: Using compiler: /opt/local/bin/ghc configure: Compiler flavor: GHC configure: Compiler version: 6.6 configure: Using package tool: /opt/local/bin/ghc-pkg configure: Using ar found on system at: /usr/bin/ar configure: No haddock found configure: No pfesetup found configure: Using ranlib found on system at: /usr/bin/ranlib configure: Using runghc found on system at: /opt/local/bin/runghc configure: No runhugs found configure: No happy found configure: No alex found configure: Using hsc2hs: /opt/local/bin/hsc2hs configure: No c2hs found configure: No cpphs found configure: No greencard found configure: No mysql_config found configure: The package will be built using default settings for =20 mysqlclient library manu:~/Sites/HSQL/MySQL manu$ runhaskell Setup.lhs =20 build Preprocessing library hsql-mysql-1.7... In file included from MySQL.hsc:31:0: Database/HSQL/HsMySQL.h:8:19: error: mysql.h: No such file or directory MySQL.hsc: In function =91main=92:= |