Re: Error when trying to build on Ubunt 11.10

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Tim Uckun <timuckun(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Error when trying to build on Ubunt 11.10
Date: 2011-10-27 19:00:20
Message-ID: 1319742020.6582.7.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Thu, 2011-10-27 at 16:29 +1300, Tim Uckun wrote:
> 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 $
>

All this probably means it doesn't find the wxWidgets headers. How did
you do the configure step? can you tell us a bit more on your way to get
the whole thing?

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

In response to

Responses

Browse pgadmin-support by date

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