Re: [pgadmin-hackers] pgadmin3 1.6.1 build error on FC6
Devrim GUNDUZ wrote: Hi again, On Wed, 2006-12-20 at 23:52 +0200, Devrim GUNDUZ wrote: In frmEditGrid.cpp, change EVT_AUI_PANEBUTTON to EVT_AUI_PANE_BUTTON Thanks for the quick reply :) I'll apply this tomorrow morning. But since I'm trying to build RPM set, I will add this as a temp patch to spec file. I applied this small patch: http://developer.postgresql.org/~devrim/rpms/other/pgadmin3/pgadmin3-1.6.1-frm.patch Yup, that looks perfectly fine. However, I still get an error: make[4]: Entering directory `/usr/src/redhat/BUILD/pgadmin3-1.6.1/xtra/pgagent' g++ -DDATA_DIR=\/usr/share/pgadmin3/\ -Wall -Wno-non-virtual-dtor -I./include -L/usr/lib -L/usr/lib -o pgagent connection.o job.o misc.o pgAgent.o unix.o -pthread -lwx_baseu-2.8 -L/usr/lib -lpq connection.o: In function `wxTransform2D::Transform(wxRect2DInt*) const': connection.cpp:(.gnu.linkonce.t._ZNK13wxTransform2D9TransformEP11wxRect2DInt+0x93): undefined reference to `wxRect2DInt::operator=(wxRect2DInt const)' connection.o: In function `wxTransform2D::InverseTransform(wxRect2DInt*) const': connection.cpp:(.gnu.linkonce.t._ZNK13wxTransform2D16InverseTransformEP11wxRect2DInt+0x93): undefined reference to `wxRect2DInt::operator=(wxRect2DInt const)' collect2: ld returned 1 exit status make[4]: *** [pgagent] Error 1 Any idea on this one? Wierd. pgAgent shouldn't have any reason to need those. Couple of things to check, are you definitely running a clean build? Secondly, Zdenek found that the Sun compiler needed -lwx_coreu-2.8 as well. GCC certainly doesn't on other platforms, but it might be worth trying in this case. If it does help, we'll need to patch the makefile.am's. Not sure how you'd do that in an RPM build as it'd involve re-bootstrapping. Might be easiest to just roll 1.6.2 sooner rather than later. Regards, Dave. ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster
Re: [pgadmin-hackers] pgadmin3 1.6.1 build error on FC6
Hi, On Wed, 2006-12-27 at 09:05 +, Dave Page wrote: Might be easiest to just roll 1.6.2 sooner rather than later. Agreed. That will minimize my effort :) Regards, -- The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564 PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/ signature.asc Description: This is a digitally signed message part
Re: [pgadmin-hackers] pgadmin3 1.6.1 build error on FC6
Devrim GUNDUZ wrote: Hi, On Wed, 2006-12-27 at 09:05 +, Dave Page wrote: Might be easiest to just roll 1.6.2 sooner rather than later. Agreed. That will minimize my effort :) I still need to know what the correct fix for the pgAgent linking is though, otherwise 1.6.2 will fail the same way - can you try with the addition of the core library please? Regards, Dave. ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings
Re: [pgadmin-hackers] pgadmin3 1.6.1 build error on FC6
Hi again, On Wed, 2006-12-20 at 23:52 +0200, Devrim GUNDUZ wrote: In frmEditGrid.cpp, change EVT_AUI_PANEBUTTON to EVT_AUI_PANE_BUTTON Thanks for the quick reply :) I'll apply this tomorrow morning. But since I'm trying to build RPM set, I will add this as a temp patch to spec file. I applied this small patch: http://developer.postgresql.org/~devrim/rpms/other/pgadmin3/pgadmin3-1.6.1-frm.patch However, I still get an error: make[4]: Entering directory `/usr/src/redhat/BUILD/pgadmin3-1.6.1/xtra/pgagent' g++ -DDATA_DIR=\/usr/share/pgadmin3/\ -Wall -Wno-non-virtual-dtor -I./include -L/usr/lib -L/usr/lib -o pgagent connection.o job.o misc.o pgAgent.o unix.o -pthread -lwx_baseu-2.8 -L/usr/lib -lpq connection.o: In function `wxTransform2D::Transform(wxRect2DInt*) const': connection.cpp:(.gnu.linkonce.t._ZNK13wxTransform2D9TransformEP11wxRect2DInt+0x93): undefined reference to `wxRect2DInt::operator=(wxRect2DInt const)' connection.o: In function `wxTransform2D::InverseTransform(wxRect2DInt*) const': connection.cpp:(.gnu.linkonce.t._ZNK13wxTransform2D16InverseTransformEP11wxRect2DInt+0x93): undefined reference to `wxRect2DInt::operator=(wxRect2DInt const)' collect2: ld returned 1 exit status make[4]: *** [pgagent] Error 1 Any idea on this one? Cheers, -- The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564 PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/ signature.asc Description: This is a digitally signed message part
[pgadmin-hackers] pgadmin3 1.6.1 build error on FC6
Hi, I'm trying to build 1.6.1 RPM on FC6 (Yes, I built wx on FC6). I got this error: snip rm -f .deps/frmEditGrid.Tpo; exit 1; fi /usr/include/wx-2.8/wx/hashmap.h: In member function 'wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int) const': /usr/include/wx-2.8/wx/hashmap.h:714: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/clntdata.h: In member function 'wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString) const': /usr/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/clntdata.h: In member function 'wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString) const': /usr/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/gdicmn.h: In member function 'wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString) const': /usr/include/wx-2.8/wx/gdicmn.h:540: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/image.h: In member function 'wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int) const': /usr/include/wx-2.8/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.8/wx/filesys.h: In member function 'wxFSHandlerHash_wxImplementation_HashTable::Node** wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* const) const': /usr/include/wx-2.8/wx/filesys.h:176: warning: dereferencing type-punned pointer will break strict-aliasing rules ./frm/frmEditGrid.cpp: At global scope: ./frm/frmEditGrid.cpp:78: error: 'EVT_AUI_PANEBUTTON' was not declared in this scope ./frm/frmEditGrid.cpp:79: error: expected `}' before 'wxEventTableEntry' ./frm/frmEditGrid.cpp:79: error: expected ',' or ';' before 'wxEventTableEntry' ./frm/frmEditGrid.cpp:79: error: expected declaration before '}' token ../src/include/images/viewdata.xpm:2: warning: 'viewdata_xpm' defined but not used ../src/include/images/storedata.xpm:2: warning: 'storedata_xpm' defined but not used ../src/include/images/readdata.xpm:2: warning: 'readdata_xpm' defined but not used ../src/include/images/delete.xpm:2: warning: 'delete_xpm' defined but not used ../src/include/images/edit_undo.xpm:2: warning: 'edit_undo_xpm' defined but not used ../src/include/images/sortfilter.xpm:2: warning: 'sortfilter_xpm' defined but not used ../src/include/images/help.xpm:2: warning: 'help_xpm' defined but not used ../src/include/images/clip_copy.xpm:2: warning: 'clip_copy_xpm' defined but not used ../src/include/images/clip_paste.xpm:2: warning: 'clip_paste_xpm' defined but not used make[2]: *** [frmEditGrid.o] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/pgadmin3-1.6.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/pgadmin3-1.6.1' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.81943 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.81943 (%build) The environment is: $ rpm -qv wxGTK-devel wxGTK-devel-2.8.0-2.8.0.1.3 $ wx-config --list Default config is gtk2-unicode-release-static-2.6 Default config will be used for output Alternate matches: gtk2-unicode-debug-2.6 gtk2-unicode-debug-static-2.6 gtk2-unicode-release-2.6 and configure options are: --disable-debug --with-wx-version=2.8 --with-wx=/usr Any comments? Regards, -- The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564 PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/ signature.asc Description: This is a digitally signed message part
Re: [pgadmin-hackers] pgadmin3 1.6.1 build error on FC6
Devrim GUNDUZ wrote: Hi, I'm trying to build 1.6.1 RPM on FC6 (Yes, I built wx on FC6). I got this error: ... Any comments? In frmEditGrid.cpp, change EVT_AUI_PANEBUTTON to EVT_AUI_PANE_BUTTON There 2 other similar changes to make in other files iirc. This is updated in SVN already, but the older pgAdmin doesn't work out of the box with the newer wxWidgets :-p Regards, Dave. ---(end of broadcast)--- TIP 6: explain analyze is your friend
Re: [pgadmin-hackers] pgadmin3 1.6.1 build error on FC6
Hi Dave, On Wed, 2006-12-20 at 21:48 +, Dave Page wrote: In frmEditGrid.cpp, change EVT_AUI_PANEBUTTON to EVT_AUI_PANE_BUTTON Thanks for the quick reply :) I'll apply this tomorrow morning. But since I'm trying to build RPM set, I will add this as a temp patch to spec file. There 2 other similar changes to make in other files iirc. This is updated in SVN already, but the older pgAdmin doesn't work out of the box with the newer wxWidgets :-p When will 1.6.2 be out? :-) Cheers, -- The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564 PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/ signature.asc Description: This is a digitally signed message part