安装ocsigen-bundle-2.2.2错误
问题描述:
$./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/[email protected] -> libsqlite3.so.8
-rwxr-xr-x 1 root wheel 617995 12 3 2011 /usr/local/lib/libsqlite3.so.8*
任何建议表示赞赏!安装ocsigen-bundle-2.2.2错误
答
我想你可以使用类似
./configure --with-sqlite3=/usr/local/lib
或者只是/usr/local
告诉./configure脚本是SQLITE3不在标准目录(/usr/lib
)。
+0
在添加“--with-sqlite3 =/usr/local”后,在config.log中报告“/ usr/bin/ld:找不到-ldl”。错误消息仍然是“configure:error:SQLite是必需的,请参阅--with-sqlite3配置选项”。 – 2012-07-25 05:37:54
当你添加--with-sqlite3时,输出是什么? – cago 2012-07-18 07:48:30
与上述输出相同 – 2012-07-18 07:57:07
您应该在https://ocsigen.org/trac/上提交错误报告或联系[邮件列表]上的作者(https://sympa.mancoosi.univ-paris-diderot.fr/wws/info/ocsigen) – cago 2012-07-18 12:32:13