Hello,

I must be missing something obvious, but I can't figure out how to
compile/install the tcl bindings. I've been trying to install
sqlite-3.3.5 for the last few hours.

According to http://www.sqlite.org/quickstart.html, in order to use
the tcl interface I need this line in my tcl script:

       load /usr/lib/tclsqlite3.so Sqlite3

The problem seems to be that I'm not ending up with
/usr/lib/tclsqlite3.so, no matter what I do. I searched the mailing
list archive and the wiki without success. I also looked hard at the
Makefile without finding any obvious hints.

I configured with:

[/tmp/build]$ ../sqlite-3.3.5/configure --prefix=/usr --with-tcl=/usr/lib

I see these two lines in configure's output:

    checking for Tcl configuration... found /usr/lib/tclConfig.sh
    checking for existence of /usr/lib/tclConfig.sh... loading

I then issued 'make' and 'make install'.

In case this is useful, after 'make install' I have:

[/tmp/build]$ ls -l .libs/tcl*
-rw-r--r-- 1 miguel users 77K Apr  6 20:34 .libs/tclsqlite.o

[/tmp/build]$ ls -l .libs/libtcl*
-rw-r--r-- 1 miguel users 1.5M Apr  6 20:34 .libs/libtclsqlite3.a
lrwxrwxrwx 1 miguel users   19 Apr  6 20:34 .libs/libtclsqlite3.la ->
../libtclsqlite3.la
-rw-r--r-- 1 miguel users  871 Apr  6 20:34 .libs/libtclsqlite3.lai
lrwxrwxrwx 1 miguel users   22 Apr  6 20:34 .libs/libtclsqlite3.so ->
libtclsqlite3.so.0.8.6*
lrwxrwxrwx 1 miguel users   22 Apr  6 20:34 .libs/libtclsqlite3.so.0
-> libtclsqlite3.so.0.8.6*
-rwxr-xr-x 1 miguel users 1.1M Apr  6 20:34 .libs/libtclsqlite3.so.0.8.6*

[/tmp/build]$ ls -ld /usr/lib/tcl*
drwxr-xr-x 9 root root 4096 Apr  6 20:42 /usr/lib/tcl8.4
-rwxr-xr-x 1 root root 7198 Feb  6 18:30 /usr/lib/tclConfig.sh

Please indicate if you need logs, any extra info, or you want me to
try something else. Any pointers in the right direction highly
appreciated!

--
Miguel Bazdresch

Reply via email to