Question

Lorsque j'essaie de compiler la dernière version de Clisp sur Ubuntu 8.04, j'obtiens toujours cette erreur après avoir exécuté 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

J'ai essayé de faire ce qui avait été demandé, mais cela n'a pas aidé: il semble ignorer l'option - with-libsigsegv-prefix . J'ai aussi essayé d'installer libsigsegv dans un emplacement standard ( / usr / local ). Oh, et bien sûr, Ubuntu me dit que libsigsegv et libsigsegv-dev sont installés dans le système.

J'aimerais vraiment pouvoir compiler cette version de Clips, car elle introduit de sérieuses améliorations par rapport à la version fournie avec Ubuntu (j'aimerais aussi avoir PCRE).

Était-ce utile?

La solution

Voici mes notes sur la compilation de CLISP sur Ubuntu dans le passé. J'espère que cela vous aidera:

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

Autres conseils

Si vous consultez le fichier 'config.log', il pourrait vous expliquer pourquoi configure ne recherche pas libsigsegv

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top