[Rd] Fwd: makeconf issue on R-devel 2006-03-12 r37524

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Mar 14 20:31:24 CET 2006


On Tue, 14 Mar 2006, roger koenker wrote:

> 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?

No, and the change will break things which currently work correctly.

Looks like this is something specific to how Macs install under the 
bin/exec directory.  It likely stems from the following line in INSTALL.

      archs=`(cd ${R_HOME}/bin/exec; ls)`

which on other systems will only contain directories for sub-architectures 
or the R or Rgnome executables, since it says

>> ** arch - Frameworks


>
> 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:
>
>> From: roger koenker <rkoenker at uiuc.edu>
>> Date: March 13, 2006 4:46:30 PM CST
>> To: r-sig-mac at stat.math.ethz.ch
>> Subject: makeconf issue on R-devel 2006-03-12 r37524
>>
>> 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
>>
>>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list