You are not logged in.

#1 2007-08-14 08:49:58

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

build clisp failed

Hello Arch community,

i´m back to Arch. big_smile After using it for nearly 3 years, i´ve used Kubuntu nearly a half year, because thats the "standard" Linux Distri used at my chair in university. I´m very happy, that i can use ARCH again. So long so good. Let´s talk about my problem.

I´ve tried to build clips on my own, using the PKGBUILD from /var/abs/extra/devel.
It seems to compile to the end. But while installing it gave me an Segmentation fault.

make[1]: Leaving directory `/var/abs/local/clisp/src/clisp-2.41/src/po'
make[1]: Entering directory `/var/abs/local/clisp/src/clisp-2.41/src/po'
installing en.gmo as ../locale/en/LC_MESSAGES/clisp.mo
installing clisplow_en.gmo as ../locale/en/LC_MESSAGES/clisplow.mo
installing da.gmo as ../locale/da/LC_MESSAGES/clisp.mo
installing clisplow_da.gmo as ../locale/da/LC_MESSAGES/clisplow.mo
installing de.gmo as ../locale/de/LC_MESSAGES/clisp.mo
installing clisplow_de.gmo as ../locale/de/LC_MESSAGES/clisplow.mo
installing fr.gmo as ../locale/fr/LC_MESSAGES/clisp.mo
installing clisplow_fr.gmo as ../locale/fr/LC_MESSAGES/clisplow.mo
installing es.gmo as ../locale/es/LC_MESSAGES/clisp.mo
installing clisplow_es.gmo as ../locale/es/LC_MESSAGES/clisplow.mo
installing nl.gmo as ../locale/nl/LC_MESSAGES/clisp.mo
installing clisplow_nl.gmo as ../locale/nl/LC_MESSAGES/clisplow.mo
installing ru.gmo as ../locale/ru/LC_MESSAGES/clisp.mo
installing clisplow_ru.gmo as ../locale/ru/LC_MESSAGES/clisplow.mo
make[1]: Leaving directory `/var/abs/local/clisp/src/clisp-2.41/src/po'
rm -rf data
mkdir data
cd data && ln -s ../../utils/unicode/UnicodeDataFull.txt .
cd data && ln -s ../../doc/Symbol-Table.text .
gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o built.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl   -L/usr/lib -lsigsegv -o lisp.run
cp -p cfgunix.lisp config.lisp
chmod +w config.lisp
echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp
./lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)"
make: *** [interpreted.mem] Segmentation fault
==> ERROR: Build Failed.  Aborting...

Anyone can help me to fix this? Thank

legout

Offline

#2 2007-09-30 11:01:56

Theomachos
Member
From: Germany
Registered: 2007-07-31
Posts: 67
Website

Re: build clisp failed

Same error for me.
Wanted to make PKGBUILD for stumpwm & clisp.
Unfortunately its impossible to run stumpwm with clisp on arch without rebuilding clisp with "--with-module=clx/new-clx" ... sad


There is one thing even more vital to science than intelligent methods; and that is, the sincere desire to find out the truth, whatever it may be.
Charles S. Peirce

Offline

#3 2007-10-01 14:04:25

Theomachos
Member
From: Germany
Registered: 2007-07-31
Posts: 67
Website

Re: build clisp failed

Solution:

CFLAGS="-DSAFETY=3"

At least the compilation worked - have to solve some probs building stumpwm now wink


There is one thing even more vital to science than intelligent methods; and that is, the sincere desire to find out the truth, whatever it may be.
Charles S. Peirce

Offline

#4 2007-10-10 21:27:30

kuratkull
Member
Registered: 2007-02-04
Posts: 26

Re: build clisp failed

/var/abs/extra/devel PKGBUILD:

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  unset CFLAGS CXXFLAGS
  ./configure CFLAGS="-DSAFETY=3" --with-module=clx/new-clx --prefix=/usr --prefix=/usr --with-readline --with-gettext --with-dynamic-ffi src
  cd src
  ./makemake CFLAGS="-DSAFETY=3" --with-module=clx/new-clx --prefix=/usr --prefix=/usr --with-readline --with-gettext --with-dynamic-ffi > Makefile

Output:

lispbibl.d:9115: warning: register used for two global register variables
time.d: In function 'C_default_time_zone':
time.d:662: warning: integer overflow in expression
cc  -O -O -DUNICODE -DNO_SIGSEGV -I. -c predtype.c
In file included from predtype.d:8:
lispbibl.d:9115: warning: register used for two global register variables
cc  -O -O -DUNICODE -DNO_SIGSEGV -I. -c symbol.c
In file included from symbol.d:4:
lispbibl.d:9115: warning: register used for two global register variables
cc  -O -O -DUNICODE -DNO_SIGSEGV -I. -c lisparit.c
In file included from lisparit.d:8:
lispbibl.d:9115: warning: register used for two global register variables
In file included from lisparit.d:28:
arilev1.d:257:28: error: ari80386.c: No such file or directory
make: *** [lisparit.o] Error 1
==> ERROR: Build Failed.  Aborting...

And when I remove the 'CFLAGS="-DSAFETY=3" ' from both of them, I get the same error as posted in the first post hmm

What am I doing wrong?

PS! Compiling with ./configure spits out the forementioned error too.


EDIT: I have done more reading, and found out that some poeple have not found a solution. So, is it maybe possible to add the compiled clx module manually to pacman installed clisp?

Last edited by kuratkull (2007-10-11 07:51:59)

Offline

#5 2007-10-12 20:19:35

Theomachos
Member
From: Germany
Registered: 2007-07-31
Posts: 67
Website

Re: build clisp failed

Yes, my solution didn't work properly. Clisp compiled fine, but clx doesn't seem to work.
Would be best to include new-clx in the standard package smile


There is one thing even more vital to science than intelligent methods; and that is, the sincere desire to find out the truth, whatever it may be.
Charles S. Peirce

Offline

Board footer

Powered by FluxBB