Error when trying to build on Ubunt 11.10

From: Tim Uckun <timuckun(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Error when trying to build on Ubunt 11.10
Date: 2011-10-27 03:29:01
Message-ID: CAGuHJrNDd0y8GrcEm09280M-ZxRrugWq5-LgVpwWA_xADJnBpQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

I am getting the following error when running make. Configure went smoothly.

./pgAdmin3.cpp: In function ‘wxAppConsole* wxCreateApp()’:
./pgAdmin3.cpp:117:1: error: cannot allocate an object of abstract
type ‘pgAdmin3’
../pgadmin/include/pgAdmin3.h:147:7: note: because the following
virtual functions are pure within ‘pgAdmin3’:
/usr/include/wx-2.8/wx/app.h:89:17: note: virtual int wxAppConsole::OnRun()
./pgAdmin3.cpp: At global scope:
./pgAdmin3.cpp:142:1: error: invalid use of incomplete type ‘struct wxFrame’
/usr/include/wx-2.8/wx/utils.h:50:28: error: forward declaration of
‘struct wxFrame’
./pgAdmin3.cpp:146:16: error: ‘wxCommandEvent’ has not been declared
./pgAdmin3.cpp:147:2: error: ‘wxListBox’ does not name a type
./pgAdmin3.cpp:152:1: error: incomplete type ‘wxFrame’ used in nested
name specifier
./pgAdmin3.cpp:153:2: error: invalid use of non-static member function
‘void frmDlgTest::OnSelect(int&)’
./pgAdmin3.cpp:153:2: error: ‘wxCommandEventHandler’ was not declared
in this scope
./pgAdmin3.cpp: In constructor ‘frmDlgTest::frmDlgTest()’:
./pgAdmin3.cpp:157:28: error: type ‘wxFrame’ is not a direct base of
‘frmDlgTest’
./pgAdmin3.cpp:159:2: error: ‘dlgList’ was not declared in this scope
./pgAdmin3.cpp:159:16: error: expected type-specifier before ‘wxListBox’
./pgAdmin3.cpp:159:16: error: expected ‘;’ before ‘wxListBox’
./pgAdmin3.cpp: At global scope:
./pgAdmin3.cpp:182:27: error: variable or field ‘OnSelect’ declared void
./pgAdmin3.cpp:182:27: error: ‘wxCommandEvent’ was not declared in this scope
./pgAdmin3.cpp:182:43: error: ‘ev’ was not declared in this scope
make[3]: *** [pgAdmin3.o] Error 1
make[3]: Leaving directory
`/usr/local/home/tim/Downloads/pgadmin3-1.14.0/pgadmin'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/local/home/tim/Downloads/pgadmin3-1.14.0/pgadmin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/home/tim/Downloads/pgadmin3-1.14.0'
make: *** [all] Error 2
/usr/local/home/tim/Downloads/pgadmin3-1.14.0 $

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Stephens, Violette L 2011-10-27 15:54:01 Default application is not working
Previous Message Josh Berkus 2011-10-27 01:02:31 Re: Re: Bug - Rows in Query Output pane fail to grow in height when font size preference size is larger