当我试图在Ubuntu 8.04上编译最新版本的Clisp时,我总是在运行configure之后得到这个错误:
Configure findings:
FFI: no (user requested: default)
readline: yes (user requested: yes)
libsigsegv: no, consider installing GNU libsigsegv
./configure: libsigsegv was not detected, thus some features, such as
generational garbage collection and
stack overflow detection in interpreted Lisp code
cannot be provided.
Please do this:
mkdir tools; cd tools; prefix=`pwd`/i686-pc-linux-gnu
wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.5.tar.gz
tar xfz libsigsegv-2.5.tar.gz
cd libsigsegv-2.5
./configure --prefix=${prefix} && make && make check && make install
cd ../..
./configure --with-libsigsegv-prefix=${prefix} --with-readline --with-unicode --with-module=i18n --with-module=gdbm --with-module=pcre --with-module=readline --with-module=regexp
If you insist on building without libsigsegv, please pass
--ignore-absence-of-libsigsegv
to this script:
./configure --ignore-absence-of-libsigsegv --with-readline --with-unicode --with-module=i18n --with-module=gdbm --with-module=pcre --with-module=readline --with-module=regexp我试过按要求执行操作,但没有帮助:它似乎忽略了--with-libsigsegv-prefix选项。我还尝试将安装libsigsegv放在一个标准位置(/usr/local)。哦,当然,Ubuntu告诉我系统中安装了libsigsegv和libsigsegv dev。
我真的很希望能够编译这个版本的剪辑,因为它比Ubuntu附带的版本引入了一些重大的改进(我也希望有PCRE)。
发布于 2008-09-25 00:18:23
这是我以前在Ubuntu上编译CLISP的笔记,希望这能有所帮助:
sudo apt-get install libsigsegv-dev libreadline5-dev
# as of 7.10, Ubuntu's libffcall1-dev is broken and I had to get it from CVS
# and make sure CLISP didn't use Ubuntu's version.
sudo apt-get remove libffcall1-dev libffcall1
cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co -P ffcall
cd ffcall; ./configure; make
sudo make install
cvs -z3 -d:pserver:anonymous@clisp.cvs.sourceforge.net:/cvsroot/clisp co -P clisp
cd clisp
./configure --with-libffcall-prefix=/usr/local --prefix=/home/luis/Software
ulimit -s 16384
cd src; make install发布于 2008-09-24 23:42:18
如果您查看'config.log‘,它可能会告诉您为什么configure找不到libsigsegv
https://stackoverflow.com/questions/130636
复制相似问题