2004-09-19 13:45:47 UTC
The original makefile has the following variables in it:
SYS = Linux
¿Should I change this to MacOSX? This is what $OperatingSystem returns in MMA.
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