On 02/16/2011 07:46 AM, Leo Butler wrote:
>
> On Tue, 15 Feb 2011, Paul Bowyer wrote:
>
> < Leo:
> <
> < I've been following the thread "[Maxima] build-index, cl-ppcre and github" and
> < I would like to experiment a little.
> <
> < You mentioned in one of your posts that you built GCL from HEAD (which I
> < assumed to mean that you used 'git') and I wonder if you would provide a brief
> < tutorial on the steps necessary to use 'git' to retrieve GCL? I have already
> < done this successfully using CVS to retrieve gcl-2.6.8pre, but I would like to
> < know how to achieve it using 'git'.
>
> Hi Paul,
> I build gcl from HEAD on the savannah cvs repository. No need for git,
> although you can use the git cvsimport command to clone the cvs repo as
> a git repo, and you can even pull updates from the cvs repo into your
> git clone, provided you don't fiddle with the branches (i.e. do all your
> hacking on new branches). The manpage explains this better than I can.
>
> <
> < I'm curious to see if I can successfully build maxima from HEAD also (using
> < 'git' and your repository), but I wanted start with GCL first to see if I can
> < do that properly.
>
> If I can help, please do ask.
> Leo
>
Leo:
Apparently you are doing similar to what I have already done for GCL so
there's no advantage in migrating from cvs to git for building GCL.
---------------------------------------------------------------------------------------------------------------------------------------------------------
For those who are having difficulty with GCL builds, I got the following
from Camm Maguire on how to download her recommended version of GCL:
cvs -d :pserver:anonymous at cvs.sv.gnu.org:/sources/gcl co -d gcl-2.6.8pre
-r Version_2_6_8pre gcl
I build RPM files for use with my personal software repository (instead
of uploading to the PCLinuxOS distribution's public repository) so I
also do:
cd gcl-2.6.8pre
make tar
cd ..
cp ngcl-2.6.8-beta.tgz <path to RPM build
area>/src/rpm/SOURCES/gcl-2.6.8.tgz
I would be happy to include my RPM build spec (which I copied and
modified) if anyone wants it, but here are the configure options I use:
%configure2_5x --enable-notify=no --enable-ansi
--enable-emacsdir=%{_datadir}/emacs/site-lisp \
--enable-readline \
--enable-dynsysgmp \
--enable-maxpage=128*1024
After the rpm file is completed and installed, GCL identifies itself as
GCL 2.6.8 and I am able to build maxima-5.23.2 against it without
problems ( I also make RPM files for maxima).
---------------------------------------------------------------------------------------------------------------------------------------------------------
When I have opportunity, I'll try using git to download maxima from your
repository and see if I can build it against my GCL. Do you have
particular process you use for the build?
Paul