Thread: compile problem with agadmin2-1.2.0 on SuSE 9.2 system
the make fails with the following: if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -I/usr/local/pgsql/include -DSSL -I/usr/lib/wx/include/gtk2-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/wx-2.5 -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -Wall -g -O0 -MT dlgEditGridOptions.o -MD -MP -MF ".deps/dlgEditGridOptions.Tpo" \ -c -o dlgEditGridOptions.o `test -f 'ui/dlgEditGridOptions.cpp'|| echo './'`ui/dlgEditGridOptions.cpp; \ then mv -f ".deps/dlgEditGridOptions.Tpo" ".deps/dlgEditGridOptions.Po"; \ else rm -f ".deps/dlgEditGridOptions.Tpo"; exit 1; \ fi ui/dlgEditGridOptions.cpp:51: error: `wxID_REMOVE' was not declared in this scope make[2]: *** [dlgEditGridOptions.o] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/pgadmin3-1.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/pgadmin3-1.2.0' make: *** [all] Error 2 Suggestions anyone?
On Wed, 05 Jan 2005 11:15:20 -0800, Bruce Ferrell <bferrell@baywinds.org> wrote: > the make fails with the following: > > if g++ -DHAVE_CONFIG_H -I. -I. -I.. > -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g > -I../src/include -I../src/agent/include -I/usr/local/pgsql/include -DSSL > -I/usr/lib/wx/include/gtk2-2.5 -I/usr/include/wx-2.5 > -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -I/usr/include/wx-2.5 -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" > -Wall -g -I../src/include -I../src/agent/include -Wall -g -O0 -MT > dlgEditGridOptions.o -MD -MP -MF ".deps/dlgEditGridOptions.Tpo" \ > -c -o dlgEditGridOptions.o `test -f 'ui/dlgEditGridOptions.cpp' || > echo './'`ui/dlgEditGridOptions.cpp; \ > then mv -f ".deps/dlgEditGridOptions.Tpo" ".deps/dlgEditGridOptions.Po"; \ > else rm -f ".deps/dlgEditGridOptions.Tpo"; exit 1; \ > fi > ui/dlgEditGridOptions.cpp:51: error: `wxID_REMOVE' was not declared in this > scope > make[2]: *** [dlgEditGridOptions.o] Error 1 > make[2]: Leaving directory `/usr/src/packages/BUILD/pgadmin3-1.2.0/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/packages/BUILD/pgadmin3-1.2.0' > make: *** [all] Error 2 FWIW it's just built fine [*] for me on SUSE 9.2. Do you have the correct wxWidgets version? (2.5.3, not the one provided by SUSE). [*] Fell foul of the gtk-qt-engine described here though: http://archives.postgresql.org/pgadmin-hackers/2004-12/msg00146.php Removing the package of the same name solved that problem. Ian Barwick
I fear I have the Suse build of 2.5.3 :( I'll have to rebuild that too sigh. Too bad there isn't a SuSE rpm Ian Barwick wrote: > On Wed, 05 Jan 2005 11:15:20 -0800, Bruce Ferrell <bferrell@baywinds.org> wrote: > >>the make fails with the following: >> >>if g++ -DHAVE_CONFIG_H -I. -I. -I.. >>-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g >>-I../src/include -I../src/agent/include -I/usr/local/pgsql/include -DSSL >>-I/usr/lib/wx/include/gtk2-2.5 -I/usr/include/wx-2.5 >>-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES >>-I/usr/include/wx-2.5 -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" >>-Wall -g -I../src/include -I../src/agent/include -Wall -g -O0 -MT >>dlgEditGridOptions.o -MD -MP -MF ".deps/dlgEditGridOptions.Tpo" \ >> -c -o dlgEditGridOptions.o `test -f 'ui/dlgEditGridOptions.cpp' || >>echo './'`ui/dlgEditGridOptions.cpp; \ >>then mv -f ".deps/dlgEditGridOptions.Tpo" ".deps/dlgEditGridOptions.Po"; \ >>else rm -f ".deps/dlgEditGridOptions.Tpo"; exit 1; \ >>fi >>ui/dlgEditGridOptions.cpp:51: error: `wxID_REMOVE' was not declared in this >> scope >>make[2]: *** [dlgEditGridOptions.o] Error 1 >>make[2]: Leaving directory `/usr/src/packages/BUILD/pgadmin3-1.2.0/src' >>make[1]: *** [all-recursive] Error 1 >>make[1]: Leaving directory `/usr/src/packages/BUILD/pgadmin3-1.2.0' >>make: *** [all] Error 2 > > > FWIW it's just built fine [*] for me on SUSE 9.2. Do you have the > correct wxWidgets version? (2.5.3, not the one provided by SUSE). > > [*] Fell foul of the gtk-qt-engine described here though: > http://archives.postgresql.org/pgadmin-hackers/2004-12/msg00146.php > Removing the package of the same name solved that problem. > > Ian Barwick > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) >