Hi all,

For the project I am involved in (the news server INN), I use a few packages
that I built in their latest versions.

I reckon it would be useful to share such packages, in case other people also
want to test them.  No need to waste time in compiling the latest versions
of common programs or libraries if somebody else has already done it!

So far, I have put in /opt/cfarm of most servers (when writable) these symlinks:

lrwxrwxrwx  1 iulius iulius   40 2011-08-05 21:15 autoconf-latest -> 
/home/iulius/autobuild/bin/autoconf-2.68
lrwxrwxrwx  1 iulius iulius   42 2011-08-05 21:15 binutils-latest -> 
/home/iulius/autobuild/bin/binutils-2.21.1
lrwxrwxrwx  1 iulius iulius   36 2011-08-05 21:15 bison-latest -> 
/home/iulius/autobuild/bin/bison-2.5
lrwxrwxrwx  1 iulius iulius   47 2011-08-05 21:15 cyrus-sasl-latest -> 
/home/iulius/autobuild/bin/cyrus-sasl-2.1.24rc1
lrwxrwxrwx  1 iulius iulius   36 2011-08-05 21:15 db-latest -> 
/home/iulius/autobuild/bin/db-5.2.28
lrwxrwxrwx  1 iulius iulius   41 2011-08-05 21:15 gcc-core-latest -> 
/home/iulius/autobuild/bin/gcc-core-4.6.1
lrwxrwxrwx  1 iulius iulius   36 2011-08-05 21:15 gmp-latest -> 
/home/iulius/autobuild/bin/gmp-5.0.2
lrwxrwxrwx  1 iulius iulius   37 2011-08-05 21:15 krb5-latest -> 
/home/iulius/autobuild/bin/krb5-1.9.1
lrwxrwxrwx  1 iulius iulius   36 2011-08-05 21:15 m4-latest -> 
/home/iulius/autobuild/bin/m4-1.4.16
lrwxrwxrwx  1 iulius iulius   36 2011-08-05 21:15 make-latest -> 
/home/iulius/autobuild/bin/make-3.82
lrwxrwxrwx  1 iulius iulius   34 2011-08-05 21:15 mpc-latest -> 
/home/iulius/autobuild/bin/mpc-0.9
lrwxrwxrwx  1 iulius iulius   37 2011-08-05 21:15 mpfr-latest -> 
/home/iulius/autobuild/bin/mpfr-3.0.1
lrwxrwxrwx  1 iulius iulius   41 2011-08-05 21:15 openssl-latest -> 
/home/iulius/autobuild/bin/openssl-1.0.0d
lrwxrwxrwx  1 iulius iulius   38 2011-08-05 21:15 perl5-latest -> 
/home/iulius/autobuild/bin/perl-5.14.1
lrwxrwxrwx  1 iulius iulius   39 2011-08-05 21:15 python2-latest -> 
/home/iulius/autobuild/bin/Python-2.7.2
lrwxrwxrwx  1 iulius iulius   39 2011-08-05 21:15 python3-latest -> 
/home/iulius/autobuild/bin/Python-3.2.1
lrwxrwxrwx  1 iulius iulius   37 2011-08-06 13:45 zlib-latest -> 
/home/iulius/autobuild/bin/zlib-1.2.5


This way, if you want to compile your own package with the latest version of 
gcc,
you only need to use:
  export CC=/opt/cfarm/gcc-core-latest/bin/gcc
or something similar in your environment variables.  It will always use the 
latest
gcc version compiled on the server.

The same thing could be done with other packages mentioned above.
You can run /opt/cfarm/autoconf-latest/bin/autoconf (as well as autoheader and 
autoscan).
You can use --with-openssl=/opt/cfarm/openssl-latest
...



Well, I hope it can be helpful to a few people here.

Please note that I use the default values at configure time (except for 
Berkeley DB
for which I need "--enable-dbm" for INN, so that is why I enabled it).  If 
someone
has a special need, I can obviously add the flag to enable a feature.  Just 
tell!



Again, do not hesitate to add symlinks to other packages you have successfully 
built.
The best is of course to follow the new versions and provide the latest build.


If you have any comments or suggestions on improving the gcc-cfarm service,
feel free to speak up.


For your information, the script I use to generate these symlinks is 
"symlink-releases.sh"
in the download area:  http://download.gna.org/gcc-cfarm/
It allows to create/update the symlink (of course if the existing one, if any, 
belongs
to the user who runs the script).


Have a nice week-end,

-- 
Julien ÉLIE

« Quand tu auras lu ces lignes, le papyrus s'autodétruira. »
  (Astérix)

_______________________________________________
Gcc-cfarm-users mailing list
Gcc-cfarm-users@gna.org
https://mail.gna.org/listinfo/gcc-cfarm-users

Reply via email to