Hi,
I'm running R 2.4.1 on Fedora Core 6 and am unable to install the tseries
package. I've resolved a few problems getting to this point, by running a
yum update, installing the gcc-gfortran dependency, but now I'm stuck.
Could someone please point me in the right direction?
========R install.packages output =======
==================================
>install.packages("tseries")
trying URL '
http://www.sourcekeg.co.uk/cran/src/contrib/tseries_0.10-11.tar.gz'
Content type 'application/x-tar' length 182043 bytes
opened URL
==================================================
downloaded 177Kb
* Installing *source* package 'tseries' ...
** libs
gcc -I/usr/lib/R/include -I/usr/lib/R/include -I/usr/local/include
-fpic -O3 -g -std=gnu99 -c arma.c -o arma.o
gcc -I/usr/lib/R/include -I/usr/lib/R/include -I/usr/local/include
-fpic -O3 -g -std=gnu99 -c bdstest.c -o bdstest.o
gcc -I/usr/lib/R/include -I/usr/lib/R/include -I/usr/local/include
-fpic -O3 -g -std=gnu99 -c boot.c -o boot.o
gfortran -fpic -O2 -g -c dsumsl.f -o dsumsl.o
In file dsumsl.f:450
IF (IV(1) - 2) 30, 40, 50
1
Warning: Obsolete: arithmetic IF statement at (1)
In file dsumsl.f:3702
10 ASSIGN 30 TO NEXT
1
Warning: Obsolete: ASSIGN statement at (1)
In file dsumsl.f:3707
20 GO TO NEXT,(30, 50, 70, 110)
1
Warning: Obsolete: Assigned GOTO statement at (1)
In file dsumsl.f:3709
ASSIGN 50 TO NEXT
1
Warning: Obsolete: ASSIGN statement at (1)
In file dsumsl.f:3718
ASSIGN 70 TO NEXT
1
Warning: Obsolete: ASSIGN statement at (1)
In file dsumsl.f:3724
ASSIGN 110 TO NEXT
1
Warning: Obsolete: ASSIGN statement at (1)
In file dsumsl.f:4552
IF (IV(1) - 2) 999, 30, 70
1
Warning: Obsolete: arithmetic IF statement at (1)
In file dsumsl.f:4714
IF (IRC) 140, 100, 210
1
Warning: Obsolete: arithmetic IF statement at (1)
gcc -I/usr/lib/R/include -I/usr/lib/R/include -I/usr/local/include
-fpic -O3 -g -std=gnu99 -c garch.c -o garch.o
gcc -I/usr/lib/R/include -I/usr/lib/R/include -I/usr/local/include
-fpic -O3 -g -std=gnu99 -c ppsum.c -o ppsum.o
gcc -I/usr/lib/R/include -I/usr/lib/R/include -I/usr/local/include
-fpic -O3 -g -std=gnu99 -c tsutils.c -o tsutils.o
gcc -shared -Bdirect,--hash-stype=both,-Wl,-O1 -o tseries.so arma.o
bdstest.o boot.o dsumsl.o garch.o ppsum.o tsutils.o -L/usr/lib/R/lib -lRblas
-lgfortran -lm -lgcc_s -lgfortran -lm -lgcc_s -L/usr/lib/R/lib -lR
/usr/bin/ld: skipping incompatible /usr/lib/R/lib/libRblas.so when searching
for -lRblas
/usr/bin/ld: skipping incompatible /usr/lib/R/lib/libRblas.so when searching
for -lRblas
/usr/bin/ld: cannot find -lRblas
collect2: ld returned 1 exit status
make: *** [tseries.so] Error 1
ERROR: compilation failed for package 'tseries'
** Removing '/usr/lib/R/library/tseries'
=============================================
=============================================
I presume the priority is addressing the error: "/usr/bin/ld: cannot find
-lRblas"
I have the libRblas.so file with R 2.4. Do I need to upgrade to R 2.5 - In
which case I'll be asking how to fix the problems I'm having doing that ;)
[~]# yum provides libRblas.so
<snip>
R.x86_64 2.5.1-2.fc6 extras
Matched from:
/usr/lib64/R/lib/libRblas.so
libRblas.so()(64bit)
R.x86_64 2.5.1-2.fc6 extras
Matched from:
/usr/lib64/R/lib/libRblas.so
libRblas.so()(64bit)
R.i386 2:2.4.1-1.fc6 installed
Matched from:
/usr/lib/R/lib/libRblas.so
libRblas.so
R.x86_64 2.4.1-4.fc6 installed
Matched from:
/usr/lib64/R/lib/libRblas.so
libRblas.so()(64bit)
Regards,
Mike
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.