View previous topic :: View next topic |
Author |
Message |
TheJabberwokk Apprentice

Joined: 13 Aug 2002 Posts: 196 Location: Gloucester
|
Posted: Mon Mar 17, 2003 9:28 pm Post subject: Can't emerge clisp |
|
|
when I try to emerge clisp I get this:
Code: |
cd linkkit && ln -s ../clisp.h clisp.h
(echo 'CC='"'"'gcc'"'" ; echo 'CFLAGS='"'"'-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC'"'" ; echo 'CLFLAGS='"'"'-x none -Wl,-export-dynamic'"'" ; echo 'LIBS='"'"'lisp.a libsigsegv.a libintl.a libiconv.a libreadline.a libavcall.a libcallback.a -lncurses -ldl -lm'"'" ; echo 'X_LIBS='"'"'-L/usr/X11R6/lib -lX11'"'" ; echo 'RANLIB='"'"'ranlib'"'" ; echo 'FILES='"'"'lisp.a libavcall.a libcallback.a libnoreadline.a libreadline.a libiconv.a libintl.a libsigsegv.a'"'") > makevars
test -d wildcard || ./lndir ../modules/wildcard wildcard
if test -f wildcard/configure -a '!' -f wildcard/config.status ; then cd wildcard ; ./configure --cache-file=`echo wildcard/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache ; fi
configure: loading cache ../config.cache
checking for gcc... (cached) gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for AIX... no
checking for ANSI C header files... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -Efile UTF-8 -norc" ; cd wildcard ; dots=`echo wildcard/ | sed -e 's,[^/][^/]*//*,../,g'` ; make clisp-module CC="gcc" CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC" INCLUDES="$dots" LISPBIBL_INCLUDES=" ${dots}lispbibl.c ${dots}fsubr.c ${dots}subr.c ${dots}pseudofun.c ${dots}constsym.c ${dots}constobj.c ${dots}unix.c ${dots}xthread.c ${dots}libintl.h ${dots}iconv.h ${dots}sigsegv.h" CLFLAGS="-x none -Wl,-export-dynamic" LIBS="libsigsegv.a libintl.a libiconv.a libreadline.a libavcall.a libcallback.a -lncurses -ldl -lm" RANLIB="ranlib" CLISP="$CLISP -q"
make[1]: Entering directory `/var/tmp/portage/clisp-2.29/work/clisp/src/wildcard'
/var/tmp/portage/clisp-2.29/work/clisp/src/lisp.run -M /var/tmp/portage/clisp-2.29/work/clisp/src/lispinit.mem -B /var/tmp/portage/clisp-2.29/work/clisp/src -N /var/tmp/portage/clisp-2.29/work/clisp/src/locale -Efile UTF-8 -norc -q -c wildcard.lisp
Compiling file /var/tmp/portage/clisp-2.29/work/clisp/src/wildcard/wildcard.lisp ...
Compilation of file /var/tmp/portage/clisp-2.29/work/clisp/src/wildcard/wildcard.lisp is finished.
0 errors, 0 warnings
gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC -I../ -c wildcard.c
gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC -I. -DHAVE_CONFIG_H -D_LIBC -c fnmatch.c
In file included from /usr/include/features.h:314,
from /usr/include/errno.h:29,
from fnmatch.c:27:
/usr/include/gnu/stubs.h:7:3: #error Applications may not define the macro _LIBC
make[1]: *** [fnmatch.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/clisp-2.29/work/clisp/src/wildcard'
make: *** [wildcard] Error 2
!!! ERROR: dev-lisp/clisp-2.29 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)
|
Is there a way around this?
Thanks |
|
Back to top |
|
 |
TheJabberwokk Apprentice

Joined: 13 Aug 2002 Posts: 196 Location: Gloucester
|
Posted: Mon Mar 17, 2003 10:12 pm Post subject: I just tried an older version and got this |
|
|
I tried an older version and got this:
Code: |
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2002
;; Loading file defseq.lisp ...
;; Loading of file defseq.lisp is finished.
;; Loading file backquote.lisp ...
;; Loading of file backquote.lisp is finished.
;; Loading file defmacro.lisp ...
;; Loading of file defmacro.lisp is finished.
;; Loading file macros1.lisp ...
;; Loading of file macros1.lisp is finished.
;; Loading file macros2.lisp ...
;; Loading of file macros2.lisp is finished.
;; Loading file defs1.lisp ...
;; Loading of file defs1.lisp is finished.
;; Loading file places.lisp ...
;; Loading of file places.lisp is finished.
;; Loading file floatprint.lisp ...
;; Loading of file floatprint.lisp is finished.
;; Loading file type.lisp ...
;; Loading of file type.lisp is finished.
;; Loading file defstruct.lisp ...
;; Loading of file defstruct.lisp is finished.
;; Loading file format.lisp ...
;; Loading of file format.lisp is finished.
;; Loading file international.lisp ...
;; Loading of file international.lisp is finished.
;; Loading file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/room.lisp ...
;; Loading of file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/room.lisp is finished.
;; Loading file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/savemem.lisp ...
;; Loading of file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/savemem.lisp is finished.
;; Loading file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/trace.lisp ...
;; Loading of file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/trace.lisp is finished.
;; Loading file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/cmacros.lisp ...
;; Loading of file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/cmacros.lisp is finished.
;; Loading file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/compiler.fas ...
;; Loading of file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/compiler.fas is finished.
;; Loading file /var/tmp/portage/clisp-2.28/work/clisp-2.28/src/defs2.lisp ...
WARNING in function #:COMPILED-FORM-1 :
Function DISPATCH-READER is not defined
WARNING in function #:COMPILED-FORM-1 :
Function DISPATCH-READER is not defined
*** - %STRUCTURE-REF:
*** - handle_fault error2 ! address = 0xD203218 not in [0x202CE000,0x20313B20) !
SIGSEGV cannot be cured. Fault address = 0xD203218.
make: *** [halfcompiled.mem] Segmentation fault
!!! ERROR: dev-lisp/clisp-2.28 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)
|
|
|
Back to top |
|
 |
