Jump to content

Installation and compilation of pgAdmin3 and wxWidgets in Fedora core 6


amal.barman

Recommended Posts

HOW TO INSTALL pgAdmin III on FC6T3
-----------------------------------

PgAdmin3 is not distributed along with Fedora Core 6 (Test3 as in my case). I have downloaded it from the pgadmin site. RPM of pgAdmin3 depends on the wxWidgets, and that can be downloaded from it's site. Since wxWidgets is coming with tar.gz form, compilation is required. Once you have both RPM and tar ball do the followings. 

1. Expand the tar ball of wxWidgets
$tar -zxvf wxWidgets-2.6.3.tar.gz
$cd wxWidgets/

3. Compile the wxWidgets ( I have developed a script abx.sh to do that.)
$./configure --with-gtk --enable-gtk2 --enable-unicode \
--enable-mimetype=no --enable-compat22 --enable--compat24
$make
$make install
$/sbin/ldconfig
$cd contrib/
$make
$make install
NOTE: --enable-compat22 --enable--compat24 is necessary for
pgadmin3-1.4.3-1.i686.rpm package. ([b]I need to compile twice for this reason
and wasted a few hour to fix that.[/b]) :o

4. Create the link of shared library object of wxWidgets to /usr/lib/ .
(I do not know the reason, why? ???)
$cd /usr/lib
$for x in `ls /usr/local/lib/*2.6.so.0`; do ln -s $x; done

5. Install pgadmin3-1.4.3-1.i686.rpm (use --nodeps) and run pgadmin3, from
menu or from terminal using $pgadmin3 command. Note that help is still not
working from pgadmin3, and can any body tell me the reason or how to fix it? ???

That's all.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.