Trying to build maxima from CVS



On 02/18/2011 11:42 AM, Raymond Toy wrote:
> On 2/18/11 1:35 PM, Paul Bowyer wrote:
>> Hello:
>>
>> I'm trying to build maxima from CVS using:
>> "cvs -d :pserver:anonymous at maxima.cvs.sourceforge.net:/cvsroot/maxima
>> co maxima"
>> #which seems to download maxima source properly.
>>
>> I then did from the maxima source directory:
>> "bootstrap"
>> #which completed successfully
>>
>> "export GCL_ANSI=y CFLAGS="-O2 -g -march=i386 -mcpu=i686
>> -fno-fast-math" CXXFLAGS="-O2 -g -march=i386 -mcpu=i686
>> -fno-fast-math"&&  ./configure --prefix=$HOME/MaximaTest --enable-gcl
>> --with-gcl=/usr/bin/gcl"
>> #which failed with "config.status: error: cannot find input file:
>> `Makefile.in'"
>>
> You mean maxima.system.in?
>
> I inadvertently checked in something by accident.  I thought I had
> reverted this change yesterday, but I didn't.  It should be fixed in CVS
> now.
>
> (This is where having the commit log emails would be really beneficial.)
>
> Ray
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
Ray:

Whatever you did made it so I could download source from CVS and build 
maxima against GCL-2.6.8pre which now identifies itself properly in the 
help file from xmaxima as "Maxima 5.23post".
(%i1) build_info ();
Maxima version: 5.23.2
Maxima build date: 21:3 1/21/2011
Host type: i586-mandriva-linux-gnu
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.8

My build process was:
"sh bootstrap"
"export GCL_ANSI=y CFLAGS="-O2 -g -march=i386 -mcpu=i686 -fno-fast-math" 
CXXFLAGS="-O2 -g -march=i386 -mcpu=i686 -fno-fast-math" && ./configure 
--prefix=$HOME/MaximaTest --enable-gcl --with-gcl=/usr/bin/gcl"
"make"
"make check"
"make install"

Does this qualify as building maxima from HEAD as mentioned in the 
thread "[Maxima] build-index, cl-ppcre and github" and if not, how do I 
go about doing that?

Attempting to build maxima using the same process for maxima downloaded 
via "git" (in a different source directory) according to the directions 
given by Leo Butler fails with:
"Compiling $HOME/my-maxima-git-sandbox/Maxima-CAS/src/cl-ppcre/errors.lisp.
Invalid DEFINE-CONDITION option: (:DEFAULT-INITARGS :POS NIL :STRING
                                      *SYNTAX-ERROR-STRING*)"
as mentioned similarly in the thread "[Maxima] build-index, cl-ppcre and 
github".

Since I'm able to build the CVS version of maxima against GCL and I 
cannot build the "git" version against GCL, does it seem reasonable to 
assume the problem might not be GCL, or is my thinking fouled up?

Thanks for your help getting the CVS build functioning,

Paul