% ./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
smime.p7s
Description: S/MIME Cryptographic Signature
