[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zenity package from MacPorts?
From: |
CdeMills |
Subject: |
Re: zenity package from MacPorts? |
Date: |
Fri, 13 Aug 2010 01:23:37 -0700 (PDT) |
Matthias Brennwald wrote:
>
>
>
> With MacPorts: sudo port install zenity
>
> But don't expect anything Aqua. It works with X11 and looks like Gnome
> (and it probably is Gnomish).
>
>> Anyway, is zenity installed in a standard location on Mac or does that
>> depend on how you installed zenity?
>
> which zenity
> /opt/local/bin/zenity
>
>> If it is in a standard location then
>> I guess we can add this path when the 'zenity' package is loaded.
>
> zenity itself is not the issue. The issue is that Octave does not find the
> *.m files from the Octave-zenity package. If I manually tell Octave where
> to look for the *.m files (e.g. using addpath(...)), everything works
> nicely.
>
>
OK. We're at the heart of the problem. I showed you an example of direct use
of zenity, through a 'system' call. When you add some octave package from
octave-forge, it goes as follows:
1) download the package.tar.gz from sourceforge
2) install: from octave, "pkg install '/the/path/of/package.tar.gz"
3) to use it: do a "pkg load package" prior to its use
You use the MacPorts system, which performs step 1 and 2 automatically. The
last one is up to you, either from octave command line or inside your
.octaverc.
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/zenity-package-from-MacPorts-tp2322820p2323866.html
Sent from the Octave - General mailing list archive at Nabble.com.
- zenity package from MacPorts?, Matthias Brennwald, 2010/08/12
- Re: zenity package from MacPorts?, Søren Hauberg, 2010/08/12
- Re: zenity package from MacPorts?, Matthias Brennwald, 2010/08/12
- Re: zenity package from MacPorts?,
CdeMills <=
- Re: zenity package from MacPorts?, Søren Hauberg, 2010/08/14
- Re: zenity package from MacPorts?, Matthias Brennwald, 2010/08/14
- Re: zenity package from MacPorts?, Ben Abbott, 2010/08/14
- Re: zenity package from MacPorts?, Martin Helm, 2010/08/14
- Re: zenity package from MacPorts?, Matthias Brennwald, 2010/08/14
- Re: zenity package from MacPorts?, Martin Helm, 2010/08/14
- Re: zenity package from MacPorts?, CdeMills, 2010/08/16
- Re: zenity package from MacPorts?, CdeMills, 2010/08/16
Re: zenity package from MacPorts?, CdeMills, 2010/08/12