Why so many ports have run-dependencies on non-system gcc versions?

Anton Shterenlikht mexas at bristol.ac.uk
Fri May 22 08:47:42 UTC 2009


On Fri, May 22, 2009 at 10:32:58AM +0200, Mel Flynn wrote:
> On Friday 22 May 2009 02:00:29 Yuri wrote:
> > When I tried to delete gcc-4.3.4_20090517 I got this message:
> > pkg_delete: package 'gcc-4.3.4_20090517' is required by these other
> > packages and may not be deinstalled:
> > blas-1.0_3
> > cgnslib-2.5.3_1
> > fftw3-3.2
> > fftw3-float-3.2_1
> > fr-med-2.3.5
> > getdp-1.2.1_7
> > gmsh-2.3.1
> > lapack-3.2.1
> > libofa-0.9.3_3
> > libsamplerate-0.1.7_1
> > octave-3.0.5_1
> > suitesparse-3.3.0
> 
> Probably only fftw3 requires gcc43 and the rest comes from needing fftw3. As 
> others said, it's not just building, it will need runtime libraries and in the 
> case of fftw3, fortran support.

At least blas and lapack need gcc, by default gcc43, see /usr/ports/Mk/bsd.gcc.mk.
I cannot build gcc43 on alpha-6.4, so I'm trying to switch to gcc44 by
modifying bsd.gcc.mk. Not sure if this will not cause many other problems
with other ports.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list