[R-SIG-Mac] gfortran, tclck and /usr/local
Simon Urbanek
simon.urbanek at r-project.org
Mon Jul 11 18:27:19 CEST 2011
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).
As for tcltk, this is the list of its files in /usr/local/lib:
Tktable2.9
libtcl8.5.dylib
libtclstub8.5.a
libtk8.5.dylib
libtkstub8.5.a
tcl8
tcl8.5
tclConfig.sh
tk8.5
tkConfig.sh
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
pkgid: org.r-project.other.tcltk.x11
pkg-version: 8.5.5
install-time: 1224629182
uid: 0
gid: 0
mode: 644
Fino:~$ pkgutil --files org.r-project.other.tcltk.x11
usr
usr/local
usr/local/bin
usr/local/bin/tclsh8.5
usr/local/bin/wish8.5
usr/local/include
usr/local/include/tcl.h
usr/local/include/tclDecls.h
usr/local/include/tclPlatDecls.h
usr/local/include/tclTomMath.h
usr/local/include/tclTomMathDecls.h
usr/local/include/tk.h
[...]
Fino:~$ pkgutil --files org.r-project.mac.tools.gfortran
usr
usr/local
usr/local/bin
usr/local/bin/gfortran
usr/local/bin/gfortran-4.0
usr/local/bin/gfortran-4.2
usr/local/bin/gfortran-uninstall
usr/local/bin/i686-apple-darwin8-gfortran-4.2
usr/local/bin/powerpc-apple-darwin8-gfortran-4.2
Cheers,
Simon
> :~$ ls -l /usr/local/lib
> total 205784
> drwxr-xr-x 4 root wheel 136 15 Dec 2009 ImageMagick-6.5.8
> drwxr-xr-x 4 root wheel 136 17 Apr 2010 ImageMagick-6.6.1
> drwxr-xr-x 8 root wheel 272 14 Apr 13:16 Tktable2.9
> drwxr-xr-x 4 root wheel 136 21 Apr 2008 gcc
> -rw-rw-r-- 1 root wheel 736903 24 Feb 2008 libgcc_s.1.dylib
> -rw-rw-r-- 1 root wheel 33144 24 Feb 2008 libgcc_s.10.4.dylib
> -rw-rw-r-- 1 root wheel 33508 24 Feb 2008 libgcc_s.10.5.dylib
> lrwxr-xr-x 1 root wheel 16 14 Apr 13:15 libgcc_s_ppc64.1.dylib -> libgcc_s.1.dylib
> lrwxr-xr-x 1 root wheel 16 14 Apr 13:15 libgcc_s_x86_64.1.dylib -> libgcc_s.1.dylib
> -rwxrwxr-x 1 root wheel 8094839 24 Feb 2008 libgfortran.2.0.0.dylib
> lrwxr-xr-x 1 root wheel 23 14 Apr 13:15 libgfortran.2.dylib -> libgfortran.2.0.0.dylib
> -rw-rw-r-- 1 root wheel 13836364 24 Feb 2008 libgfortran.a
> lrwxr-xr-x 1 root wheel 23 14 Apr 13:15 libgfortran.dylib -> libgfortran.2.0.0.dylib
> -rwxrwxr-x 1 root wheel 779 24 Feb 2008 libgfortran.la
> -rwxr-xr-x 1 root wheel 27914344 4 Feb 2009 libgs.8.64.dylib
> lrwxr-xr-x 1 root wheel 16 18 Mar 2010 libgs.8.dylib -> libgs.8.64.dylib
> lrwxr-xr-x 1 root wheel 31 18 Mar 2010 libgs.dylib -> /usr/local/lib/libgs.8.64.dylib
> -rw-r--r-- 1 root wheel 38619488 29 Sep 2009 libgsl.a
> -rwxr-xr-x 1 root wheel 871 29 Sep 2009 libgsl.la
> -rw-r--r-- 1 root wheel 5569888 29 Sep 2009 libgslcblas.a
> -rwxr-xr-x 1 root wheel 884 29 Sep 2009 libgslcblas.la
> -r-xr-xr-x 1 root wheel 4820229 21 Oct 2008 libtcl8.5.dylib
> -rw-r--r-- 1 root wheel 11072 21 Oct 2008 libtclstub8.5.a
> -rwxr-xr-x 1 root wheel 5602072 21 Oct 2008 libtk8.5.dylib
> -rw-r--r-- 1 root wheel 14304 21 Oct 2008 libtkstub8.5.a
> drwxrwxr-x 3 root staff 102 29 Sep 2009 pkgconfig
> drwxrwxr-x 6 root wheel 204 14 Apr 13:15 ppc64
> drwxr-xr-x 5 root wheel 170 14 Apr 13:16 tcl8
> drwxr-xr-x 18 root wheel 612 14 Apr 13:16 tcl8.5
> -rw-r--r-- 1 root wheel 7730 21 Oct 2008 tclConfig.sh
> drwxr-xr-x 37 root wheel 1258 14 Apr 13:16 tk8.5
> -rw-r--r-- 1 root wheel 4017 21 Oct 2008 tkConfig.sh
> drwxrwxr-x 6 root wheel 204 14 Apr 13:15 x86_64
>
>
> I would imagine that the two ImageMagick have nothing to do with R, and Tktable might also be unrelated. I am trying to see if any of these files/directoris can be removed, to avoid conflicts with homebrew.
>
> Bw
>
> F
>
>
>
> --
> Federico C. F. Calboli
> Department of Epidemiology and Biostatistics
> Imperial College, St. Mary's Campus
> Norfolk Place, London W2 1PG
>
> Tel +44 (0)20 75941602 Fax +44 (0)20 75943193
>
> f.calboli [.a.t] imperial.ac.uk
> f.calboli [.a.t] gmail.com
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
More information about the R-SIG-Mac
mailing list