[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

srpersist



i have been trying to build srpersist.
i installed mysqld and changed the Makefile accordingly

# Makefile for srpersist.so on Unix boxes

# change to ODBC version supported by driver manager
ODBCVER=0x0351

# static library that implements driver manager
DRIVER_MGR_LIB=mysqlclient

# installation directory
LIBDIR=/usr/local/lib/mysql

# driver manager include directory
INCDIR=/usr/local/include/mysql

(not sure why the first line is there if i'm using mysql but the read me
says it works with mysql)

when i make, it says "
gcc  -g -DODBCVER=0x0351 -DHAVE_CHAR -DHAVE_LPWSTR -DHAVE_WCHAR -I.
-I../../include -I/usr/local/include/mysql -c srpersist.cxx
srpersist.cxx:41: sql.h: No such file or directory
srpersist.cxx:42: sqlext.h: No such file or directory
srpersist.cxx:43: sqltypes.h: No such file or directory
srpersist.cxx:46: sqlucode.h: No such file or directory
make: *** [srpersist.o] Error 1
"
i looked at the line that includeds sql.h and the comments above it says
something about microsoft ODBC. i'm not running ms odbc so thought these
lines should be included inside the #ifdef WIN32 but they are not.

anyone know what gives?
-mike