[sqlite] libtclsqlite3 assistance
On Fri, 21 Aug 2015 20:19:38 -0700 jungle Boogie wrote: > Hi Dr. H, > On 21 August 2015 at 14:23, Richard Hipp wrote: > > On 8/21/15, jungle Boogie wrote: > >> > >> Is it possible to compile in libtclsqlite3? > >> > > > > Dunno. But you can compile the libtclsqlite3.so yourself: > > > > make tclsqlite3.c > > gcc -fPIC -shared -I. -o libtclsqlite3.so tclsqlite3.c > > > Made it fine but compiling not so much: > > /usr/local/bin/gcc48 -fPIC -shared -I. -o libtclsqlite3.so > tclsqlite3.c tclsqlite3.c:162240:17: fatal error: tcl.h: No such file > or directory > #include "tcl.h" > ^ > compilation terminated. > > I have tcl.h here: > /usr/local/include/tcl8.6/generic/tcl.h > /usr/local/include/tcl8.6/tcl.h Add the include path to /usr/local/include/tcl8.6 gcc -fPIC -shared -I. -I/usr/local/include/tcl8.6 -o libtclsqlite3.so tclsqlite3.c --- --- Eduardo Morras
[sqlite] libtclsqlite3 assistance
Hi Dr. H, On 21 August 2015 at 14:23, Richard Hipp wrote: > On 8/21/15, jungle Boogie wrote: >> >> Is it possible to compile in libtclsqlite3? >> > > Dunno. But you can compile the libtclsqlite3.so yourself: > > make tclsqlite3.c > gcc -fPIC -shared -I. -o libtclsqlite3.so tclsqlite3.c Made it fine but compiling not so much: /usr/local/bin/gcc48 -fPIC -shared -I. -o libtclsqlite3.so tclsqlite3.c tclsqlite3.c:162240:17: fatal error: tcl.h: No such file or directory #include "tcl.h" ^ compilation terminated. I have tcl.h here: /usr/local/include/tcl8.6/generic/tcl.h /usr/local/include/tcl8.6/tcl.h > > -- > D. Richard Hipp > drh at sqlite.org \ --- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si
[sqlite] libtclsqlite3 assistance
On 8/21/15, jungle Boogie wrote: > > Is it possible to compile in libtclsqlite3? > Dunno. But you can compile the libtclsqlite3.so yourself: make tclsqlite3.c gcc -fPIC -shared -I. -o libtclsqlite3.so tclsqlite3.c -- D. Richard Hipp drh at sqlite.org
[sqlite] libtclsqlite3 assistance
Hello All, I'm trying to install this on my freebsd system: https://github.com/dbohdan/sqawk Problem is that I compile sqlite from source and keep up to date with trunk pretty regularly, but sqawk can't compile when I also have sqlite complied. Main error from sqawk: errorInfo: couldn't load file "/usr/local/lib/tcl8.6/sqlite3/libtclsqlite3.so": Cannot open "/usr/local/lib/tcl8.6/sqlite3/libtclsqlite3.so" I have tried ./configure --enable-shared and ./configure --enable-shared=libtclsqlite3.so in sqlite src but config log always says no. configure:9790: checking whether to build shared libraries configure:9811: result: no Full config log: http://dpaste.com/1MEDECZ.txt Is it possible to compile in libtclsqlite3? If you don't have a freebsd system nearby, you can use Vagrant to spin a VM up very quickly: https://atlas.hashicorp.com/freebsd/boxes/FreeBSD-10.2-RELEASE -- --- inum: 883510009027723 sip: jungleboogie at sip2sip.info xmpp: jungle-boogie at jit.si