Fwd: macports instal pkg - alert msg

Rainer Müller raimue at macports.org
Fri Oct 11 05:31:01 PDT 2013


On 2013-10-11 12:22, ugajin at talktalk.net wrote:
> I have completed first 'successful' MacPorts instal, but something seems
> not to be quite right. 
> 
> What have I done, and how do I put it right?
> 
> Following the MacPorts guide, I ran (and I am not sure I needed to do
> this); sudo port pkg mypaint

Creating a pkg is only necessary if you want to redistribute this
package. Otherwise just use a normal installation:

  sudo port install mypaint


In case you really want to redistribute this package, you should not use
/opt/local as prefix and /Applications/MacPorts as applications_dir to
create the package in the first place. Please choose a different prefix
to avoid conflicts.

> [...]
> I seem to have a duplicate tree structure within destroot. Is this as it
> should be? I now have;
> HD/opt/local/var/macports/build/ _opt_local_var_macports. . .
> /MyPaint/work/destroot/opt/ . . (see above)
> and;
> HD/opt/local/var/macports/build/ _opt_local_var_macports. . .
> /MyPaint/work/destroot/Applications/MacPorts/MyPaint.app

This looks correct.

> A further MyPaint.app is located. HD/Applications/MacPorts/MyPaint.pp

This is the installed version from the pkg installer.

> Previously, I had installed an earlier release of MyPaint using a pkg
> installer and this located the directories (bin, include, lib, & share)
> listed above in destroot/ directly in HD/opt/ directory.

Then it was probably not created by a default MacPorts installation,
which uses /opt/local.

Rainer


More information about the macports-users mailing list