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

pgadminIII on OSX 10.3.9; w/ wxWidgets-2.6.0 OK, w/ wxWidgets-CVS make fail

From: OpenMacNews <OpenMacNews(at)speakeasy(dot)net>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Cc: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Subject: pgadminIII on OSX 10.3.9; w/ wxWidgets-2.6.0 OK, w/ wxWidgets-CVS make fail
Date: 2005-04-26 01:39:32
Message-ID: 683C432811EDEAC33A1D08C1@tiedgar (view raw or flat)
Thread:
Lists: pgadmin-hackers
hi all,

coming back from vacation :-( i noticed that wxwidgets 2.6.0 has been released, 
and that there are now nightly OSX builds available (nice! florian)

after updating to OSX 10.3.9, i've done a sanity run for myself:


wxWidgets-CVS (4/25/05 11:34:29) & wxWidgets-2.6.0 both:

	../configure \
	--prefix=/usr/local/wxWidgets-cvs \
	--with-mac \
	--disable-shared \
	--disable-debug \
	--enable-unicode \
	--with-regex
	
	make
	make install

w/o error, where:

% du -s -h /usr/local/wxWidgets-260/*
	868K    /usr/local/wxWidgets-260/bin
	4.8M    /usr/local/wxWidgets-260/include
	16M     /usr/local/wxWidgets-260/lib
	12K     /usr/local/wxWidgets-260/share

% ls -al /usr/local/wxWidgets-260/bin
	total 868
	drwxr-xr-x  5 root    admin    170 Apr 25 15:18 .
	drwxr-xr-x  6 root    admin    204 Apr 25 15:18 ..
	lrwxr-xr-x  1 root    admin     69 Apr 25 15:18 wx-config -> 
/usr/local/wxWidgets-260/lib/wx/config/mac-unicode-release-static-2.6
	lrwxr-xr-x  1 root    admin      8 Apr 25 15:18 wxrc -> wxrc-2.6
	-rwxr-xr-x  1 devuser wheel 879000 Apr 25 13:26 wxrc-2.6

% du -s -h /usr/local/wxWidgets-cvs/*
	968K    /usr/local/wxWidgets-cvs/bin
	4.8M    /usr/local/wxWidgets-cvs/include
	27M     /usr/local/wxWidgets-cvs/lib
	12K     /usr/local/wxWidgets-cvs/share

% ls -al /usr/local/wxWidgets-cvs/bin
	total 968
	drwxr-xr-x  5 root    admin    170 Apr 25 17:05 .
	drwxr-xr-x  6 root    admin    204 Apr 25 17:05 ..
	lrwxr-xr-x  1 root    admin     69 Apr 25 17:05 wx-config -> 
/usr/local/wxWidgets-cvs/lib/wx/config/mac-unicode-release-static-2.6
	lrwxr-xr-x  1 root    admin      8 Apr 25 17:05 wxrc -> wxrc-2.6
	-rwxr-xr-x  1 devuser wheel 980160 Apr 25 17:00 wxrc-2.6

subsequent builds of pgadmin3-cvs (4/25/05 04:04:22) as:

CASE XXX == 260, cvs

	./configure \
	--enable-appbundle \
	--enable-static \
	--disable-debug \
	--with-wx=/usr/local/wxWidgets-XXX \
	--with-wx-config=wx-config \
	--with-pgsql=/usr/local/pgsql \
	--with-pgsql-include=/usr/local/pgsql/include
	
	make all
	make install


--- (CASE wxwidgets-260) ------------------------------------------
no longer requires a chmod on complete-bundle.sh (thx!)

builds completely/successfully, but STILL fails to AUTOSTRIP correctly

% ls -al /usr/ports/pgadmin3-cvs/pgAdmin3.app/Contents/MacOS/pgAdmin3
	-rwxr-xr-x  1 root admin 109540252 Apr 25 18:20 
/usr/ports/pgadmin3-cvs/pgAdmin3.app/Contents/MacOS/pgAdmin3

% strip /usr/ports/pgadmin3-cvs/pgAdmin3.app/Contents/MacOS/pgAdmin3

% ls -al /usr/ports/pgadmin3-cvs/pgAdmin3.app/Contents/MacOS/pgAdmin3
	-rwxr-xr-x  1 root admin 7800208 Apr 25 18:24 
/usr/ports/pgadmin3-cvs/pgAdmin3.app/Contents/MacOS/pgAdmin3

the resultant executable launches from Finder w/o error, and initial poking 
around is error free.  yay!



--- (CASE wxwidgets-cvs) ------------------------------------------

no longer requires a chmod on complete-bundle.sh

configures OK

'make all' fails at:

	ld: Undefined symbols:
	wxAssert(int, wchar_t const*, int, wchar_t const*, wchar_t const*)
	make[2]: *** [pgadmin3] Error 1
	make[1]: *** [all-recursive] Error 1
	make: *** [all] Error 2

i'll see what i can find out abt this one ...

cheers,

richard


Responses

pgadmin-hackers by date

Next:From: cvsDate: 2005-04-26 12:57:17
Subject: CVS Commit by andreas: wxDatePickerCtrl preparation
Previous:From: Dave PageDate: 2005-04-25 18:21:26
Subject: Re: query runtime guru hint

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