[ forgive me you get this twice, my brain is almost off for the day ]
Hi,
I have written a shell script which bootstraps _all_ (that is
all the ones that I could identify) the required dependencies for
gEDA/gaf. It also builds gEDA/gaf using the toplevel Makefile.
You can find this script at:
http://geda.seul.org/devel/20050313/buildall.sh
and in CVS.
You can find all the required dependency tarballs at:
http://geda.seul.org/devel/20050313/dependencies/
In order to run this script you need to:
0) Download the buildall.sh script. Make sure it is executable.
1) Download all the tarballs from the dependencies/ directory.
2) Download all the gEDA/gaf tarballs and toplevel Makefile into the same
directory as the above dependencies.
4) Edit the buildall.sh and adjust the INSTALLDIR, MAKE, and GNUMAKE
variables to suite your system. Yes, you need to have GNU make
installed.
5) Run the script: ./buildall.sh or sh buildall.sh
6) The script should complete without any errors.
7) To run the generated binaries you will need to set:
export PATH=$INSTALLDIR/bin:$PATH
export LD_LIBRARY_PATH=$INSTALLDIR/lib:$LD_LIBRARY_PATH
Now, you ask, why did I write this? Mainly for my own curiosity. I wanted
to make sure it was possible to bootstrap all the necessary dependencies
on various older distributions, especially since I dropped support for
gtk+ 1.2.x and I've been nervous about that. The script does require
at least GNU make, a working build environment, and the development files
for X11R6.
I have tested (more or less) this script on RedHat 6.2, RedHat 7.2,
and a minimal FreeBSD 5.3 install. The script builds gtk+ 2.6.3 and
guile 1.6.7 as well all the other necessary software. Currently, there
are 22 dependency tarballs required to build gEDA/gaf.
If anything, this script shows the order in which the various software
needs to be built. If anybody tries the script and finds I'm missing a
dependency, please let me know. I don't really envision people actually
using this script for anything other than seeing what is required to
build gEDA/gaf on an older OS or on OS which doesn't have gtk+ 2.6.x.
I still highly recommend people use Stuart's CD installer.
Stuart, maybe the knowledge contained within this script will be useful
for the gEDA Suite installer. I will talk to you about this later.
-Ales