Compile Error: pgA1.3.6 (wx2.8.3, pgsql8.1.9)

From: DocSea - Rado RAMAHANDRY <rramahandry(at)docsea(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Compile Error: pgA1.3.6 (wx2.8.3, pgsql8.1.9)
Date: 2007-05-15 10:10:09
Message-ID: 46498701.8090304@docsea.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support


Hi,

I have a problem to compile pgadmin3-1.6.3 for PostgreSQL 8.1.9 in Ubuntu.
The configuration and the installation of wxWidgets-2.8.3 as well as the
configuration of pgadmin3-1.6.3 proceeded normally, but the compilation
of pgadmin3-1.6.3 leaves me these error messages:

------
#>./configure
...
config.status: executing depfiles commands

PostgreSQL directory: /usr
PostgreSQL pg_config binary: /usr/bin/pg_config
PostgreSQL version: PostgreSQL 8.1.9
PostgreSQL SSL support: Present

wxWidgets directory: /usr/local
wxWidgets wx-config binary: /usr/local/bin/wx-config
wxWidgets version: wxWidgets 2.8.3

Building a debug version of pgAdmin: No
Statically linking pgAdmin: No
Building a Mac OS X appbundle: No
Include documentation: Yes

pgAdmin configuration is now complete. You can now compile and
install pgAdmin using 'make; make install'.

------
#>make
...
Dans le fichier inclus à partir de ../src/include/pgAdmin3.h:22,
à partir de ./pgAdmin3.cpp:13:
../src/include/ctl/ctlSQLBox.h:17:24: erreur: wx/stc/stc.h : Aucun
fichier ou répertoire de ce type
./pgAdmin3.cpp:65:24: erreur: wx/ogl/ogl.h : Aucun fichier ou répertoire
de ce type
../src/include/ctl/ctlSQLBox.h:37: erreur: expected class-name before
«{» token
../src/include/ctl/ctlSQLBox.h:66: erreur: «wxStyledTextEvent» has not
been declared
../src/include/frmMain.h:155: erreur: «wxStyledTextEvent» has not been
declared
../src/include/frmMain.h: In member function «void
frmMain::OnCopy(wxCommandEvent&)»:
../src/include/frmMain.h:149: erreur: «class ctlSQLBox» has no member
named «Copy»
../src/include/frmQuery.h: At global scope:
../src/include/frmQuery.h:73: erreur: «wxStyledTextEvent» has not been
declared
../src/include/frmQuery.h:74: erreur: «wxStyledTextEvent» has not been
declared
./pgAdmin3.cpp: In member function «virtual bool pgAdmin3::OnInit()»:
./pgAdmin3.cpp:377: erreur: «wxOGLInitialize» was not declared in this scope
make[2]: *** [pgAdmin3.o] Erreur 1
make[2]: quittant le répertoire « /usr/lib/pgadmin3-1.6.3/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /usr/lib/pgadmin3-1.6.3 »
make: *** [all] Erreur 2
-------

I puts here the messages and the errors which I had during the
compilation and the installation of wxWidgets-2.8.3:

------
#>./configure --with-gtk --enable-gtk2 --enable-unicode
--enable-mimetype=no'
...
Configured wxWidgets 2.8.3 for `i686-pc-linux-gnu'

Which GUI toolkit should wxWidgets use? GTK+ 2
Should wxWidgets be compiled into single library? no
Should wxWidgets be compiled in debug mode? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets be compiled in Unicode mode? yes
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.4 no
wxWidgets 2.6 yes
Which libraries should wxWidgets use?
jpeg builtin
png sys
regex builtin
tiff builtin
zlib sys
odbc no
expat sys
libmspack no
sdl no
------
#>make (ok)
------
#>make install
...
The installation of wxWidgets is finished. On certain
platforms (e.g. Linux) you'll now have to run ldconfig
if you installed a shared library and also modify the
LD_LIBRARY_PATH (or equivalent) environment variable.

wxWidgets comes with no guarantees and doesn't claim
to be suitable for any purpose.

Read the wxWidgets Licence on licencing conditions.
------------------------------------------------------
----

Thanks to all who helped me fixing this.
Rado R.

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Hiroshi Saito 2007-05-15 11:18:27 Re: Compile Error: pgA1.3.6 (wx2.8.3, pgsql8.1.9)
Previous Message andy.shellam-lists 2007-05-14 14:53:03 Re: Restore dialog