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

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

From: OpenMacNews <OpenMacNews(at)speakeasy(dot)net>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: pgadmin3 + wxwidgets-cvs (v2.6) ; dies in 'install-exec-hook"
Date: 2005-04-15 04:38:45
Message-ID: D666F6FA38645D940C5827B9@tiedgar (view raw or flat)
Thread:
Lists: pgadmin-hackers
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:

...
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

the problem seems to be that the pgadmin3 make install is expecting (a) a file 
that's NOT there (/usr/local/wxWidgets-cvs/lib/libwx_macu-2.6.0.r), AND (b) has 
a 3-digit version # rather than the other files in the dir, which are 2-digit.

but, i dunno where the problem stems from as yet ... the "SysError 0 during 
open" is not very enlightening.

quick glances at ./pkg/mac/Makefile.in & ./pkg/mac/complete-bundle.sh aren't 
immediately clear (to me) as the source of the problem.

if not immediately obvious to y'all, i'll rebuild all with debug-ON and see 
what ktrace'll do 4 me ....


cheers,

richard

Responses

pgadmin-hackers by date

Next:From: Chris CampbellDate: 2005-04-15 06:44:27
Subject: Re: CVS Commit by dpage: Since the autotools for some reason refuse to strip
Previous:From: OpenMacNewsDate: 2005-04-14 23:31:52
Subject: pgadmin3 on OSX ... ALMOST out-of-the-box build; still need fixes --> perms on complete-bundle.sh & autostrip

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