What: FBSQL Where: http://www.fastbase.co.nz/fbsql/index.html Description: MySQL Tcl extension with emphasis on flexibility and performance. Uses the Tcl Object interface. Updated: 06/2003 Contact: mailto:info@fastbase.co.nz (Peter Campbell) On FreeBSD 7, if MySQL and TCL are installed through a port, use this as Makefile (replace tcl8.6 by your TCL version folder): # path to libmysqlclient.a : MYSQLLIBDIR = /usr/local/lib/mysql # path to header files of mysql: MYSQLINCDIR = /usr/local/include/mysql # path to header files of mysql: TCLINCDIR = /usr/local/include/tcl8.6 # a different compiler : CC = gcc PIC = -fPIC INCLUDES = -I/usr/local/include -I$(MYSQLINCDIR) -I$(TCLINCDIR) CFLAGS += -Wall $(PIC) $(INCLUDES) # For Solaris8 : LDFLAGS = -lz -G -L $(MYSQLLIBDIR) -l mysqlclient all: fbsql.so fbsql.so: fbsql.o $(LD) -o $@ $< $(LDFLAGS) clean: -rm -f core *.o clobber: clean -rm -f fbsql.so ---- =============FBSQL.SO FREEBSD 4.9 USE THIS MAKEFILE============ #changed by bertholdo #needs tcl8.3 # path to libmysqlclient.a : MYSQLLIBDIR = /usr/local/lib/mysql # path to header files of mysql: MYSQLINCDIR = /usr/local/include/mysql # donĀ“t forget mysql-3.22.26a.tar.gz for example from www.sunfreeware.com : #MYSQLINCDIR2 = /home/users/wbo/projects/Tools/mysql-3.22.26a/include # a different compiler : CC = gcc PIC = -fPIC INCLUDES = -I/usr/local/include/tcl8.3/ -I/usr/local/include -I$(MYSQLINCDIR) -I$(MYSQLINCDIR2) CFLAGS += -Wall $(PIC) $(INCLUDES) # For Solaris8 : LDFLAGS = -G -L $(MYSQLLIBDIR) -l mysqlclient all: fbsql.so fbsql.so: fbsql.o $(LD) -o $@ $< $(LDFLAGS) clean: -rm -f core *.o clobber: clean -rm -f fbsql.s ---- [Silas] Windows version requires libmysql.dll, that you have to put in the same directory of fbsql.dll, which is possible to download from fbsql oficial website. ---- See also [FreeBSD] and [MySQL]. ---- [Peter Campbell] [[ [Category Package] | [Category Database] | ]]