mah/R build error

Rong-En Fan rafan at infor.org
Sat Dec 30 16:04:17 PST 2006


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.


More information about the freebsd-ports mailing list