[postgis-users] QGIS Plugin PostGIS Manager
woklist at kyngchaos.com
Sun Jan 22 10:59:48 PST 2012
I've been quietly half paying attention to this thread...
I'd rather not promote the environment.plist (or other hidden/system init file options) as *the* solution to application environment variables. Mac users shouldn't have to work with invisible files/folders to get something working. And I don't think environment.plist is well documented (*users* need to dig into the *developer* documentation to find anything).
I also found a reference that PATH set in environment.plist changed in OS X 10.6 - instead of adding to the default system paths (/usr/bin, /usr/local/bin) it completely replaces PATH for any applications (they won't see system paths unless you specify them in environment.plist).
Either plugin developers (for plugins that use command line tools) need to add program path configuration options (see the GDAL Tools plugin), or some QGIS-wide option is needed like http://hub.qgis.org/issues/3097
On Jan 22, 2012, at 11:24 AM, Paolo Cavallini wrote:
> Il 22/01/2012 18:04, Florian Beyerbach ha scritto:
>> i think, i solved the problem. here the link to the hint:
>> i did the following
>> 1. Open up a terminal.
>> 2. |mkdir ~/.MacOSX |
>> 3. |touch ~/.MacOSX/environment.plist|
>> 4. |defaults write ~/.MacOSX/environment
>> PATH |"/usr/local/pgsql/share/contrib/postgis-1.5:/usr/local/pgsql/bin"
>> 5. restart System
>> 6. start QGIS.app
> Hi all.
> Could someone please add these instructions to the plugin help?
> Paolo Cavallini - Faunalia
> Full contact details at www.faunalia.eu/pc
> postgis-users mailing list
> postgis-users at postgis.refractions.net
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
All generalizations are dangerous, even this one.
More information about the postgis-users