Errors building math/R under RELENG_6...

Sam Lawrance boris at brooknet.com.au
Tue Oct 10 04:26:31 PDT 2006


Stephen Hocking wrote:
> Hi Eric,
>
> I've been having an error for some time building R under 6.2 - it
> errors out as below.
>
> mkdir /src/FreeBSD/ports/math/R/work/R-2.3.1/bin/exec
> mkdir /src/FreeBSD/ports/math/R/work/R-2.3.1/lib
> cc      -I. -I../../src/include -I../../src/include
> -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -fpic  -O2
> -fno-strict-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 /src/FreeBSD/ports/math/R/work/R-2.3.1/src/main.
> *** Error code 1
>
> Stop in /src/FreeBSD/ports/math/R/work/R-2.3.1/src/main.
> *** Error code 1
>
> Stop in /src/FreeBSD/ports/math/R/work/R-2.3.1/src.
> *** Error code 1
>
> Stop in /src/FreeBSD/ports/math/R/work/R-2.3.1.
> *** Error code 1
>
> Stop in /src/FreeBSD/ports/math/R.
>
> Any chance of having a fix comitted anytime soon (looks fairly
> straightforward to sort out).
>

This issue is already known, please see 
http://www.freebsd.org/cgi/query-pr.cgi?pr=96576 for a workaround.

Thanks,
Sam





More information about the freebsd-ports mailing list