Hi,
I was trying to install pgadmin with src packs. I installed all requirements but i founded some errors.
Report:
- The version of pgadmin: pgadmin3-1.4.1
- Operational system: Red Hat Enterprise 4, kernell version 2.6.9-11.ELsmp
- wxGTK-2.6.2 if below command lines:
cd wxWidgets*
./configure --with-gtk --enable-gtk2 --enable-unicode --enable-mimetype=no
make
sudo make install
- libxml2-2.6.16-1.i386.rpm
- PostgreSQL version: postgresql-8.1.3
./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
When i tried to instal do pgadmin:
./configure .......... Ok!
make all ............. Error!
...
In file included from ../src/include/pgAdmin3.h:22,
from ./pgAdmin3.cpp:13:
../src/include/ctl/ctlSQLBox.h:17:24: wx/stc/stc.h: File not founded!
In file included from ../src/include/pgAdmin3.h:22,
from ./pgAdmin3.cpp:13:
../src/include/ctl/ctlSQLBox.h:23: error: expected class-name before '{' token
./pgAdmin3.cpp:60:24: wx/ogl/ogl.h: File or Directory not founded
./pgAdmin3.cpp: In member function `virtual bool pgAdmin3::OnInit()':
./pgAdmin3.cpp:341: error: `wxOGLInitialize' undeclared (first use this function)
./pgAdmin3.cpp:341: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: ** [pgAdmin3.o] Error 1
make[2]: Leaving directory `/usr/local/pgadmin3-1.4.1/src'
make[1]: ** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/pgadmin3-1.4.1'
make: ** [all] Error 2
How to solve this problem?
Best regards,
Rômulo.
---------------------------------
Yahoo! Acesso Grátis
Internet rápida e grátis. Instale o discador agora!