hi florian,...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
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;
Hm.. I have no idea what going on here... Is there an autoconf guru here who might provide insight?
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 ...
I just checked - the nightly builds are done with neither "--enable-debug" nor "--disable-debug" specified, and things work correctly...
FYI, configure is autogenerated, and the snipped that checks for the debug option is found in acinclude.m4 - but it looks even more correct there (at least for my autoconf-unsavy eyes...)
Greetings, Florian Pflug
smime.p7s
Description: S/MIME Cryptographic Signature
