From: ···@uol.com.br
Subject: Maxima - how to build it on potato?
Date: 
Message-ID: <a17nr4$oot9d$1@ID-78052.news.dfncis.de>
Hello-
	(I posted this on comp.lang.lisp too, because it may be a lisp-implementation problem regarding GCL).

	I'm trying to build the Maxima CAS (Computer Algebraic System) on the Debian GNU/Linux (potato), but I keep getting errors regarding the ./configure script. I installed Maxima-5.6 on my /usr/local directory.
	The error messages are:

${GCLDIR}/makedefs (/usr/bin/gcl/makedefs) not found.. so leaving blank..
(cd ./src ; make )
make[1]: Entrando no diret�rio `/usr/local/maxima-5.6/src'
echo '(load "sysdef.lisp")' '(load "'/home/wfs/cvs/gcl'/lsp/sys-proclaim.lisp")' '(load "sys-proclaim.lisp")' '(proclaim (quote (optimize (safety 0) (speed 3) (space 0))))' '(setq *load-verbose* nil)'\
'(proclaim (quote (optimize (safety 2) (speed 2) (space 2))))' \
'(make::make :maxima-macros :compile t)' | /home/wfs/cvs/gcl/unixport/saved_gcl /home/wfs/cvs/gcl/unixport/
make[1]: Saindo do diret�rio `/usr/local/maxima-5.6/src'
inserting makedefs in ..
 makefile,
 ./configure: /usr/bin/bar/gcl/bin/files-sub: not a file
 :mv :tmpx: file or archive not found
 src/makefile,
 ./configure: /usr/bin/bar/gcl/bin/files-sub: not a file
 :mv :tmpx: file or archive not found
 info/makefile,
 ./configure: /usr/bin/bar/gcl/bin/files-sub: not a file
 :mv :tmpx: file or archive not found
 elisp/makefile,
 ./configure: /usr/bin/bar/gcl/bin/files-sub: not a file
 :mv :tmpx: file or archive not found


	My ./configure file looks like this:

#!/bin/sh
# edit next few lines 
# GCLDIR should be where gcl was built, and the o/*.o lsp/*.o etc must be
# there to link with maxima
# I changed the lines bellow
#GCLDIR=/home/wfs/cvs/gcl
GCLDIR=/usr/bin/gcl 
#GCLDIR=/usr/lib/gcl # does not work either!

# the directory where this file is, and where you will build maxima
# could use
# EU mudei as linhas abaixo, conforme instrucoes
#MAXDIR=/home/wfs/cvs/maxima
#MAXDIR=`pwd`
MAXDIR=/usr/local/maxima-5.6
MAXDIR=`pwd`
# where to put some maxima .el files
#EMACS_SITE_LISP=/usr/local/lib/emacs/site-lisp
EMACS_SITE_LISP=/usr/share/emacs/20.7/site-lisp

# determines where to install
# PREFIX_DIR=/usr/local puts things in /usr/local/lib/maxima-x.y
# and /usr/local/bin
PREFIX_DIR=/usr/local
INFO_DIR=${PREFIX_DIR}/info
MAN_DIR=${PREFIX_DIR}/man/man1
##### end editing #########

if [ -f ${GCLDIR}/makedefs ] ;then 
cat ${GCLDIR}/makedefs > makedefs
else echo > makedefs
echo '${GCLDIR}/makedefs' "(${GCLDIR}/makedefs)" not found.. so leaving blank..

fi

echo GCLDIR=${GCLDIR} >>makedefs
echo MAXDIR=${MAXDIR} >>makedefs
echo PREFIX_DIR=${PREFIX_DIR} >>makedefs
echo EMACS_SITE_LISP=${EMACS_SITE_LISP} >> makedefs
echo INFO_DIR=${INFO_DIR} >> makedefs
echo MAN_DIR=${MAN_DIR} >> makedefs
echo '# end maxmakedefs' >> makedefs

(cd ${GCLDIR}/bin ; make )

echo inserting makedefs  in ..
for v in makefile src/makefile info/makefile elisp/makefile 
 do
 echo " $v,"
 ${GCLDIR}/bin/file-sub makedefs $v "# begin makedefs" '# end maxmakedefs' tmpx
 mv tmpx $v
 done


	It seems to be a problem regarding the GCL installation on Debian, that obviously differs from the default expected one. But I'm not sure this is the problem.
	Can you help me? I really need to use Maxima. For one thing, I just can't afford proprietary CAS like Mathematica and Maple. And besides, why not use Maxima?
	I've searched the Maxima mailing-list and linux.debian.user but couldn't find the answer.

	Thanks in advance,
	Regards,
	HL

From: ········@acm.org
Subject: Re: Maxima - how to build it on potato?
Date: 
Message-ID: <j_JZ7.40428$AS4.4946069@news20.bellglobal.com>
···@uol.com.br writes:
> I'm trying to build the Maxima CAS (Computer Algebraic System) on
> the Debian GNU/Linux (potato), but I keep getting errors regarding
> the ./configure script. I installed Maxima-5.6 on my /usr/local
> directory.

Have you considered trying:
# apt-get install maxima

It's part of "unstable," and probably "testing" too.

Far be it from me to try to deny you the fun of patching things up
yourself, but if what you want is a running copy, and aren't concerned
about how to install it, that should work...
-- 
(concatenate 'string "aa454" ·@freenet.carleton.ca")
http://www.ntlug.org/~cbbrowne/linux.html
Rules of the Evil Overlord #42.  "When I capture the hero, I will make
sure I also get his dog, monkey, ferret, or whatever sickeningly cute
little animal capable of untying ropes and filching keys happens to
follow him around." <http://www.eviloverlord.com/>
From: Marc Mertens
Subject: Re: Maxima - how to build it on potato?
Date: 
Message-ID: <pan.2002.01.06.09.04.55.771830.258@vt4.net>
On Sat, 05 Jan 2002 22:26:26 +0100, hzi wrote:

Hello, 

	the directory where you have build GCL should be interpreted
literally, it is not the directory where you have installed GCL
but where you have build it . So you should download the GCL source 
files, expand them in a build directory, do a ./configure and make of GCL
and then modify the configure file of the Maxima source directory to 
refere to this directory.

Hopes this helps

Marc
>
> ${GCLDIR}/makedefs (/usr/bin/gcl/makedefs) not found.. so leaving
> blank.. (cd ./src ; make )
>
> 	My ./configure file looks like this:
> 
> #!/bin/sh
> # edit next few lines
> # GCLDIR should be where gcl was built, and the o/*.o lsp/*.o etc must
> be # there to link with maxima
> # I changed the lines bellow
> #GCLDIR=/home/wfs/cvs/gcl
>
> 
>