axxackall l33t


Joined: 06 Nov 2002 Posts: 651 Location: Toronto, Ontario, 3rd Rock From Sun
|
Posted: Mon Mar 17, 2003 10:33 pm Post subject: |
|
|
Code: | # emerge -p clisp
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] dev-lisp/clisp-2.29
# clisp
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2002
[1]>
|
 |
|
Back to top |
|
 |
TheJabberwokk Apprentice

Joined: 13 Aug 2002 Posts: 196 Location: Gloucester
|
Posted: Tue Mar 18, 2003 6:35 pm Post subject: I got it to work |
|
|
I continued to have the problem but then I emerge ilisp and all its dependencies and it worked. |
|
Back to top |
|
 |
WaMan Tux's lil' helper

Joined: 28 Jun 2002 Posts: 96
|
Posted: Sun Jul 27, 2003 12:22 am Post subject: |
|
|
Is anyone else still having this problem? I am. I tried emerging app-emacs/ilisp-1.29, but this didn't help either. Could this be a xemacs-vs-emacs problem?
Thanks |
|
Back to top |
|
 |
payam Tux's lil' helper


Joined: 30 Jun 2003 Posts: 145
|
Posted: Wed Aug 20, 2003 12:31 am Post subject: |
|
|
I have the EXACT same problem (and output!) as TheJabberwokk posted in his first post in this thread. I am going to try
a) compiling with no optimizations
and then
b) using ilisp ????
i really wanna get maxima working...
I have tried
-O3 -march=athlon-xp -fomit-frame-pointer -pipe
-O3 -march=athlon-xp -pipe
-O2 -march=athlon-xp -pipe
Gonna drop everythign but pipe, and then (if it works) add -march ... etc. will let you know what happens. _________________ Athlon XP 2800+ 2.08GHz 333FSB 512KB, Biostar M7NCD Pro nForce2, 1GB Crucial DDR 333, EVGA Geforce FX 5600 256MB, Hitachi 180GB 180GXP |
|
Back to top |
|
 |
payam Tux's lil' helper


Joined: 30 Jun 2003 Posts: 145
|
Posted: Wed Aug 20, 2003 12:43 am Post subject: |
|
|
UPDATE: Okay so I couldn't emerge clisp even without any optimizations -- so the package is not sensitive in that respect. I think I will download the Gentoo Linux 1.4 CD(s) and try installing the package from binaries.... shame I have to do this.... _________________ Athlon XP 2800+ 2.08GHz 333FSB 512KB, Biostar M7NCD Pro nForce2, 1GB Crucial DDR 333, EVGA Geforce FX 5600 256MB, Hitachi 180GB 180GXP |
|
Back to top |
|
 |
payam Tux's lil' helper


Joined: 30 Jun 2003 Posts: 145
|
Posted: Wed Aug 20, 2003 2:46 am Post subject: |
|
|
another update: clisp isn't on the gentoo 1.4 cd's.
i checked both of these files:
athlon-xp-1.4-20030731-cd1.iso
athlon-xp-1.4-20030806-cd2.iso _________________ Athlon XP 2800+ 2.08GHz 333FSB 512KB, Biostar M7NCD Pro nForce2, 1GB Crucial DDR 333, EVGA Geforce FX 5600 256MB, Hitachi 180GB 180GXP |
|
Back to top |
|
 |
payam Tux's lil' helper


Joined: 30 Jun 2003 Posts: 145
|
Posted: Wed Aug 20, 2003 3:01 am Post subject: |
|
|
sorry for all the posts, but i found a SOLUTION:
Code: | # ACCEPT_KEYWORDS="~x86" emerge -O clisp |
The latest (albeit unstable) version is 2.30-r1 and it doesn't have this compile error for me. I even got all of my CFLAGS in:
Code: | CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" |
Code: | payam@angela payam $ clisp
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2002
[1]>
|
hope this helps anybody looking for the answer. i am compiling maxima now... yay! _________________ Athlon XP 2800+ 2.08GHz 333FSB 512KB, Biostar M7NCD Pro nForce2, 1GB Crucial DDR 333, EVGA Geforce FX 5600 256MB, Hitachi 180GB 180GXP |
|
Back to top |
|
 |
Ox- Guru


Joined: 19 Jun 2003 Posts: 305
|
Posted: Wed Aug 20, 2003 1:02 pm Post subject: |
|
|
I get the same error.
It appears to me to be a conflict with glibc, so maybe 2.29 and earlier might not be gcc 3.x compatible. Not sure why some people were able to compile it however.
You can see the problem with 2.29 by doing this: Code: | cd /var/tmp/portage/clisp-2.29/work/clisp/src/wildcard
emacs Makefile.in |
Then go to line 27. The "-D_LIBC" is what glibc 3.2 does not like.
Unfortunately, I don't know how to restart a merge without it unpacking the source again, so editing the file does no good. |
|
Back to top |
|
 |
payam Tux's lil' helper


Joined: 30 Jun 2003 Posts: 145
|
Posted: Wed Aug 20, 2003 10:47 pm Post subject: |
|
|
either point emerge at the ebuild, or just run ebuild, and let us know if editing that file works...  _________________ Athlon XP 2800+ 2.08GHz 333FSB 512KB, Biostar M7NCD Pro nForce2, 1GB Crucial DDR 333, EVGA Geforce FX 5600 256MB, Hitachi 180GB 180GXP |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|