[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

building maxima problem



I use debian2.0.
I could not find binary .deb package for maxima so 
I would like to build maxima from resources but I do not know
how to edit properly the ./configure file.
Could someone please give me a hand ?

------------
>From README
BUILDING:
========

For GCL (GNU Common Lisp) version 2.0 and later, edit the file ./configure
putting the correct
directories in these.  It presupposes your having the .o files from
the GCL available, since a large link will be done to produce a new
image containing maxima.

Then in the main maxima directory,

% ./configure
% make

------------
# begining of configure file
#!/bin/sh
# edit next 2 lines to say where GCL was built, and where the current directory is.
GCLDIR=/usr/lib/gcl
## I do not know what directory should I put here (above) as GCLDIR
## I have /usr/lib/gcl directory but it does not work
MAXDIR=/home/krupa/maxima-5.2
## I got the uncopressed maxima files in the above directory
# determines where to install: eg /usr/local/maxima-5.0/ /usr/local/bin ...etc.
PREFIX_DIR=/usr/local/maxima/


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 '# end maxmakedefs' >> makedefs

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

# end of configure file


**** I cannot find the /xbin/file-sub file or directory. ***


When I type (as root) ./configure I got the following:
${GCLDIR}/makedefs (/usr/lib/gcl/makedefs) not found.. so leaving blank..
inserting makedefs in ..
 makefile,
./configure: /usr/lib/gcl/xbin/file-sub: No such file or directory
mv: tmpx: No such file or directory
 src/makefile,
./configure: /usr/lib/gcl/xbin/file-sub: No such file or directory
mv: tmpx: No such file or directory
 info/makefile,
./configure: /usr/lib/gcl/xbin/file-sub: No such file or directory
mv: tmpx: No such file or directory
 elisp/makefile,
./configure: /usr/lib/gcl/xbin/file-sub: No such file or directory
mv: tmpx: No such file or directory

Could someone please help me ?

Thanks in advance

Jan Krupa


Reply to: