From rhurlin at gwdg.de  Fri Mar 20 22:19:02 2009
From: rhurlin at gwdg.de (Rainer Hurling)
Date: Fri, 20 Mar 2009 22:19:02 +0100
Subject: [Rd] [SOLVED] Re: R does not compile any more on FreeBSD 8.0-CURRENT
In-Reply-To: <49BFBDAF.304@gwdg.de>
References: <49BFBDAF.304@gwdg.de>
Message-ID: <49C40846.3090702@gwdg.de>

Todays (03/20/2009) update of FreeBSD 8.0-CURRENT solved the problem. 
The two pathes are resolving again. So building and installing R on 
CURRENT works again :-)

Thanks for your patience,
Rainer


On 17.03.2009 16:11 (UTC+1), Rainer Hurling wrote:
> On a recent FreeBSD 8.0-CURRENT (i386) building R (any version) breaks 
> with the following messages:
> 
> ----------------------------------------------------------------------
> [...snip...]
> gcc -std=gnu99 -I. -I../../src/include -I../../src/include 
> -I/usr/local/include -DHAVE_CONFIG_H   -g -O2 -c wilcox.c -o wilcox.o
> gcc -std=gnu99 -I. -I../../src/include -I../../src/include 
> -I/usr/local/include -DHAVE_CONFIG_H   -g -O2 -c signrank.c -o signrank.o
> rm -rf libnmath.a
> ar cr libnmath.a mlutils.o d1mach.o i1mach.o fmax2.o fmin2.o fprec.o 
> fround.o ftrunc.o sign.o fsign.o imax2.o imin2.o chebyshev.o log1p.o 
> expm1.o lgammacor.o gammalims.o stirlerr.o bd0.o gamma.o lgamma.o 
> gamma_cody.o beta.o lbeta.o polygamma.o bessel_i.o bessel_j.o bessel_k.o
> bessel_y.o choose.o snorm.o sexp.o dgamma.o pgamma.o qgamma.o rgamma.o
> dbeta.o pbeta.o qbeta.o rbeta.o dunif.o punif.o qunif.o runif.o dnorm.o 
> pnorm.o qnorm.o rnorm.o dlnorm.o plnorm.o qlnorm.o rlnorm.o df.o pf.o
> qf.o rf.o dnf.o dt.o pt.o qt.o rt.o dnt.o dchisq.o pchisq.o qchisq.o
> rchisq.o rnchisq.o dbinom.o pbinom.o qbinom.o rbinom.o rmultinom.o
> dcauchy.o pcauchy.o qcauchy.o rcauchy.o dexp.o pexp.o qexp.o rexp.o 
> dgeom.o pgeom.o qgeom.o rgeom.o dhyper.o phyper.o qhyper.o rhyper.o
> dnbinom.o pnbinom.o qnbinom.o rnbinom.o dpois.o ppois.o qpois.o rpois.o 
> dweibull.o pweibull.o qweibull.o rweibull.o dlogis.o plogis.o qlogis.o 
> rlogis.o dnchisq.o pnchisq.o qnchisq.o dnbeta.o pnbeta.o qnbeta.o pnf.o 
> pnt.o qnf.o qnt.o ptukey.o qtukey.o toms708.o wilcox.o signrank.o
> ranlib libnmath.a
> config.status: creating src/unix/Makefile
> make: /usr/local/R-devel/srcunix: No such file or directory
> *** Error code 2
> 
> Stop in /usr/local/R-devel/src/unix.
> *** Error code 1
> 
> Stop in /usr/local/R-devel/src.
> *** Error code 1
> 
> Stop in /usr/local/R-devel.
> ----------------------------------------------------------------------
> 
> The path /usr/local/R-devel/srcunix does not exist but .../src/unix/ 
> does. As a workaround I am able to do
> 
> cd src/unix
> make
> cd ../..
> make
> 
> A second break with the same error does occur at 
> /usr/local/R-devel/srcmain. Again this workaround works
> 
> cd src/main
> make
> cd ../..
> make
> 
> Now the compilation finished without another break. What could be the 
> reason for this 'path break'?  So long it seems that this error on 
> FreeBSD 8.0-CURRENT only appears with R and no other third party software.
> 
> Potentially this is an error within latest FreeBSD code (?) and I have 
> to ask on the FreeBSD mailing list. But before I wanted to ask on 
> r-devel at . Perhaps someone here has an idea? Any hints are very welcome.
> 
> Thanks in advance,
> Rainer Hurling



[Rd] [SOLVED] Re: R does not compile any more on FreeBSD 8.0-CURRENT
Rainer Hurling