如何编译Clisp 2.46? [英] How to compile Clisp 2.46?

查看:99
本文介绍了如何编译Clisp 2.46?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Ubuntu 8.04上编译最新版本的Clisp时,总是在运行configure之后得到此错误:

When I try to compile the newest version of Clisp on Ubuntu 8.04 I always get this error after running 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.

I've tried doing as requested, but it didn't help: it seems to ignore the --with-libsigsegv-prefix option. I also tried putting installing libsigsegv in a standard location (/usr/local). Oh, and of course, Ubuntu tells me that libsigsegv and libsigsegv-dev are installed in the system.

我真的很希望能够编译此版本的Clips,因为它对Ubuntu附带的版本进行了一些重大改进(我也想拥有PCRE).

I'd really like to be able to compile this version of Clips, as it introduces some serious improvements over the version shipped with Ubuntu (I'd also like to have PCRE).

推荐答案

以下是我过去在Ubuntu上编译CLISP的笔记,希望对您有所帮助:

Here are my notes from compiling CLISP on Ubuntu in the past, hope this helps:

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

这篇关于如何编译Clisp 2.46?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