Skip site navigation (1) Skip section navigation (2)

Re: close-but-not-quite w/ pgadmin3.app on osx 10.3.8

From: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
To: OpenMacNews <OpenMacNews(at)speakeasy(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: close-but-not-quite w/ pgadmin3.app on osx 10.3.8
Date: 2005-04-11 09:29:09
Message-ID: 425A4365.60700@phlo.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
OpenMacNews wrote:
> % ./configure \
> --prefix=/usr/local/pgadmin3 \
> --enable-appbundle \
> --enable-static \
> --enable-debug \
> --with-wx=/usr/local/wxWidgets-cvs \
> --with-wx-config=wx-config \
> --with-pgsql=/usr/local/pgsql \
> --with-pgsql-include=/usr/local/pgsql/include

Hm... prefix shouldn't be needed when using "--enable-appbundle".
If you specify "--enable-appebundle", all File necessary
for running pgadmin3 should be installed into the .app.

> % sudo make install
> 
> % cd /usr/ports/pgadmin3-cvs
> % ls -ald PgAdminIII.app
>     drwxr-xr-x  4 root wheel 136 Apr 10 11:56 PgAdminIII.app
> 
> % cd /usr/ports/pgadmin3-cvs/PgAdminIII.app/Contents/MacOS
> % otool -L pgadmin3
Heres the problem - the executable should be named PgAdminIII, not
pgadminIII. I forgot to include my modifications to src/Makefile.am
in the patch on www.phlo.org - I created a second patch, named
pgadmin3-bundle-2.diff - please apply this one two, and retry.

(It should be sufficient to just do "make install" again, after
applying the patch).


> so, it all looks ok (?) so far ...
> 
> but, when I try to dubl-clik the PgAdminIII, i get a dialog:
> 
>  'You cannot open the application"PgAdminII" because it may be damaged 
> or incomplete.'
> 
> with no output to the Console/System Log .... hmmmm. ?
> 
> also, i'm a little unclear why the install does not install the 
> 'PgAdminIII.app' where --prefix tells it to, but, rather, in the src 
> tree ... but i'd guess that's an arguable point.
Hm... we could do that - but .app bundles are designed to be relocateable
anyway, so just move it to wherever you want it to be ;-)


greetings, Florian Pflug

In response to

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2005-04-11 09:43:06
Subject: Re: close-but-not-quite w/ pgadmin3.app on osx 10.3.8
Previous:From: OpenMacNewsDate: 2005-04-10 19:14:30
Subject: close-but-not-quite w/ pgadmin3.app on osx 10.3.8

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group