Re: pgadminIII on OSX 10.3.9; w/ wxWidgets-2.6.0 OK, - Mailing list pgadmin-hackers
From | OpenMacNews |
---|---|
Subject | Re: pgadminIII on OSX 10.3.9; w/ wxWidgets-2.6.0 OK, |
Date | |
Msg-id | 811B785F6EEEFD6729D9C4BF@tiedgar Whole thread Raw |
In response to | Re: pgadminIII on OSX 10.3.9; w/ wxWidgets-2.6.0 ("Florian G. Pflug" <fgp@phlo.org>) |
Responses |
Re: pgadminIII on OSX 10.3.9; w/ wxWidgets-2.6.0
|
List | pgadmin-hackers |
hi florian, >> --- (CASE wxwidgets-260) ------------------------------------------ ... >> builds completely/successfully, but STILL fails to AUTOSTRIP correctly ... > Hm.. this is strange... I works for the nightly builds... > In src/Makefile.am, you should find the lines: > if test "$(pg_debug_build)" = "no"; then \ > strip pgAdmin3 ;\ > fi > > Could you put an "echo $(pg_debug_build)" before the if, > and post the output? ok. per request, @216 mv tmp pgAdmin3 ;\ +++ echo $(pg_debug_build) ;\ if test "$(pg_debug_build)" = "no"; then \ strip pgAdmin3 ;\ fi indeed, NO STRIP occurred: % ls -al /usr/ports/pgadmin3-cvs/pgAdmin3.app/Contents/MacOS/pgAdmin3 -rwxr-xr-x 1 root admin 109540252 Apr 26 09:03 /usr/ports/pgadmin3-cvs/pgAdmin3.app/Contents/MacOS/pgAdmin3 here's the 'make install' output .... ... make install-exec-hook cd /usr/ports/pgadmin3-cvs/pgAdmin3.app/Contents/MacOS ;\ mv pgadmin3 tmp ;\ mv tmp pgAdmin3 ;\ echo yes ;\ if test "yes" = "no"; then \ strip pgAdmin3 ;\ fi yes ... hmmm, $pg_debug_build is reporting as YES despite my config as: ./configure \ --enable-appbundle \ --enable-static \ --disable-debug \ --with-wx=/usr/local/wxWidgets-260 \ --with-wx-config=wx-config \ --with-pgsql=/usr/local/pgsql \ --with-pgsql-include=/usr/local/pgsql/include checking/verifying in "src/Makefile": @279 pg_debug_build = yes and in /.configure: @4872 # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then enableval="$enable_debug" pg_debug_build=yes CFLAGS="-Wall -g -O0" CXXFLAGS="-Wall -g -O0" else pg_debug_build=no fi; looks ok (doesn't it?). hmmm ... why/where is "pg_debug_build=no" NOT being set ... do we need an EXPLICIT test for "--disable-debug" to set the NO case? i'm gonna try this without the --disable-debug flag ... >> --- (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 ... > Hm... the nighty build currently link against wx-cvs (because > 2.6 wasn't released when I set the build-daemon up), and > it links sucessfully.... > > Did you "make clean" your source-tree after switching wx version? actually, i'm using two separate source trees ... /usr/local/pgadmin3-cvs <-- linking agains wxWidgets-260 /usr/local/pgadmin3-cvs2 <-- linking agains wxWidgets-cvs and when i don't do a clean DL, i always run a 'make distclean' (confirmed) cheers, richard
pgadmin-hackers by date: