Compiling pgadmin on Red Hat Enterprise 4

From: Rômulo Lucio Vale de Moraes <romulo_bioinfo(at)yahoo(dot)com(dot)br>
To: pgadmin-support(at)postgresql(dot)org
Subject: Compiling pgadmin on Red Hat Enterprise 4
Date: 2006-03-03 16:07:39
Message-ID: 20060303160739.20310.qmail@web53513.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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! Search
Dê uma espiadinha e saiba tudo sobre o Big Brother Brasil.

Browse pgadmin-support by date

  From Date Subject
Next Message Rômulo Lucio Vale de Moraes 2006-03-03 16:14:41 Compiling pgadmin on Red Hat Enterprise 4
Previous Message Adam Albrechtas 2006-03-03 15:56:50 Unicode characters in query results