Error during 'make' in sloop.lisp maxima-5.9.0



Greetings!  Please try with the most recent stable source (version
2.6.1) at

ftp://ftp.debian.org/debian/pool/main/g/gcl

Take care,

"W. C. Vinyard" <wcvinyard@netscape.net> writes:

> My harddrive suffered from a mechanical failure, so I got new drive and
> rebuilt  from scratch.  The old system was a dualboot win2000/slackware 8.1
> with maxima-5.9.0 installed ... it was working just fine.
> 
> Rebuilt system is a dual boot system (win 2000/Slackware 9.0) on a Dell
> laptop with a pentium IV chip.  maxima-5.9.0.tar.gz package unzipped
> in /usr/local/src/Maxima/maxima-5.9.0
> 
> configure with gcl 2.4.4 seems to work fine:
> 
> ./configure --with-gcl=/usr/bin/gcl
> 
> loading cache ./config.cache
> checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking host system type... i686-pc-linux-gnu
> checking for clisp... false
> checking for gcl... true
> checking POSIX shell to see that it contains getopts... trying /bin/sh
> POSIX shell is /bin/sh
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating maxima-local
> creating xmaxima-local
> creating maxima.spec
> creating maxima.iss
> creating src/Makefile
> creating src/maxima
> creating src/autoconf-variables.lisp
> creating lisp-utils/Makefile
> creating tests/Makefile
> creating doc/Makefile
> creating doc/emaxima/Makefile
> creating doc/info/Makefile
> creating doc/intromax/Makefile
> creating doc/man/Makefile
> creating doc/man/maxima.1
> creating doc/share/Makefile
> creating interfaces/Makefile
> creating interfaces/emacs/Makefile
> creating interfaces/emacs/emaxima/Makefile
> creating interfaces/emacs/misc/Makefile
> creating interfaces/xmaxima/Makefile
> creating interfaces/xmaxima/autoconf-variables.tcl
> creating interfaces/xmaxima/Tkmaxima/Header.tcl
> creating interfaces/xmaxima/win32/Makefile
> creating share/Makefile
> creating demo/Makefile
> creating plotting/Makefile
> 
> Summary:
> GCL enabled. Executable name: "gcl"
> default lisp: gcl
> wish executable name: "wish"
> 
> Howver, when I do "make"  I get the following error messages:
> 
> Making all in src
> make[1]: Entering directory `/usr/local/src/Maxima/maxima-5.9.0/src'
> test -d binary-gcl || mkdir binary-gcl
> test -d binary-gcl/numerical || mkdir binary-gcl/numerical
> test -d binary-gcl/numerical/slatec || mkdir binary-gcl/numerical/slatec
> LISPTYPE=gcl ; export LISPTYPE ;\
> GCL=gcl ; export GCL ;\
> ../lisp-utils/maxima-run-lisp \
>         -x '(load "../lisp-utils/defsystem.lisp")(funcall (intern
> "OPERATE-ON-SYSTEM" :mk) "maxima" :compile :verbose t)' && \
>         ../lisp-utils/maxima-run-lisp \
>         -x '(load "../lisp-utils/defsystem.lisp")(funcall (intern
> "OPERATE-ON-SYSTEM" :mk) "maxima" :load :verbose t)' \
>          -d binary-gcl/maxima
> gcl -batch -eval (let ((argv '())) (declare (ignorable argv)) (progn (load
> "../lisp-utils/defsystem.lisp")(funcall (intern "OPERATE-ON-SYSTEM" :mk)
> "maxima" :compile :verbose t)) (values))
> Warning: REQUIRE is being redefined.
> ;  - Compiling defsystem "maxima"
> ;    - Loading module "package"
> ;      - Loading source file "maxima-package.lisp"
> Loading maxima-package.lisp
> Finished loading maxima-package.lisp
> 
> ;    - Compiling module "info"
> ;    - Compiling module "sloop"
> ;      - Compiling source file "sloop.lisp"
> Compiling sloop.lisp.
> ; (DEFUN FIRST-SLOOP-FOR ...) is being compiled.
> ;; The variable *LOOP-INCREMENT* is undefined.
> ;; The compiler will assume this variable is a global.
> End of Pass 1.  End of Pass 2.  ...
> 
> There are hundreds of lines like these next three...
> 
> sloop.c: In function 'Lnk T242 :
> sloop.c: 4636 'object' undeclared (first use in this function)
> sloop.c: 4636 parse error before ')' token
> 
> and then this:
> 
> Correctable error: (SYSTEM "(cd binary-gcl/ ;gcc -pipe
> -fwritable-strings  -DVOL=volatile -I/tmp/gcl-2.4.4/o -fsigned-char
> -O4 -c -I. sloop.c -w)")
> returned a non-zero value 0.
> Signalled by UNLESS.
> If continued: Continues anyway.
> Broken at CERROR.  Type :H for Help.
> SLOOP>>
> 
> Correctable error: Console interrupt.
> Signalled by SYSTEM:UNIVERSAL-ERROR-HANDLER.
> If continued: Type :r to resume execution, or :q to quit to top level.
> Broken at SYSTEM:TERMINAL-INTERRUPT.
> SLOOP>>>
> 
> I'm not a lisp programmer and have no idea how to handle this problem.  Any
> idea what I'm doing wrong?
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
> 
> 
> 

-- 
Camm Maguire			     			camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah