Pages

Tuesday, January 7, 2014

pgadmin3 install centos 6

pgadmin3 install centos 6

This post is about installing pgadmin3 in CentOS 6.4, 64 bit from Source.

Download the pgadmin3 source package from the following link.

http://ftp.postgresql.org/pub/pgadmin3/release/v1.8.4/src/pgadmin3-1.8.4.tar.gz

Error I:

configure: error: Could not find your PostgreSQL installation. You might need to use the --with-pgsql=DIR configure option

Solution:
It means, it requires postgres database to be preinstalled from binary.
I installed in /opt/PostgreSQL/9.1
Now run ,

./configure  --with-pgsql=/opt/PostgreSQL/9.1/


Error II:

configure: error: Could not find your wxWidgets installation. You might need to use the --with-wx=DIR configure option

Solution:
Some wx widget packages are missing.

yum install wxBase.x86_64 wxGTK.x86_64
yum install wxGTK
yum install wxGTK-devel
yum install gtk2-devel

Refer:

http://forums.wxwidgets.org/viewtopic.php?f=19&t=31754


Error III :

libxml2 was missing

Solution:

yum install libxml2.x86_64 libxml2-devel.x86_64

Error IV:

libxslt was missing

Solution:

yum install  libxslt-python.x86_64 libxslt.x86_64 libxslt-devel.x86_64


Atlast,

/configure  --with-pgsql=/opt/PostgreSQL/9.1/
 

make

make install

That's it, atlast pgadmin3 installed successfully in my machine.

1 comment: