Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2009 19:50:45 -0800 (PST)
From:      bf <bf2006a@yahoo.com>
To:        Philipp Ost <pj@smo.de>, Glen Barber <glen.j.barber@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: math/R fails to build
Message-ID:  <365052.26421.qm@web39107.mail.mud.yahoo.com>
In-Reply-To: <4ad871310901131703x7c7753e9m5c399411c5576a01@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- On Tue, 1/13/09, Glen Barber <glen.j.barber@gmail.com> wrote:

> From: Glen Barber <glen.j.barber@gmail.com>
> Subject: Re: math/R fails to build
> To: "Philipp Ost" <pj@smo.de>
> Cc: bf2006a@yahoo.com, ports@freebsd.org
> Date: Tuesday, January 13, 2009, 8:03 PM
> On Tue, Jan 13, 2009 at 5:10 PM, Philipp Ost
> <pj@smo.de> wrote:
> > Hi,
> >
> > math/R fails to build:
> > # make
> > [...]
> > cc -std=gnu99      -I. -I../../src/include
> -I../../src/include
> > -I/usr/local/include -DHAVE_CONFIG_H  -fpic  -O2
> -fno-strict-aliasing -pipe
> > -march=athlon-xp -c Rmain.c -o Rmain.o
> > cc -std=gnu99 -export-dynamic -L/usr/local/lib -o
> R.bin Rmain.o -L../../lib
> > -lR
> > /usr/local/lib/libblas.so.2: undefined reference to
> > `_gfortran_runtime_error_at'
> > *** Error code 1
> >
> > Stop in /usr/ports/math/R/work/R-2.8.1/src/main.
> > *** Error code 1
> >
> > Stop in /usr/ports/math/R/work/R-2.8.1/src/main.
> > *** Error code 1
> >
> > Stop in /usr/ports/math/R/work/R-2.8.1/src.
> > *** Error code 1
> >
> > Stop in /usr/ports/math/R/work/R-2.8.1.
> > *** Error code 1
> >
> > Stop in /usr/ports/math/R.
> > *** Error code 1
> >
> > Stop in /usr/ports/math/R.
> > #
> >
> > I run RELENG_7 as of 23 Dec. 2008 (on i386).
> >
> > Any hints? (Apart from rebuilding blas, which I did.
> It didn't solve the
> > problem)
> >
> 
> Is it a safe assumption that you have recently updated your
> ports tree?
> 
> -- 
> Glen Barber

There were recently some changes to
the organization of the Fortran-related
ports on FreeBSD.  The Fortran compiler
was added to the list of runtime
dependencies, as it should have been,
and the default Fortran compiler was
changed from gcc 4.2.x to 4.3.x.  As
Glen suggested, your problem may be
related.  Try updating your ports tree,
and then rebuilding blas, lapack,
and R, and see if it works.  If you
haven't done so after the changes,
you may also have to fetch and build
gcc 4.3.x, which may take some time
and disk space, so be prepared to keep
half an eye on your build.  Let me know
if that doesn't solve your problem.

Regards,
           b.


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?365052.26421.qm>