Installation Question! (A suggestion)
Angelo Graziosi
Angelo.Graziosi@roma1.infn.it
Wed Aug 8 06:47:00 GMT 2007
On Tue, 7 Aug 2007, FX Coudert wrote:
> > (sudo) tar -xjvf gfortran-sys_pakage.tar.bz2 -C /
>
> That will mess with the system compiler, and interfere with package
> management. People who want to try the latest probably want to have
> it aside, for which the current packaging is great, I think
No. It does not interfere. Re-read the mail. I wrote
prefix_dir="/usr/local/gfortran"
so that the above tar command installs GFortran in /usr/local/gfortran!
This happens, for example, with the Cygwin package:
http://gcc.gnu.org/wiki/GFortranBinariesCygwin and also with my build on
Linux.
After the installation one should create:
ln -sf /usr/local/gfortran/bin/gfortran.exe /usr/local/bin/gfc
ln -s /usr/local/gfortran/bin/gfortran.exe /usr/local/bin/gfortran
Cheers,
Angelo.
> If we were to make system packages, we should be building RPMs
> or .deb, but that is for stable compilers, provided by vendors.
>
> > (why still .gz?)
>
> Because it's more common that bz2, and I'm not sure that there is a
> lot to gain by bzip2'ing...
>
> FX
>
>
More information about the Fortran
mailing list