【问题标题】:How to compile Clisp 2.46?如何编译Clisp 2.46?
【发布时间】:2008-09-24 23:38:51
【问题描述】:

当我尝试在 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。

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

【问题讨论】:

  • 今天在 Lucid & CLISP 2.49 上这似乎仍然是一个问题。

标签: installation lisp common-lisp configure


【解决方案1】:

这是我过去在 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

【讨论】:

  • 显然,“发布”压缩包被严重破坏,从 CVS 获取源代码就像魅力一样。谢谢!
【解决方案2】:

如果您查看“config.log”,它可能会告诉您为什么 configure 没有找到 libsigsegv

【讨论】:

  • 它说:“配置:31142:检查 libsigsegv 配置:31200:结果:不,考虑安装 GNU libsigsegv”。不是很有帮助:P
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2016-08-19
  • 1970-01-01
  • 2015-08-19
  • 2015-03-18
  • 2012-12-06
  • 2013-07-10
  • 1970-01-01
相关资源
最近更新 更多