Thread: Re: pgadmin3 + wxwidgets-cvs (v2.6) ; dies in

Re: pgadmin3 + wxwidgets-cvs (v2.6) ; dies in

From
OpenMacNews
Date:
( hmmm ... message lost in the aether )

hi florian,

>>     % chmod a+x /usr/ports/pgadmin3-cvs2/pkg/mac/complete-bundle.sh
>>
>> or a change in the makefile, per my earlier post.
>>

> I used a fresh checkout of pgadmin3, and, apart from
> chmod 755 complete-bundle.sh
> I had to change nothing, and it worked...

ok, i'm confused then too.  how exactly do _you_ execute a script if its perms
do not include the execute flag? what happens if you simply attempt to invoke
the script directly at cmd-line?

if you invoke it as an arg to "sh" (sh complete-bundle.sh), then sure ... but
directly (./complete-bundle.sh)?

what ARE your complete-bundle.sh's perms in a virgin DL?

again, mine are:

    -rw-r--r--  1 devuser admin 1306 Apr 12 00:36 pkg/mac/complete-bundle.sh

>> ...
>> 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_macu-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_macu-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
>
>> looking in:
>>
>> /usr/local/wxWidgets-cvs/lib  % ls -a
>>     .                              libwx_macu_qa-2.6.a
>>     ..                             libwx_macu_stc-2.6.a
>>     cd                             libwx_macu_xrc-2.6.a
>>     libwx_base_carbonu-2.6.a       libwx_macud_adv-2.6.a
>>     libwx_base_carbonu_net-2.6.a   libwx_macud_core-2.6.a
>>     libwx_base_carbonu_xml-2.6.a   libwx_macud_gl-2.6.a
>>     libwx_base_carbonud-2.6.a      libwx_macud_html-2.6.a
>>     libwx_base_carbonud_net-2.6.a  libwx_macud_media-2.6.a
>>     libwx_base_carbonud_xml-2.6.a  libwx_macud_ogl-2.6.a
>>     libwx_macu_adv-2.6.a           libwx_macud_qa-2.6.a
>>     libwx_macu_core-2.6.a          libwx_macud_stc-2.6.a
>>     libwx_macu_gl-2.6.a            libwx_macud_xrc-2.6.a
>>     libwx_macu_html-2.6.a          libwxregexu-2.6.a
>>     libwx_macu_media-2.6.a         libwxregexud-2.6.a
>>     libwx_macu_ogl-2.6.a           wx
> For me (with wx-cvs)
> .                               libwx_macu_core-2.6.a
> libwxexpat-2.6.a
> ..                              libwx_macu_gl-2.6.a
> libwxjpeg-2.6.a
> libwx_base_carbonu-2.6.a        libwx_macu_html-2.6.a           libwxpng-2.6.a
> libwx_base_carbonu_net-2.6.a    libwx_macu_media-2.6.a
> libwxregexu-2.6.a
> libwx_base_carbonu_xml-2.6.a    libwx_macu_ogl-2.6.a
> libwxtiff-2.6.a
> libwx_macu-2.6.0.r              libwx_macu_qa-2.6.a             wx
> libwx_macu-2.6.0.rsrc           libwx_macu_stc-2.6.a
> libwx_macu_adv-2.6.a            libwx_macu_xrc-2.6.a
>
>> but, i dunno where the problem stems from as yet ... the "SysError 0
>> during open" is not very enlightening.
> I guess it's the not-human-readable version of "File not found" ;-))

well, given your ls, i'd gather! =)

strange -- i can't imagine what's different abt our 2 systems ...

> Could you post the output of wx-config --rezflags ?

here's the output from BOTH wxwidgets-cvs and wxwidgets-255

% /usr/local/wxWidgets-cvs/bin/wx-config --rezflags
    /Developer/Tools/Rez -d __DARWIN__ -t APPL Carbon.r
/usr/local/wxWidgets-cvs/lib/libwx_macud-2.6.0.r -o

% /usr/local/wxWidgets-255/bin/wx-config --rezflags
    /Developer/Tools/Rez -d __DARWIN__ -t APPL Carbon.r
/usr/local/wxWidgets-255/lib/libwx_macu-2.5.5.r -o


richard