Re: pgadmin3 + wxwidgets-cvs (v2.6) ; dies in 'install-exec-hook"

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: pgadmin3 + wxwidgets-cvs (v2.6) ; dies in 'install-exec-hook"
Date: 2005-04-15 14:15:30
Message-ID: 425FCC82.1080605@phlo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

OpenMacNews wrote:
> hi all,
>
> starting with wxwidgets-cvs (v2.6+), debug = OFF
>
> configure & make of pgadmin3-cvs complete w/o error.
>
> tho, 'sudo make install' still needs to be preceded with:
>
> % chmod a+x /usr/ports/pgadmin3-cvs2/pkg/mac/complete-bundle.sh
>
> or a change in the makefile, per my earlier post.
>
> after THAT change, 'make install' now fails at:
Hm ... strange... in the process of setting up
a nighty build-daemon for pgadmin on osx,
I used a fresh checkout of pgadmin3, and, apart from
chmod 755 complete-bundle.sh
I had to change nothing, and it worked...

> ...
> 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" ;-))

> quick glances at ./pkg/mac/Makefile.in & ./pkg/mac/complete-bundle.sh
> aren't immediately clear (to me) as the source of the problem.
Hm... the location of the resource-file is not guessed by pgadmin,
it's provided by wx (more specifically, by wx-config)

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

Greetings, Florian Pflug

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message OpenMacNews 2005-04-15 14:47:24 Re: pgadmin3 + wxwidgets-cvs (v2.6) ; dies in
Previous Message Dave Page 2005-04-15 09:35:14 Merging the support module and the agent daemon