CLISP 2.46을 컴파일하는 방법?
-
02-07-2019 - |
문제
Ubuntu 8.04에서 최신 버전의 CLISP를 컴파일하려고 할 때 구성을 실행 한 후에는 항상이 오류가 발생합니다.
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가 필요합니다).
해결책
다음은 과거 우분투에서 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
다른 팁
'config.log'를 보면 configure가 libsigsegv를 찾지 못하는 이유를 알려줄 수 있습니다.
제휴하지 않습니다 StackOverflow