Skip to content

makeconf issue on R-devel 2006-03-12 r37524

2 messages · Roger Koenker

#
I've just installed R-devel   Version 2.3.0 Under development  
(unstable) (2006-03-12 r37524)
on a G5 and things went smoothly despite my gfortran configuration,  
(that is ./configure, make,
make install was fine), but now trying to install  a source package I  
get:

yzzy: R CMD check kuantile
* checking for working latex ... OK
* using log directory '/Users/roger/Projects/kuantile/kuantile.Rcheck'
* using Version 2.3.0 Under development (unstable) (2006-03-12 r37524)
* checking for file 'kuantile/DESCRIPTION' ... OK
* this is package 'kuantile' version '1.00'
* checking package dependencies ... OK
* checking if this is a source package ... WARNING
Subdirectory 'kuantile/src' contains object files.
* checking whether package 'kuantile' can be installed ... ERROR
Installation failed.
See '/Users/roger/Projects/kuantile/kuantile.Rcheck/00install.out'  
for details.

yzzy: more /Users/roger/Projects/kuantile/kuantile.Rcheck/00install.out
* Installing *source* package 'kuantile' ...
** libs
** arch - Frameworks
/Library/Frameworks/R.framework/Resources/share/make/shlib.mk:3: / 
Library/Frameworks/R.fra
mework/Resources/etc/Frameworks/Makeconf: No such file or directory
make: *** No rule to make target `/Library/Frameworks/R.framework/ 
Resources/etc/Frameworks
/Makeconf'.  Stop.
chmod: /Users/roger/Projects/kuantile/kuantile.Rcheck/kuantile/libs/ 
Frameworks/*: No such
file or directory
gfortran   -fPIC -fno-common  -g -O2 -c dsel05.f -o dsel05.o
gfortran   -fPIC -fno-common  -g -O2 -c kuantile.f -o kuantile.o
gcc -flat_namespace -bundle -undefined suppress -L/sw/lib -L/usr/ 
local/lib -o kuantile.so
dsel05.o kuantile.o  -L/usr/local/lib/gcc/powerpc-apple-darwin8/4.0.0  
-L/usr/local/lib/gcc
-lgfortran -lgcc_s -lSystemStubs -lmx -lSystem -F/Library/Frameworks/ 
R.framework/.. -fram
ework R
ERROR: compilation failed for package 'kuantile'
** Removing '/Users/roger/Projects/kuantile/kuantile.Rcheck/kuantile'

isn't there something fishy with the specification of the Makeconf  
file in ..../etc/Frameworks???

Roger


url:    www.econ.uiuc.edu/~roger            Roger Koenker
email    rkoenker at uiuc.edu            Department of Economics
vox:     217-333-4558                University of Illinois
fax:       217-244-6678                Champaign, IL 61820
#
I sent the message below to r-sig-mac yesterday, but having no reply
I decided to explore a bit myself and found that editing:

/Library/Frameworks/R.framework/Versions/2.3/Resources/share/make/ 
shlib.mk

yzzy: diff shlib.mk shlib.mk~
3c3
< include $(R_HOME)/etc/Makeconf
---
 > include $(R_HOME)/etc${R_ARCH}/Makeconf

restored the functionality of R CMD INSTALL.

Is this a known issue?


url:    www.econ.uiuc.edu/~roger            Roger Koenker
email    rkoenker at uiuc.edu            Department of Economics
vox:     217-333-4558                University of Illinois
fax:       217-244-6678                Champaign, IL 61820


Begin forwarded message: