安装ocsigen-bundle-2.2.2错误

时间:2012-07-18 01:44:06

标签: ocaml ocsigen

$./configure --prefix ${HOME}/ocsigen OCSIGEN_USER=${USER} OCSIGEN_GROUP=${USER} --with-missing-libs
...
checking for sqlite3_open in -lsqlite3... no
configure: error: SQLite is required.  See the --with-sqlite3 configure option.

$uname -r
 [FreeBSD[ 9.0-RELEASE-p3

$whereis sqlite3
sqlite3: /usr/local/bin/sqlite3

$ls -l /usr/local/lib/libsqlite*
-rw-r--r--  1 root  wheel  602092 12  3  2011 /usr/local/lib/libsqlite3.a
-rwxr-xr-x  1 root  wheel     943 12  3  2011 /usr/local/lib/libsqlite3.la*
lrwx-rw-r--r--  1 root  wheel  602092 12  3  2011 /usr/local/lib/libsqlite3.a
-rwxr-xr-x  1 root  wheel     943 12  3  2011 /usr/local/lib/libsqlite3.la*
lrwxr-xr-x  1 root  wheel      15 12  3  2011 /usr/local/lib/libsqlite3.so@ -> libsqlite3.so.8
-rwxr-xr-x  1 root  wheel  617995 12  3  2011 /usr/local/lib/libsqlite3.so.8*

任何建议都表示赞赏!

1 个答案:

答案 0 :(得分:1)

我认为你可以使用像

这样的东西
  

./ configure --with-sqlite3 = / usr / local / lib

或者只是/usr/local告诉./configure脚本sqlite3不在标准目录(/usr/lib)中。