[R] Error to install fMultivar package

Dirk Eddelbuettel edd at debian.org
Wed Dec 13 17:18:04 CET 2006


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") 
> Warning in install.packages("fMultivar") : argument 'lib' is missing: using 
> /usr /local/lib/R/site-library 
> --- Please select a CRAN mirror for use in this session --- 
> Loading Tcl/Tk interface ... done 
> 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 at 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



More information about the R-help mailing list