macports instal pkg - alert msg

Sterling Smith smithsp at fusion.gat.com
Fri Oct 11 07:25:23 PDT 2013


A,

Perhaps you don't understand what macports is.  It is a way of installing various applications (or libraries), with the correct understanding and installation of the dependencies for that application.  The usual way of installing a given application is to find out its portname
> port search mypaint
MyPaint @1.1.0_1 (graphics)
a fast and easy graphics application for digital painters

Then find out if you need a particular variant
>port variants MyPaint
MyPaint has the variants:
   universal: Build for multiple architectures

No unusual variants for MyPaint, so proceed with installation.
>sudo port install MyPaint

After that installs successfully, start a new terminal session so that your path is up to date.  Then to find the command that you need to run on the command line, look at the output of 
>port contents MyPaint | grep bin
or
>port contents MyPaint | grep -i .app

If there is a newer version of MyPaint than 1.1.0, then file a bug report requesting an update.[1,2]

The discussion about using different directories (/opt/local, etc.) is not relevant unless you are trying to create the .pkg to be redistributed to others.

Hope that helps,
Sterling

[1] http://guide.macports.org/#project.tickets.creating
[2] https://trac.macports.org/newticket

On Oct 11, 2013, at 6:46AM, ugajin at talktalk.net wrote:

> Thanks.
> 
> What is normal to you?
> 
> I don't recall using a prefix, but ran both installers from their default location which happened to be /opt/local,
> also I did not choose /Applications/MacPorts as applications_dir to create the package in the first place.
> Both installs were left at default setting. 
> 
> It seems I now have a decision to make and some files to delete. 
> 
> I don't want to distribute, but there is no Mac pkg available for this (latest) version of mypaint. As the earlier version has serious 
> functional deficits (no pressure sensitivity) I am glad to make it available. However, I am not sure how or where to do this. I have 
> posted a note on a mypaint forum. Perhaps someone will tell me.
> 
> Thanks again to you, all.
> 
> -A
> 
> 
> 
> 
> -----Original Message-----
> From: Rainer Müller <raimue at macports.org>
> To: macports-users at lists.macosforge.org
> Sent: Fri, 11 Oct 2013 13:32
> Subject: Re: Fwd: macports instal pkg - alert msg
> 
> 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
> _______________________________________________
> macports-users mailing list
> 
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users



More information about the macports-users mailing list