-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 3:14 AM To: Francois Maltey Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Axiom-developer] I can't compile the last axiom on a debian.
Tim, See patch committed to Axiom Savannah cvs below. Francois Maltey <[EMAIL PROTECTED]> said: > Hello, > > Last month I try the axiom compiler. > Then my laptop was repaired under warranty, and now I get it back. > > I use the debian testing etch distribution, but I prefer to recompile > axiom from cvs because i make big mistakes with the unstable debian > version and then I must reinstall all the system. > Of course the most reliable method to install Axiom on Debian is just: apt-get install axiom But if you really do want to build Axiom from the cvs sources, there are a couple of other things you will need to do. > So I get axiom from cvs and I type > > ./confugure > export AXIOM=/home/fmy/Fabrique/axiom/mnt/linux > export PATH=$AXIOM/bin:$PATH > make > > The first error seems to be : > ./configure: line 2412: syntax error near unexpected token `(' > and the last ones are at the end of the make log. > > Thanks a lot if you can help me. > Francois, you have found a bug in the configure script of the version of gcl (2.6.7) that is built by Axiom. The bug and a patch from Vadim V. Zhytnikov to correct the problem is described here: http://lists.gnu.org/archive/html/gcl-devel/2006-01/msg00014.html I have just committed this patch to the cvs as savannah, so to get the updated Axiom source you should do this: cd /home/fmy/Fabrique/axiom cvs update This corrects the problem above, but on Debian you will also run into another problem concerning the GCLOPTS that Axiom uses by default. On Debian you must use the 'locbfd' option. To do this edit 'Makefile.pamphlet' vi Makefile.pamphlet and look for 'makefile.linux' then change '<<GCLOPTS>>' to '<<GCLOPTS-LOCBFD>>'. Now you can try the build again: ./configure (set variables) make clean make --------- I have just tried this procedure on my Debian sarge/testing system and it appears to work. Pleae let me know if you have any problems. Regards, Bill Page. _______________________________________________ Axiom-developer mailing list Axiom-developer@nongnu.org http://lists.nongnu.org/mailman/listinfo/axiom-developer