[R-SIG-Mac] gfortran, tclck and /usr/local

Simon Urbanek simon.urbanek at r-project.org
Mon Jul 11 20:11:53 CEST 2011


On Jul 11, 2011, at 12:36 PM, Federico Calboli wrote:

> 
> On 11 Jul 2011, at 17:27, Simon Urbanek wrote:
> 
>> 
>> On Jul 11, 2011, at 12:05 PM, Federico Calboli wrote:
>> 
>>> Hi,
>>> 
>>> can I ask if anyone can tell me which of these files belongs to the Gfortran and tcltk R Mac tools instalation please:
>>> 
>> 
>> I suppose you mean GNU Fortran - but which one? The recent ones live along Xcode so the answer would be none. If you have the older, separate Fortran then it has an uninstaller script that lists all files - it should be in /usr/local/bin/gfortran-uninstall or you can consult pkgutils (see below).
> 
> I mean this one:
> 
> http://mirrors.dotsrc.org/cran/bin/macosx/tools/
> 
> Is this still needed or does the XCode fortran completely replace it?
> 
>> But in either case, you can check installed files very easily using pkgutil - it is very powerful and can tell you which files are installed by whom and vice versa.
>> For example:
>> 
>> Fino:~$ pkgutil --file-info /usr/local/lib/tclConfig.sh 
>> volume: /
>> path: /usr/local/lib/tclConfig.sh
> 
> $ pkgutil --file-info /usr/local/lib/tclConfig.sh 
> volume: /
> path: /usr/local/lib/tclConfig.sh
> 
> is all I get, possibly because my Mac is a 'time machine' installation of an older machine. Similarly:
> 
> $ pkgutil --files org.r-project.other.tcltk.x11
> No receipt for 'org.r-project.other.tcltk.x11' found at '/'.
> 
> $ pkgutil --files org.r-project.other.tcltk.x11
> No receipt for 'org.r-project.other.tcltk.x11' found at '/'.
> 

It means that none of them were installed the usual way (via Apple Installer).


> Would it be reasonable to 
> 
> 1) uninstall gfortran
> 2) rm -rf /usr/local/lib
> 3) reinstall from http://mirrors.dotsrc.org/cran/bin/macosx/tools/ both gfortran (if needed) and tcltk and see what happens?
> 

Sure, if you have no additional stuff in /usr/local, you can always blow it away.

Cheers,
Simon



More information about the R-SIG-Mac mailing list