There are relatively few things you will need to do to configure PgAccess for use with
PostgreSQL. Most importantly, make sure that Tcl/Tk is installed and
configured properly.
To configure PostgreSQL with TCL support, you must have used the
--with-tcl
flag during source
compilation. The use of the
--with-tcl
flag will configure the appropriate tcl libraries
for use with PostgreSQL. This flag will install the
pgaccess
binary for you.
Note: PgAccess will not operate unless you have configured PostgreSQL to support Tcl/Tk.
Linux distributions that come with PostgreSQL, such as Red Hat and Mandrake, should have TCL
support compiled in to their PostgreSQL binaries.
If you did not use the
--with-tcl
flag during your original compilation you can add TCL support
to your existing PostgreSQL configuration without having to reinitialize the PostgreSQL data directories by reconfiguring
PostgreSQL with the
--with-tcl
flag, and subsequently recompiling.
After the reconfiguration is complete, clean up the directory by typing:
gmake clean
, and then
recompile the code by typing:
gmake
. Finally, shut down
postmaster
and type the
command:
gmake install
. This will install the new binaries and libraries for the reconfigured
PostgreSQL system. Once these are installed you can safely restart PostgreSQL.
Warning
|
If you are going to recompile PostgreSQL after it has been installed, you
must
use source from the same version of PostgreSQL that you originally compiled. If you use a different version of the
source, you may lose data. As always, it is a good idea to backup your data before performing any changes to
your PostgreSQL installation.
|