Thread: pgAdmin Install
I am trying to compile pgAdmin on Fedora Core 5 but no luck. I have used the following configure options: ./configure --disable-debug --with-wx-version=2.8 Here is the tail of make, and i have in fact compiled the contrib modules of wxWidgets, but still no luck : /usr/local/include/wx-2.8/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/local/include/wx-2.8/wx/filesys.h: In member function âwxFSHandlerHash_wxImplementation_HashTable::Node** wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* const&) constâ: /usr/local/include/wx-2.8/wx/filesys.h:176: warning: dereferencing type-punned pointer will break strict-aliasing rules ../src/include/pgconfig.h: In member function âpgSettingItemHashmap_wxImplementation_HashTable::Node** pgSettingItemHashmap_wxImplementation_HashTable::GetNodePtr(const wxString&) constâ: ../src/include/pgconfig.h:174: warning: dereferencing type-punned pointer will break strict-aliasing rules ../src/include/pgconfig.h: In member function âpgCategoryHashmap_wxImplementation_HashTable::Node** pgCategoryHashmap_wxImplementation_HashTable::GetNodePtr(const wxString&) constâ: ../src/include/pgconfig.h:175: warning: dereferencing type-punned pointer will break strict-aliasing rules if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include -I../src/slony/include -I/usr/local/pgsql/include -DSSL -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -O2 -I/usr/include/libxml2 -I/usr/include/libxml2 -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -Wno-non-virtual-dtor -I../src/include -I../src/agent/include -I../src/slony/include -MT frmEditGrid.o -MD -MP -MF ".deps/frmEditGrid.Tpo" -c -o frmEditGrid.o `test -f './frm/frmEditGrid.cpp' || echo './'`./frm/frmEditGrid.cpp; \ then mv -f ".deps/frmEditGrid.Tpo" ".deps/frmEditGrid.Po"; else rm -f ".deps/frmEditGrid.Tpo"; exit 1; fi /usr/local/include/wx-2.8/wx/hashmap.h: In member function âwxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) constâ:/usr/local/include/wx-2.8/wx/hashmap.h:714: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/local/include/wx-2.8/wx/clntdata.h: In member function âwxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) constâ: /usr/local/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/local/include/wx-2.8/wx/clntdata.h: In member function âwxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) constâ: /usr/local/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/local/include/wx-2.8/wx/gdicmn.h: In member function âwxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) constâ: /usr/local/include/wx-2.8/wx/gdicmn.h:540: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/local/include/wx-2.8/wx/image.h: In member function âwxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) constâ: /usr/local/include/wx-2.8/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/local/include/wx-2.8/wx/filesys.h: In member function âwxFSHandlerHash_wxImplementation_HashTable::Node** wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* const&) constâ: /usr/local/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/local/share/pgadmin3-1.6.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/share/pgadmin3-1.6.1' make: *** [all] Error 2
2007/1/2, Ryan Ollerenshaw <ryanollerenshaw@gmail.com>: > I am trying to compile pgAdmin on Fedora Core 5 but no luck. > > I have used the following configure options: > ./configure --disable-debug --with-wx-version=2.8 > > Here is the tail of make, and i have in fact compiled the contrib > modules of wxWidgets, but still no luck : > > /usr/local/include/wx-2.8/wx/image.h:136: warning: dereferencing > type-punned pointer will break strict-aliasing rules > /usr/local/include/wx-2.8/wx/filesys.h: In member function > ‘wxFSHandlerHash_wxImplementation_HashTable::Node** > wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* > const&) const’: > /usr/local/include/wx-2.8/wx/filesys.h:176: warning: dereferencing > type-punned pointer will break strict-aliasing rules > ../src/include/pgconfig.h: In member function > ‘pgSettingItemHashmap_wxImplementation_HashTable::Node** > pgSettingItemHashmap_wxImplementation_HashTable::GetNodePtr(const > wxString&) const’: > ../src/include/pgconfig.h:174: warning: dereferencing type-punned > pointer will break strict-aliasing rules > ../src/include/pgconfig.h: In member function > ‘pgCategoryHashmap_wxImplementation_HashTable::Node** > pgCategoryHashmap_wxImplementation_HashTable::GetNodePtr(const > wxString&) const’: > ../src/include/pgconfig.h:175: warning: dereferencing type-punned > pointer will break strict-aliasing rules > if g++ -DHAVE_CONFIG_H -I. -I. -I.. > -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall > -Wno-non-virtual-dtor -I../src/include -I../src/agent/include > -I../src/slony/include -I/usr/local/pgsql/include -DSSL > -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 > -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -D__WXGTK__ -O2 -I/usr/include/libxml2 -I/usr/include/libxml2 > -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall > -Wno-non-virtual-dtor -I../src/include -I../src/agent/include > -I../src/slony/include -MT frmEditGrid.o -MD -MP -MF > ".deps/frmEditGrid.Tpo" -c -o frmEditGrid.o `test -f > './frm/frmEditGrid.cpp' || echo './'`./frm/frmEditGrid.cpp; \ > then mv -f ".deps/frmEditGrid.Tpo" ".deps/frmEditGrid.Po"; else rm -f > ".deps/frmEditGrid.Tpo"; exit 1; fi > /usr/local/include/wx-2.8/wx/hashmap.h: In member function > ‘wxLongToLongHashMap_wxImplementation_HashTable::Node** > wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long > int&) const’:/usr/local/include/wx-2.8/wx/hashmap.h:714: warning: > dereferencing type-punned pointer will break strict-aliasing rules > /usr/local/include/wx-2.8/wx/clntdata.h: In member function > ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** > wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const > wxString&) const’: > /usr/local/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing > type-punned pointer will break strict-aliasing rules > /usr/local/include/wx-2.8/wx/clntdata.h: In member function > ‘wxShadowObjectFields_wxImplementation_HashTable::Node** > wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const > wxString&) const’: > /usr/local/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing > type-punned pointer will break strict-aliasing rules > /usr/local/include/wx-2.8/wx/gdicmn.h: In member function > ‘wxStringToColourHashMap_wxImplementation_HashTable::Node** > wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const > wxString&) const’: > /usr/local/include/wx-2.8/wx/gdicmn.h:540: warning: dereferencing > type-punned pointer will break strict-aliasing rules > /usr/local/include/wx-2.8/wx/image.h: In member function > ‘wxImageHistogramBase_wxImplementation_HashTable::Node** > wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long > unsigned int&) const’: > /usr/local/include/wx-2.8/wx/image.h:136: warning: dereferencing > type-punned pointer will break strict-aliasing rules > /usr/local/include/wx-2.8/wx/filesys.h: In member function > ‘wxFSHandlerHash_wxImplementation_HashTable::Node** > wxFSHandlerHash_wxImplementation_HashTable::GetNodePtr(const void* > const&) const’: > /usr/local/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/local/share/pgadmin3-1.6.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/share/pgadmin3-1.6.1' > make: *** [all] Error 2 > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > Look for a recent message called "Make error 1.6.1" Regards, -- Clodoaldo Pinto Neto
Hi, On Tue, 2007-01-02 at 17:54 -0800, Ryan Ollerenshaw wrote: > I am trying to compile pgAdmin on Fedora Core 5 but no luck. We have built FC-5 RPM. I uploaded them about 10 hours ago, I think it will hit main FTP site soon (http://www.PostgreSQL.org/ftp/pgadmin3/) . You will need to install wx 2.8.0 RPMs before installing pgadmin3. They are also available in our FTP site. 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/