Re: [R] Problem installing tseries package
Thanks, you solved it. For posterity, here's the extra info: R Session.info(): R version 2.4.1 (2006-12-18) i686-redhat-linux-gnu locale:C attached base packages: [1] stats graphics grDevices utils datasets methods [7] base and #uname -a Linux stikir.com 2.6.9-023stab043.1-smp #1 SMP Mon Mar 5 16:35:19 MSK 2007 x86_64 x86_64 x86_64 GNU/Linux So, yes, it was strange that R.i386 was installed. I removed both and reinstalled R.x86_64 (2.5.1) using yum. Now tseries seems to have installed sucessfully, although it still threw many warnings. Thanks again, Mike On 7/26/07, Prof Brian Ripley [EMAIL PROTECTED] wrote: On Thu, 26 Jul 2007, Michael Cassin wrote: 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? Please read the posting guide and provide the information you were asked for: only then we may be able to help you. You seem to have a system which installed R in /usr/lib/R but has x86_64 components on it. So what architecture is it that you are trying to run? My guess is that you installed a i386 RPM on a x86_64 OS. That will install and R will run *but* you will not be able to use it to install packages. If you installed the i386 RPM after the x86_64 one, it will have overwritten some crucial files including /usr/bin/R. It is possible to have i386 and x86_64 R coexisting on x86_64 Linux, but not by installing RPMs for different architectures. 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 20GO 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
[R] Problem installing tseries package
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 20GO 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.fc6extras Matched from: /usr/lib64/R/lib/libRblas.so libRblas.so()(64bit) R.x86_64 2.5.1-2.fc6extras 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.fc6installed Matched from: /usr/lib64/R/lib/libRblas.so libRblas.so()(64bit) Regards, Mike [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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.
Re: [R] Problem installing tseries package
On Thu, 26 Jul 2007, Michael Cassin wrote: 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? Please read the posting guide and provide the information you were asked for: only then we may be able to help you. You seem to have a system which installed R in /usr/lib/R but has x86_64 components on it. So what architecture is it that you are trying to run? My guess is that you installed a i386 RPM on a x86_64 OS. That will install and R will run *but* you will not be able to use it to install packages. If you installed the i386 RPM after the x86_64 one, it will have overwritten some crucial files including /usr/bin/R. It is possible to have i386 and x86_64 R coexisting on x86_64 Linux, but not by installing RPMs for different architectures. 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 20GO 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.fc6extras Matched from: /usr/lib64/R/lib/libRblas.so libRblas.so()(64bit) R.x86_64 2.5.1-2.fc6extras 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.fc6installed Matched from: /usr/lib64/R/lib/libRblas.so libRblas.so()(64bit) Regards,