install prefix
George Georgalis
george at galis.org
Wed Mar 28 11:12:49 PDT 2007
On Tue, Mar 27, 2007 at 04:44:47PM -0700, Landon Fuller wrote:
>
>On Mar 27, 2007, at 14:37, Ryan Schmidt wrote:
>
>>No... MacPorts just needs to write some things in /Library/Tcl/
>>darwinports1.0, that's all. But I don't know why it thinks it needs
>>to do that.
>
>MacPorts uses the system-supplied Tcl interpreter, and /Library/Tcl
>is the standard location for application-provided Tcl packages. This
>was originally done to allow API clients that were not installed with
>DarwinPorts -- such as original PortsManager -- to find the
>darwinports1.0 libraries without hard-coding a prefix.
why does it use the system-supplied Tcl interpreter,
vs MacPorts tcl package which is in the domain of
MacPorts control??? Isn't MacPorts planing on being
cross platform? (BTW, it was on about my third port
that tcl @8.4.14_0 was installed as a dependency.)
Normally when a PREFIX is set, software prepends
it to ALL root paths, ie for all files not accessed
via the $PATH (or similar) env.
Anyway, using /Library/Tcl with a temp bit set,
and the remainder of MacPorts installed as a user,
teTeX fails, apparently it has root hard coded into
install.
geo at fuji.local:/Users/geo # port install teTeX
---> Installing teTeX 3.0_3
Error: Target com.apple.install returned: could not set group for file "/usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local/MacPorts/share/texmf-dist/tex/lambda/config/language.dat": not owner
Error: Status 1 encountered during processing.
geo at fuji.local:/Users/geo # dirper /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local/MacPorts/share/texmf-dist/tex/lambda/config/language.dat
-rw-r--r-- geo:geo 421 21:17:06 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local/MacPorts/share/texmf-dist/tex/lambda/config/language.dat
drwxr-xr-x geo:geo 102 23:21:16 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local/MacPorts/share/texmf-dist/tex/lambda/config
drwxr-xr-x geo:geo 136 21:42:12 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local/MacPorts/share/texmf-dist/tex/lambda
drwxr-xr-x geo:geo 374 21:42:11 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local/MacPorts/share/texmf-dist/tex
drwxr-xr-x geo:geo 680 23:20:41 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local/MacPorts/share/texmf-dist
drwxrwxr-x geo:geo 204 21:35:38 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local/MacPorts/share
drwxrwxr-x geo:geo 204 21:35:33 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local/MacPorts
drwxr-xr-x geo:geo 102 21:35:28 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr/local
drwxrwxr-x geo:geo 102 21:35:28 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3/usr
drwxr-xr-x geo:geo 102 21:35:28 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX/3.0_3
drwxr-xr-x geo:geo 102 21:35:28 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software/teTeX
drwxr-xr-x geo:geo 1190 21:35:28 27 Mar 2007 /usr/local/MacPorts/var/db/dports/software
drwxrwxr-x geo:geo 272 18:29:47 27 Mar 2007 /usr/local/MacPorts/var/db/dports
drwxrwxr-x geo:geo 102 17:10:24 27 Mar 2007 /usr/local/MacPorts/var/db
drwxrwxr-x geo:geo 102 17:10:24 27 Mar 2007 /usr/local/MacPorts/var
drwxrwxr-x geo:geo 408 17:48:51 27 Mar 2007 /usr/local/MacPorts
drwxr-xr-x root:wheel 204 17:04:58 27 Mar 2007 /usr/local
drwxr-xr-x root:wheel 374 02:58:36 30 Nov 2005 /usr
drwxr-xr-x root:admin 1394 19:00:33 31 Dec 1969 /
so I decided to give it a try as root... that worked fine.
// George
--
George Georgalis, systems architect, administrator <IXOYE><
More information about the macports-dev
mailing list