mah/R build error

lveax lveax.m at gmail.com
Sat Dec 30 08:02:30 PST 2006


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?

thank you.


More information about the freebsd-ports mailing list