[R] Error to install fMultivar package

gsmatos1 gsmatos1 at ig.com.br
Thu Dec 14 20:27:08 CET 2006


 Hello, 

I tried the first issue of Dirk and it was all right: 

>This would be quicker: 
> 
> $ sudo apt-get install r-cran-fmulitvar 
> 

(I've already had enabled the Universe repositories in 
/etc/apt/sources.list. ) 

I think it was realy related with some lib and packages dependencies. 

Thank's for all! 
Gilberto. 

Em (10:18:04), Dirk Eddelbuettel escreveu: 
>On Wed, Dec 13, 2006 at 09:34:04AM -0300, gsmatos1 wrote: 
>Content-Description: Mail message body 
>> Hi, 
>> 
>> I tried to install fMultivar package but an error occurs that I could not 
>> understand. 
>> (I've been worked with linux / Ubuntu 6.06 LTS) 
> 
>This would be quicker: 
> 
> $ sudo apt-get install r-cran-fmulitvar 
> 
>(if you enabled the Universe repositories in /etc/apt/sources.list). 
> 
>> > install.packages("fMultivar") 
... 
>> trying URL 
>> 'http://lmq.esalq.usp.br/CRAN/src/contrib/fMultivar_221.10065.tar.gz' 
>> Content type 'application/x-gzip' length 1152747 bytes 
>> opened URL 
>> ================================================== 
>> downloaded 1125Kb 
>> 
>> * Installing *source* package 'fMultivar' ... 
>> ** libs 
>> gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 
>> -std=gnu99 -c 00A-randomF77.c -o 00A-randomF77.o 
>> gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 
>> -std=gnu99 -c 00B-GarchBEKK.c -o 00B-GarchBEKK.o 
>> g77 -fpic -g -O2 -c 42A-1ReggressionModelling.f -o 
>> 42A-1ReggressionModelling.o 
>> g77 -fpic -g -O2 -c 42A-2RegressionModelling.f -o 
>> 42A-2RegressionModelling.o 
>> gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 
>> -std=gnu99 -c 42A-3RegressionModelling.c -o 42A-3RegressionModelling.o 
>> g77 -fpic -g -O2 -c 42B-RegressionTests.f -o 42B-RegressionTests.o 
>> g77 -fpic -g -O2 -c 46A-VectorMatrixAddon.f -o 46A-VectorMatrixAddon.o 
>> gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 
>> -std=gnu99 -c 46B-MissingValues.c -o 46B-MissingValues.og77 -fpic -g 
>-O2 
>> -c 47B-MultivariateDistribution.f -o 47B-MultivariateDistribution.o 
>> gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 
>> -std=gnu99 -c runfunc.c -o runfunc.o 
>> gcc -shared -o fMultivar.so 00A-randomF77.o 00B-GarchBEKK.o 
>> 42A-1ReggressionModelling.o 42A-2RegressionModelling.o 
>> 42A-3RegressionModelling.o 42B-RegressionTests.o 46A-VectorMatrixAddon.o 
>> 46B-MissingValues.o 47B-MultivariateDistribution.o runfunc.o -lblas-3 
>-lg2c 
>> -lm -lgcc_s -L/usr/lib/R/lib -lR 
>> /usr/bin/ld: cannot find -lblas-3 
>> collect2: ld returned 1 exit status 
>> make: *** [fMultivar.so] Error 1 
>> ERROR: compilation failed for package 'fMultivar' 
>> ** Removing '/usr/local/lib/R/site-library/fMultivar' 
>> 
>> The downloaded packages are in 
>> /tmp/RtmpXxDoFd/downloaded_packages 
>> Warning message: 
>> installation of package 'fMultivar' had non-zero exit status in: 
>> install.packages("fMultivar") 
> 
>It is a FAQ for Debian and Ubuntu -- you "forgot" to install 
>r-base-dev which provides a fairly complete development emv. for R on 
>Debian / Ubuntu, so do 
> 
> $ sudo apt-get install r-base-dev 
> 
>Besides, given that there _is_ a source package, you could also use 
>its information on Build-Dependencies: 
> 
> $ sudo apt-get build-dep r-cran-fmultivar 
> 
>Hth, Dirk 
> 
>> > 
>> 
>> Thanks in advance for any help! 
>> Gilberto. 
>> 
>> 
> 
>> ______________________________________________ 
>> R-help em 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. 
> 
>-- 
>Hell, there are no rules here - we're trying to accomplish something. 
> -- Thomas A. Edison 
> 
>______________________________________________ 
>R-help em 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. 
> 
>---------- 




More information about the R-help mailing list