Igor Gorbounov wrote:

Hi, All!
sqlite-3.1.3.tar.gz doesn't compile on Fedora Core 3 Linux. Compiler complains
on some Tcl stuff:
....
gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I./src -DNDEBUG -I/usr/include -DSQLITE_OMIT_CURSOR -c ./src/tclsqlite.c -fPIC -DPIC -o .libs/tclsqlite.o
./src/tclsqlite.c:20:17: tcl.h: No such file or directory
./src/tclsqlite.c:44: error: syntax error before "Tcl_Interp"
./src/tclsqlite.c:44: warning: no semicolon at end of struct or union
./src/tclsqlite.c:47: error: syntax error before '}' token
./src/tclsqlite.c:55: error: syntax error before "Tcl_Interp"
....
The 3.0.8 compiles excelent. So what's wrong here and is there any workaround?
Igor Gorbounov



It also failed on White Box Linux V3.0. After I ran ../sqlite/configure ... from a bld directory I ran make as usr. It couldn't find tcl.h and continued with about 350 lines of ../sqlite/src/tclsqlite.c:... errors.

At this point I remembered that the last time I compiled sqlite3 was on Fedora Core 1. I don't remembered where I got it but I had downloaded tcl8.4.7-src.tar.gz and installed it. After I installed it on this distro, tcl.h was found and the compile was successful.

Corwin



Reply via email to