[R] Problems installing quantreg

Jean Eid jeaneid at chass.utoronto.ca
Sat Feb 19 15:19:17 CET 2005


I have the same problem as well. I installed atalas3-sse2 and still hasd
the same problem. Here's the log of messages
* Installing *source* package 'quantreg' ...
** libs
g77   -fPIC  -g -O2 -c akj.f -o akj.o
g77   -fPIC  -g -O2 -c boot.f -o boot.o
g77   -fPIC  -g -O2 -c boundc.f -o boundc.o
g77   -fPIC  -g -O2 -c bound.f -o bound.o
g77   -fPIC  -g -O2 -c chlfct.f -o chlfct.o
g77   -fPIC  -g -O2 -c cholesky.f -o cholesky.o
g77   -fPIC  -g -O2 -c extract.f -o extract.o
gcc -I/usr/lib/R/include     -fPIC  -g -O2 -c mcmb.c -o mcmb.o
g77   -fPIC  -g -O2 -c penalty.f -o penalty.o
g77   -fPIC  -g -O2 -c rls.f -o rls.o
g77   -fPIC  -g -O2 -c rq1.f -o rq1.o
g77   -fPIC  -g -O2 -c rqbr.f -o rqbr.o
rqbr.f: In subroutine `rqbr':
rqbr.f:418: warning:
         go to 60
               1
rqbr.f:547: (continued):
   60    idxcf = idxcf+1
   2
Reference to label at (1) is outside block containing definition at (2)
rqbr.f:405: warning:
         go to 70
               1
rqbr.f:551: (continued):
   70    if(lup)then
   2
Reference to label at (1) is outside block containing definition at (2)
g77   -fPIC  -g -O2 -c rqfnb.f -o rqfnb.o
g77   -fPIC  -g -O2 -c rqfnc.f -o rqfnc.o
g77   -fPIC  -g -O2 -c rqfn.f -o rqfn.o
g77   -fPIC  -g -O2 -c sparskit2.f -o sparskit2.o
g77   -fPIC  -g -O2 -c srqfnc.f -o srqfnc.o
g77   -fPIC  -g -O2 -c srqfn.f -o srqfn.o
g77   -fPIC  -g -O2 -c srtpai.f -o srtpai.o
g77   -fPIC  -g -O2 -c xlapack.f -o xlapack.o
gcc -shared  -o quantreg.so akj.o boot.o boundc.o bound.o chlfct.o
cholesky.o extract.o mcmb.o penalty.o rls.o rq1.o rqbr.o rqfnb.o rqfnc.o
rqfn.o sparskit2.o srqfnc.o srqfn.o srtpai.o xlapack.o -lblas-3
-L/usr/lib/gcc-lib/i486-linux/3.3.5
-L/usr/lib/gcc-lib/i486-linux/3.3.5/../../.. -lfrtbegin -lg2c -lm -lgcc_s
-L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lblas-3
collect2: ld returned 1 exit status
make: *** [quantreg.so] Error 1
ERROR: compilation failed for package 'quantreg'
** Removing '/usr/local/lib/R/site-library/quantreg'
** Restoring previous '/usr/local/lib/R/site-library/quantreg'




On Sat, 19 Feb 2005, Douglas Bates wrote:

> mark engle wrote:
> > Hi All,
> >  I'm trying to install the quantreg library on my MEPIS box (debian-based
> > linux).  When I try >install.packages("quantreg") it fails to loads and
> > errors with: /usr/bin/ld: cannot find -lblas-3.  I tried installing a ton of
> > packages to fix the missing part but the only thing I manage to do it cause
> > problems with another shared library and had to re-install a couple of
> > packages to even get R to run again (It's pretty late here and I'm just too
> > tired to remember all the packages I messed with) .
> >
> > As a work around I tried downloading an .rpm for the package and converting it
> > to a .deb using alien.  I then installed the .deb through kpackage.  It
> > installed without any complaints and I can run the library command with
> > quantreg.  However when I try to run a quantreg command (in this case, rq) at
> > the R prompt, I get: "Error: Object "rq" not found".  This suggests to me
> > that the package hasn't really installed itself or isn't working properly.
> >
> > Does anyone have any ideas?  I'd really like to be able to use this library
> > with R.  In fact at the moment R doesn't do me much good without it.
> > Thanks.
>
> How was your R or r-base-core installed?  If it came from one of Dirk's
> Debian packages it should already have a dependency on one of the atlas3
> packages (either atlas3-base or atlas3-sse or atlas3-sse2 or
> atlas3-3dnow) that provides a blas-3 library.
>
> I would suggest installing one of the atlas3 packages (sse2 for recent
> Pentium or 3dnow for a recent Athlon chip).
>
> Although the arrangements with the atlas3 packages are complex they
> provide a great performance boost on some linear algebra operations with
> large matrices.
>
> ______________________________________________
> 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
>




More information about the R-help mailing list