Re: [R] Error to install fMultivar package

2006-12-14 Thread gsmatos1

 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@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@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. 
 
-- 


__
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] Error to install fMultivar package

2006-12-13 Thread Scionforbai
Just a few tip, I don't know very much about ubuntu. Relevant is:

 /usr/bin/ld: cannot find -lblas-3

It means, it doesn't find the library blas-3 (libblas-3). Maybe they
are installed on your system but in a non-standard dir. Look around
(locate blas, if updatedb is set on your system); if you find them,
a symlink could fix the issue; if not, maybe you need to install atlas
or the atlas-dev, something like:

http://packages.ubuntulinux.org/dapper/devel/atlas3-sse2-dev

(sorry, I don't know if dapper == 6.06, but I don't think it can vary so much)
Just give a try, and use apt to download all the required libs.


Try also to add dependencies=TRUE to install.packages().

Does it help?

Scionforbai

__
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] Error to install fMultivar package

2006-12-13 Thread Dirk Eddelbuettel
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@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@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.