From: Bjorn B. <bri...@cs...> - 2007-04-09 18:17:35
|
I think the easiest thing is to add the relevant directories to your =20 CPATH and LIBRARY_PATH environment variables. /Bj=F6rn On Apr 5, 2007, at 19:44 , manu wrote: > Hello, > > HSQL compiled fine but when I went to build the MySQL and Postgres > specific drivers, the headers files couldn't be found on my machine... > > I've installed MySQL and Postgres through Darwinports, and the > 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 > the build process to go and look in the /opt/local directories ??? > > > Thanks > >>>> error messages >>>>>>>>>>>>>>>> > > > manu:~/Sites/HSQL/MySQL manu$ runhaskell Setup.lhs configure -- > 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/ > 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 > mysqlclient library > manu:~/Sites/HSQL/MySQL manu$ runhaskell Setup.lhs > 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: > ----------------------------------------------------------------------=20= > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > _______________________________________________ > htoolkit-users mailing list > hto...@li... > https://lists.sourceforge.net/lists/listinfo/htoolkit-users |