2008-09-24 28 views
4

当我尝试编译CLISP的最新版本在Ubuntu 8.04,我总是得到这个错误运行配置后:如何编译Clisp 2.46?

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)的一些严重改进。

+0

今天在Lucid&CLISP 2.49上,这似乎仍然是一个问题。 – 2012-08-08 19:01:48

回答

3

以下是过去在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:[email protected]:/sources/libffcall co -P ffcall 
cd ffcall; ./configure; make 
sudo make install 

cvs -z3 -d:pserver:[email protected]:/cvsroot/clisp co -P clisp 
cd clisp 
./configure --with-libffcall-prefix=/usr/local --prefix=/home/luis/Software 
ulimit -s 16384 
cd src; make install 
+0

显然,“release”tarball被严重破坏,从CVS获得源代码就像魅力一样工作。谢谢! – 2008-09-25 01:58:59

1

如果你看“的config.log”它可能告诉你为什么配置没有找到libsigsegv

+0

它说:“配置:31142:检查libsigsegv配置:31200:结果:不,请考虑安装GNU libsigsegv”。不太有用:P – 2008-09-24 23:52:55