Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2008 08:00:30 +0900
From:      dikshie <dikshie@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   update R from 2.2.0 to 2.6.0 always fail
Message-ID:  <910e60e80801041500x5295cde3sfa48e87f977baf48@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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'
*** Error code 1

Stop in /usr/ports/math/R/work/R-2.6.0/src/main.
*** Error code 1

Stop in /usr/ports/math/R/work/R-2.6.0/src/main.
*** Error code 1

Stop in /usr/ports/math/R/work/R-2.6.0/src.
*** Error code 1

Stop in /usr/ports/math/R/work/R-2.6.0.
*** Error code 1

Stop in /usr/ports/math/R.
*** Error code 1

Stop in /usr/ports/math/R.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.23978.0 en
v UPGRADE_TOOL=portupgrade UPGRADE_PORT=R-2.2.1 UPGRADE_PORT_VER=2.2.1 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! math/R (R-2.2.1)      (linker error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


any hints ?


regards,

-- 
-dikshie-



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