Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2006 07:35:58 +0800
From:      Rong-En Fan <rafan@infor.org>
To:        lveax <lveax.m@gmail.com>
Cc:        eric+fbports@vangyzen.net, freebsd-ports@freebsd.org
Subject:   Re: mah/R build error
Message-ID:  <20061230233558.GA92795@svm.csie.ntu.edu.tw>
In-Reply-To: <576dcbc20612300733t1c9da5dk16c7918a0dd10257@mail.gmail.com>
References:  <576dcbc20612300733t1c9da5dk16c7918a0dd10257@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 30, 2006 at 11:33:11PM +0800, lveax wrote:
> hi.
> 
> i got an error when i upgrade math/R to 2.4.0
> 
> ---
> mkdir /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/bin/exec
> mkdir /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/lib
> cc      -I. -I../../src/include -I../../src/include
> -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -fpic  -O2
> -fno-str
> ict-aliasing -pipe -c Rmain.c -o Rmain.o
> cc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../../lib -lR
> Rmain.o(.text+0x19): In function `main':
> : undefined reference to `R_running_as_main_program'
> *** Error code 1
> 
> Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/src/main.
> *** Error code 1
> 
> Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/src/main.
> *** Error code 1
> 
> Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/src.
> *** Error code 1
> 
> Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0.
> *** Error code 1
> 
> Stop in /usr/ports/math/R.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade.43565.0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=R-2.2.1
> UPGRADE_PORT_VER=2.2.1 make
> ** Fix the problem and try again.
> ---
> 
> could you help to fix this?

Remove R-2.2.1 and install it again. Its a problem with R < 2.3.

Regards,
Rong-En Fan

> 
> thank you.



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