[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Installing SQLite + lsqlite3 through LuaRocks?
- From: Gilles Ganault <gilles.ganault@...>
- Date: Mon, 06 Jan 2014 16:56:00 +0100
On Mon, 06 Jan 2014 16:35:49 +0100, Gilles Ganault
<gilles.ganault@free.fr> wrote:
>Error: Could not find expected file sqlite3.h for SQLITE -- you may
>have to install SQLITE in your system and/or pass SQLITE_DIR or
>SQLITE_INCDIR to the luarocks command. Example: luarocks install
>lsqlite3 SQLITE_DIR=/usr/local
Further along...
===============================
# luarocks install lsqlite3
SQLITE_INCDIR=/tmp/sqlite3/sqlite-amalgamation-3080200
Installing
http://luarocks.org/repositories/rocks/lsqlite3-0.9.1-2.src.rock...
Using
http://luarocks.org/repositories/rocks/lsqlite3-0.9.1-2.src.rock...
switching to 'build' mode
Archive:
/tmp/luarocks_luarocks-rock-lsqlite3-0.9.1-2-4992/lsqlite3-0.9.1-2.src.rock
inflating: lsqlite3-0.9.1-2.rockspec
extracting: lsqlite3_fsl09t.zip
Archive: lsqlite3_fsl09t.zip
creating: lsqlite3_fsl09t/
inflating: lsqlite3_fsl09t/HISTORY
inflating: lsqlite3_fsl09t/Makefile
inflating: lsqlite3_fsl09t/README
creating: lsqlite3_fsl09t/doc/
inflating: lsqlite3_fsl09t/doc/lsqlite3.wiki
creating: lsqlite3_fsl09t/examples/
inflating: lsqlite3_fsl09t/examples/aggregate.lua
inflating: lsqlite3_fsl09t/examples/function.lua
inflating: lsqlite3_fsl09t/examples/hooks_advanced.lua
inflating: lsqlite3_fsl09t/examples/order.lua
inflating: lsqlite3_fsl09t/examples/simple.lua
inflating: lsqlite3_fsl09t/examples/smart.lua
inflating: lsqlite3_fsl09t/examples/statement.lua
inflating: lsqlite3_fsl09t/examples/tracing.lua
inflating: lsqlite3_fsl09t/examples/update_hook.lua
creating: lsqlite3_fsl09t/extras/
inflating: lsqlite3_fsl09t/extras/Makefile
inflating: lsqlite3_fsl09t/extras/installpath.lua
inflating: lsqlite3_fsl09t/lsqlite3-0.9.1-2.rockspec
inflating: lsqlite3_fsl09t/lsqlite3.c
creating: lsqlite3_fsl09t/test/
inflating: lsqlite3_fsl09t/test/test.lua
inflating: lsqlite3_fsl09t/test/tests-sqlite3.lua
gcc -O2 -fPIC -I/usr/include/lua5.1 -c lsqlite3.c -o lsqlite3.o
-I/tmp/sqlite3/sqlite-amalgamation-3080200
gcc -shared -o lsqlite3.so -L/usr/local/lib lsqlite3.o
-L/usr/local/lib -lsqlite3
/usr/bin/ld: cannot find -lsqlite3
collect2: ld returned 1 exit status
cp: cannot stat `lsqlite3.so': No such file or directory
Error: Build error: Failed installing lsqlite3.so in
/usr/local/lib/luarocks/rocks/lsqlite3/0.9.1-2/lib
===============================
# apt-cache search libsqlite3-dev
# apt-cache search libsqlite3
# apt-cache search libsqlite
# aptitude show libsqlite3
E: Unable to locate package libsqlite3
# aptitude show libsqlite
E: Unable to locate package libsqlite
===============================