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

Поиск
Список
Период
Сортировка
От DocSea - Rado RAMAHANDRY
Тема Compile Error: pgA1.3.6 (wx2.8.3, pgsql8.1.9)
Дата
Msg-id 46498701.8090304@docsea.com
обсуждение исходный текст
Список 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?
noShould wxWidgets be compiled in debug mode?             no Should wxWidgets be linked as a shared library?
yesShould wxWidgets be compiled in Unicode mode?           yes What level of wxWidgets compatibility should be enabled?
                                    wxWidgets 2.4      no                                      wxWidgets 2.6      yes
Whichlibraries 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 certainplatforms (e.g. Linux) you'll now have to run ldconfigif you
installeda shared library and also modify theLD_LIBRARY_PATH (or equivalent) environment variable.
 
wxWidgets comes with no guarantees and doesn't claimto be suitable for any purpose.
Read the wxWidgets Licence on licencing conditions.------------------------------------------------------
----

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




В списке pgadmin-support по дате отправления:

Предыдущее
От: andy.shellam-lists@mailnetwork.co.uk
Дата:
Сообщение: Re: Restore dialog
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: Compile Error: pgA1.3.6 (wx2.8.3, pgsql8.1.9)