mysql-mlink anyone? I need to make it run under Mac OS X
- To: mathgroup at smc.vnet.net
- Subject: [mg50770] mysql-mlink anyone? I need to make it run under Mac OS X
- From: gdelfino at mac.com (Gustavo Delfino)
- Date: Sun, 19 Sep 2004 21:39:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Is anyone using Mathematica together with mysql? There is a package mysql-mlink at http://sourceforge.net/projects/mysql-mlink/ but it looks like no one is using it. It hasn't been changed in years and no one has ever aked a question in its forum. I need help to make it compile under Mac OS X The original makefile has the following variables in it: SYS = Linux ¿Should I change this to MacOSX? This is what $OperatingSystem returns in Mathematica. INCDIR = /usr/include/mysql I changed this to /usr/local/mysql/include LIBDIR = /usr/lib/mysql I changed this to /usr/local/mysql/lib BINDIR = /home/stefan/.Mathematica/4.1/AddOns/Applications I changed this to /Applications/Mathematica\ 5.0.app/AddOns/Applications VERSION = 0.2 DDIR = mysql-mlink-${VERSION} MPREP = mprep When I try to compile by typing "make", I get the following error: mysqltm.c:15:22: mathlink.h: No such file or directory By using 'locate mathlink.h' I know that this file is in /Applications/Mathematica 5.0.app/AddOns/MathLink/DeveloperKit/Darwin/CompilerAdditions/mathlink.h My question is, where in the makefile do I put that directory? This may be a very basic cuestion, but this is the first time I edit a makefile. Regards, Gustavo Delfino Caracas, Venezuela