Thanks akniss! Great tip! I followed your suggestion and made it -- nearly. I figured out that "gfortran" was not installed and some stuff is supposed to be compiled with it. (That is definitely missing in the Zelig manual.) Anyway, I tried again and now it nearly finishes the install. But I get two errors back and the packages 'gee' and 'mgcv' do not get installed:
Code:
* Installing *source* package 'gee' ...
** libs
gfortran -fpic -g -O2 -c dgedi.f -o dgedi.o
gfortran -fpic -g -O2 -c dgefa.f -o dgefa.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c ugee.c -o ugee.o
gcc -shared -o gee.so dgedi.o dgefa.o ugee.o -lblas-3 -lgfortran -lm -lgcc_s -lgfortran -lm -lgcc_s -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lblas-3
collect2: ld returned 1 exit status
make: *** [gee.so] Error 1
ERROR: compilation failed for package 'gee'
** Removing '/home/marcus/.R/library/gee'
and
Code:
* Installing *source* package 'mgcv' ...
** libs
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c gcv.c -o gcv.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c gdi.c -o gdi.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c init.c -o init.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c magic.c -o magic.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c mat.c -o mat.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c matrix.c -o matrix.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c mgcv.c -o mgcv.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c qp.c -o qp.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2 -std=gnu99 -c tprs.c -o tprs.o
gcc -shared -o mgcv.so gcv.o gdi.o init.o magic.o mat.o matrix.o mgcv.o qp.o tprs.o -L/usr/lib/R/lib -lRlapack -lblas-3 -lgfortran -lm -lgcc_s -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lblas-3
collect2: ld returned 1 exit status
make: *** [mgcv.so] Error 1
ERROR: compilation failed for package 'mgcv'
** Removing '/home/marcus/.R/library/mgcv'
Bookmarks