Re: build error pgadmin3-src-20040805.tar.gz - Mailing list pgadmin-hackers

From Raphaël Enrici
Subject Re: build error pgadmin3-src-20040805.tar.gz
Date
Msg-id 411D41BF.6040902@club-internet.fr
Whole thread Raw
In response to Re: build error pgadmin3-src-20040805.tar.gz  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses pgadmin3 not compliant with gcc-3.4 (?)  (Raphaël Enrici <blacknoz@club-internet.fr>)
List pgadmin-hackers
Dave Page wrote:
>>-----Original Message-----
>>From: Raphaël Enrici [mailto:blacknoz@club-internet.fr]
>>Sent: 12 August 2004 23:02
>>To: Andreas Pflug; Dave Page
>>Cc: pgadmin-hackers@postgresql.org
>>Subject: Re: [pgadmin-hackers] build error
>>pgadmin3-src-20040805.tar.gz
>>
>>good news, gcc-3.4 and g++-3.4 are available in debian/sarge.
>>It seems the build goes straight. I'll recheck and provide something
>>quickly.
>
>
> Wahooo :-)

I talked too fast :(


> 'Night!
I had a good one ;) Hope this one will be ok.

g++-3.4 build the wxWid correctly but not pgAdmin III.

I believe I face the issue reported by Thomas Trepl about 3 weeks ago:
http://www.mail-archive.com/pgadmin-hackers@postgresql.org/msg03746.html

if g++-3.4 -DHAVE_CONFIG_H -I. -I. -I..
-DDATA_DIR=\"/usr/share/pgadmin3/\" -
Wall -g -I../src/include -I../src/agent/include
-I/usr/include/postgresql -I./
include -DSSL -I/usr/lib/wx/include/gtk2ud-2.5 -D__WXDEBUG__ -D__WXGTK__
-D_FI
LE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA
-I/usr/include -
DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include
-I../src/agent/in
clude -g -O2 -MT dlgJob.o -MD -MP -MF ".deps/dlgJob.Tpo" \
   -c -o dlgJob.o `test -f 'agent/dlgJob.cpp' || echo
'./'`agent/dlgJob.cpp; \
then mv -f ".deps/dlgJob.Tpo" ".deps/dlgJob.Po"; \
else rm -f ".deps/dlgJob.Tpo"; exit 1; \
fi
../src/include/dlgProperty.h:69: error: `void
dlgProperty::OnChange(wxCommandE
vent&)' is protected
agent/dlgJob.cpp:51: error: within this context
../src/include/dlgProperty.h:69: error: `void
dlgProperty::OnChange(wxCommandE
vent&)' is protected
agent/dlgJob.cpp:52: error: within this context
make[3]: *** [dlgJob.o] Error 1
make[3]: Leaving directory
`/BUILD/MY_PGADMIN3/AUTO_PGADMIN/build/debian/pgadm
in3-1.1.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/BUILD/MY_PGADMIN3/AUTO_PGADMIN/build/debian/pgadm
in3-1.1.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/BUILD/MY_PGADMIN3/AUTO_PGADMIN/build/debian/pgadm
in3-1.1.0'
make: *** [build-stamp] Error 2


Andreas, did you get time to take a look at this ?
I found some ref to this on the web but I admit I don't understand a
word of it... :(

Good night guys. I'll try to go further later... :(

Raphaël

pgadmin-hackers by date:

Previous
From: "Darko Prenosil"
Date:
Subject: Bug in CREATE USER script
Next
From: "Dave Page"
Date:
Subject: Re: Bug in CREATE USER script