Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2008 22:30:49 +0800
From:      "Rong-en Fan" <grafan@gmail.com>
To:        dikshie <dikshie@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: update R from 2.2.0 to 2.6.0 always fail
Message-ID:  <6eb82e0801050630p4b6ba167vf544ed8597affbe8@mail.gmail.com>
In-Reply-To: <910e60e80801041500x5295cde3sfa48e87f977baf48@mail.gmail.com>
References:  <910e60e80801041500x5295cde3sfa48e87f977baf48@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 5, 2008 7:00 AM, dikshie <dikshie@gmail.com> wrote:
> i try several times to update math/R from 2.2.0 to 2.6.0
> but always fail in this step:
>
> gfortran42  -fpic  -g -O2 -c xxxpr.f -o xxxpr.o
> cc -std=gnu99 -shared -L/usr/local/lib  -o libR.so CConverters.o CommandLineArgs
> .o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o base
> .o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o contex
> t.o cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o dotcode.o dounzip.o d
> struct.o duplicate.o engine.o envir.o errors.o eval.o format.o fourier.o gevents
> .o gram.o gram-ex.o graphics.o identical.o inlined.o internet.o iosupport.o lapa
> ck.o list.o localecharset.o logic.o main.o mapply.o match.o memory.o model.o nam
> es.o objects.o optim.o optimize.o options.o par.o paste.o pcre.o platform.o plot
> .o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o r
> andom.o regex.o registration.o relop.o rlocale.o saveload.o scan.o seq.o seriali
> ze.o size.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o
> subset.o summary.o sysutils.o unique.o util.o version.o vfonts.o xxxpr.o `ls ../
> appl/*.o ../nmath/*.o ../unix/*.o  2>/dev/null|grep -v /ext-` -lblas -L/usr/loca
> l/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3 -L/usr/local/lib/gcc-4.2.3 -lg
> fortran -lm -lgcc_s       /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -
> Wl,-rpath -Wl,/usr/local/lib -lreadline -lpcre -lbz2 -lz -lm -liconv
> mkdir /usr/ports/math/R/work/R-2.6.0/bin/exec
> mkdir /usr/ports/math/R/work/R-2.6.0/lib
> cc -std=gnu99      -I. -I../../src/include -I../../src/include -I/usr/local/incl
> ude -DHAVE_CONFIG_H  -fpic  -O2 -fno-strict-aliasing -pipe -c Rmain.c -o Rmain.o
> cc -std=gnu99 -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../../lib -lR
> Rmain.o(.text+0x5b): In function `main':
> : undefined reference to `R_running_as_main_program'
[...]

This is a known issue of R. Please remove R 2.2 before upgrading.

Regards,
Rong-En Fan
>
> any hints ?
>
>
> regards,
>
> --
> -dikshie-
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



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