Skip to content
Prev 512 / 15075 Next

building hmisc/design

Hi there -

I am on a PBG4 1ghz, running R1.61, fink, etc.

I am trying to install Frank Harrell's Design and HMISC libraries for 
R.  I have downloaded to packages to /Users/~me/tmp, and then run sudo 
R CMD INSTALL....

I get the following error/output.

* Installing *source* package 'Design' ...
** libs
/sw/bin/g77   -fno-common  -O3 -funroll-all-loops -c lrmfit.f -o 
lrmfit.o
/sw/bin/g77   -fno-common  -O3 -funroll-all-loops -c mlmats.f -o 
mlmats.o
/sw/bin/g77   -fno-common  -O3 -funroll-all-loops -c robcovf.f -o 
robcovf.o
gcc -bundle -flat_namespace -undefined suppress -L/sw/lib -o Design.so 
lrmfit.o mlmats.o robcov
f.o  -L/sw/lib -L/sw/lib/gcc-lib/powerpc-apple-darwin6.3/3.1 
-L/sw/lib/gcc-lib/powerpc-apple-da
rwin6.3/3.1/../../.. -lreadline -ldl -lncurses -lm -lfrtbegin -lg2c 
-lSystem
ld: can't locate file for: -lreadline
make: *** [Design.so] Error 1
ERROR: compilation failed for package 'Design'


My guess is that I am missing somthing for g77 or gcc to work right?  I 
also get this error running install.packages() for the fields package 
and a few others on cran.

any help is much appreciated.

cheers
andrew