[R-sig-Geo] installing spdep

Edzer Pebesma edzer.pebesma at uni-muenster.de
Wed Jun 9 21:36:02 CEST 2010


package liblapack-dev might need to be installed.

On 06/09/2010 09:32 PM, José Miguel Barrios wrote:
> Hello,
> 
> I'm using Kubuntu and R 2.10; I want to install spdep but I get the
> following problem.  Perhaps some of you have faced and solved this problem
> before; could you give any suggestion?  Thank you in advance.
> Miguel.
> 
> installing *source* package ‘spdep’ ...
> ** libs
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c card.c -o card.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c dfs_ncomp.c -o
> dfs_ncomp.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c dnn.c -o dnn.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c gabriel.c -o
> gabriel.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c gearyw.c -o
> gearyw.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c gsymtest.c -o
> gsymtest.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c init.c -o init.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c insiders.c -o
> insiders.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c jc.c -o jc.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c knn.c -o knn.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c lagw.c -o lagw.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c listw2Matrix.c
> -o listw2Matrix.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c listw2sn.c -o
> listw2sn.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c ml_sse.c -o
> ml_sse.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c nbdists.c -o
> nbdists.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c polypoly.c -o
> polypoly.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c relative.c -o
> relative.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c skater.c -o
> skater.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c soigraph.c -o
> soigraph.o
> gcc -std=gnu99 -I/usr/share/R/include      -fpic  -g -O2 -c symtest.c -o
> symtest.o
> gcc -std=gnu99 -shared -o spdep.so card.o dfs_ncomp.o dnn.o gabriel.o
> gearyw.o gsymtest.o init.o insiders.o jc.o knn.o lagw.o listw2Matrix.o
> listw2sn.o ml_sse.o nbdists.o polypoly.o relative.o skater.o soigraph.o
> symtest.o -llapack -lblas -lgfortran -lm -L/usr/lib/R/lib -lR
> /usr/bin/ld: cannot find -llapack
> collect2: ld returned 1 exit status
> make: *** [spdep.so] Error 1
> ERROR: compilation failed for package ‘spdep’
> * removing ‘/home/jm/R/i486-pc-linux-gnu-library/2.10/spdep’
> 
> The downloaded packages are in
>         ‘/tmp/RtmpD2fTpS/downloaded_packages’
> Warning message:
> In install.packages("spdep") :
>   installation of package 'spdep' had non-zero exit status
> 
> 	[[alternative HTML version deleted]]
> 
> 
> 
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list