[R] Problems installing quantreg

Douglas Bates bates at stat.wisc.edu
Sat Feb 19 16:23:53 CET 2005


Jean Eid wrote:
> 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'

Hmm.  Perhaps we should take this off-list or to the newly created 
R-SIG-Debian list.

Could you do a quick check of

  locate libblas-3

and send me (either privately or on the R-SIG-Debian list) the results. 
  The output should include /etc/alternatives/libblas-3.so and 
/usr/lib/libblas-3.so




More information about the R-help mailing list