Thread: pgadmin3 on OSX w/ wxwidgets-cvs HEAD V2.6+

pgadmin3 on OSX w/ wxwidgets-cvs HEAD V2.6+

From
OpenMacNews
Date:
hi all,

explring necessary mods to pgadmin3-cvs to prep for wxwidgets-2.6, a couple of
changes to 'hardwired' version #'s need to be made in acinclude.m4

this does the trick ...

    perl -pi -e 's/wx-2.5/wx-2.6/g' acinclude.m4
    perl -pi -e 's/2.5\*\)/2.6\*\)/g' acinclude.m4
    perl -pi -e 's/WX_VERSION="2.5"/WX_VERSION="2.6"/g' acinclude.m4

applying some of the same changes from my earlier post, 'bootstrap',
'configure' then 'make all' complete w/o error =)

however,

    % sudo make install

fails with:

    Making install in mac
    make  install-exec-hook
    /usr/ports/pgadmin3-cvs2/config/install-sh -c -m 644 PkgInfo
    /usr/ports/pgadmin3-cvs2/pgAdmin3.app/PkgInfo
    /usr/ports/pgadmin3-cvs2/config/install-sh -c -m 644 Info.plist
    /usr/ports/pgadmin3-cvs2/pgAdmin3.app/Contents/Info.plist
    /usr/ports/pgadmin3-cvs2/config/install-sh -c -m 644 "pgadmin3.icns"
    "/usr/ports/pgadmin3-cvs2/pgAdmin3.app/Contents/Resources/pgAdmin3.icns"
    $(/usr/local/wxWidgets-cvs/bin/wx-config --rezflags | sed
    's/-t[[:space:]]*APPL//') \
             "/usr/ports/pgadmin3-cvs2/pgAdmin3.app/Contents/Resources/pgAdmin3
             .rsrc" -useDF
    /System/Library/Frameworks/Carbon.framework/Headers/Carbon.r:43: ###
    /Developer/Tools/Rez - SysError 0 during open of
    "/usr/local/wxWidgets-cvs/lib/libwx_macud-2.6.0.r".
    Fatal Error!
    /System/Library/Frameworks/Carbon.framework/Headers/Carbon.r:43: ###
    /Developer/Tools/Rez - Fatal Error, can't recover.
    /usr/local/wxWidgets-cvs/lib/libwx_macud-2.6.0.r: ### /Developer/Tools/Rez
    - Since errors occurred,
    /usr/ports/pgadmin3-cvs2/pgAdmin3.app/Contents/Resources/pgAdmin3.rsrc's
    resource fork was not written.
    make[4]: *** [install-exec-hook] Error 3
    make[3]: *** [install-exec-am] Error 2
    make[2]: *** [install-am] Error 2
    make[1]: *** [install-recursive] Error 1
    make: *** [install-recursive] Error 1

now, to try to figure out what the deal is ... tomorrow

cheers,

richard