[postgresql-it] pgadmin3 lts

  • From: Luca Ferrari <fluca1978@xxxxxxxxxxx>
  • To: postgresql-it <postgresql-it@xxxxxxxxxxxxx>
  • Date: Thu, 16 Nov 2017 08:50:10 -0000

Ciao,
qualcuno è forse riuscito a compilare pgadmin3 lts
<https://www.openscg.com/bigsql/pgadmin3/>?
Apparentemente ci sono dei problemi a compilare la versione attuale:
<https://bitbucket.org/openscg/pgadmin3-lts/issues/4/master-not-building#comment-40954015>
ma quello che succede a me è:

make[3]: Entering directory '/home/luca/tmp/pgadmin3-lts/pgadmin'
depbase=`echo ctl/ctlSQLGrid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I.. -I../pgadmin/include/libssh2
-DDATA_DIR=\"/opt/pgadmin310lts/share/pgadmin3/\" -I../pgadmin/include
-I../pgadmin/include/libssh2   -I/usr/include/postgresql
-I/usr/include/postgresql/9.6/server -I/usr/include/postgresql
-DPG_SSL -DHAVE_CONNINFO_PARSE
-I/opt/wxwidgets310/lib/wx/include/gtk2-unicode-3.1
-I/opt/wxwidgets310/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL
-D__WXGTK__ -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2
-DHAVE_OPENSSL_CRYPTO -DLIBSSH2_OPENSSL  -O2 -MT ctl/ctlSQLGrid.o -MD
-MP -MF $depbase.Tpo -c -o ctl/ctlSQLGrid.o ctl/ctlSQLGrid.cpp &&\
mv -f $depbase.Tpo $depbase.Po
ctl/ctlSQLGrid.cpp: In constructor ‘ctlSQLGrid::ctlSQLGrid(wxWindow*,
wxWindowID, const wxPoint&, const wxSize&)’:
ctl/ctlSQLGrid.cpp:47:27: warning: ‘void
wxFont::SetWeight(wxDeprecatedGUIConstants)’ is deprecated: use
wxFONTWEIGHT_XXX constants [-Wdeprecated-declarations]
  fntLabel.SetWeight(wxBOLD);
                           ^
In file included from /opt/wxwidgets310/include/wx-3.1/wx/window.h:23:0,
                 from /opt/wxwidgets310/include/wx-3.1/wx/wx.h:38,
                 from ../pgadmin/include/pgAdmin3.h:17,
                 from ctl/ctlSQLGrid.cpp:12:
/opt/wxwidgets310/include/wx-3.1/wx/font.h:497:10: note: declared here
     void SetWeight(wxDeprecatedGUIConstants weight) \
          ^
/opt/wxwidgets310/include/wx-3.1/wx/gtk/font.h:86:5: note: in
expansion of macro ‘wxDECLARE_COMMON_FONT_METHODS’
     wxDECLARE_COMMON_FONT_METHODS();
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ctl/ctlSQLGrid.cpp: In member function ‘void
ctlSQLGrid::OnLabelDoubleClick(wxGridEvent&)’:
ctl/ctlSQLGrid.cpp:330:32: error: ‘SetRowHeight’ was not declared in this scope
    SetRowHeight(row, extentWant);
                                ^
ctl/ctlSQLGrid.cpp:370:41: error: ‘GetColumnWidth’ was not declared in
this scope
    int currentWidth = GetColumnWidth(col);
                                         ^
ctl/ctlSQLGrid.cpp:389:35: error: ‘SetColumnWidth’ was not declared in
this scope
     SetColumnWidth(col, extentWant);
                                   ^
Makefile:5564: recipe for target 'ctl/ctlSQLGrid.o' failed
make[3]: *** [ctl/ctlSQLGrid.o] Error 1
make[3]: Leaving directory '/home/luca/tmp/pgadmin3-lts/pgadmin'
Makefile:3569: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/luca/tmp/pgadmin3-lts/pgadmin'
Makefile:593: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/luca/tmp/pgadmin3-lts'
Makefile:478: recipe for target 'all' failed
make: *** [all] Error 2

Sto usando xwWidgets 3.1.0 compilato fresco fresco.
Vorrei evitare di installare pgc per avere pgadmin.
Qualche indizio?

Grazie,
Luca

Other related posts:

  • » [postgresql-it] pgadmin3 lts - Luca Ferrari