Usually tar.gz (Tarball source-code distributions)
are quit easy to install.
gunzip distribution.tar.gz
tar -xvf distribution.tar
cd distribution
perl Makefile.PL
make
make test
su
make install
exit
Thats it!
I don't think RPMs are the way to go but you will find
them e.g with a google search for
DBD::Pg rpm.
Hanamaki | [reply] [Watch: Dir/Any] [d/l] [select] |
DBD::Pg would be rather difficult to install via RPM. The module actually requires the variables POSTGRES_INCLUDE and POSTGRES_LIB to be set (use 'export' for sh and 'setenv' for csh). You need to have the postgres libraries installed. Furthermore, each platform would require a separate rpm based on the hardware architecture. You might try looking on rpmfind.net for a PostgreSQL rpm, and then building DBD::Pg yourself.
Yes, it's a little trouble, but I think you'll find that postgres is an awesome database and it's totally worth it.
brother dep.
--
Laziness, Impatience, Hubris, and Generosity.
| [reply] [Watch: Dir/Any] [d/l] [select] |
you can probably get the gzipped source to install if you set the POSTGRES_INCLUDE and POSTGRES_LIB environment variables before starting the installation. the newest postgresql installs these in /usr/local/pgsql/include and /usr/local/pgsql/lib. to simplify matters, just invoke csh, type setenv POSTGRES_INCLUDE='/usr/local/pgsql/include' and setenv POSTGRES_LIB='/usr/local/pgsql/lib'
then go through the build process (perl Makefile.PL etc.)
if it helps any, i've cussed at this a bit myself. | [reply] [Watch: Dir/Any] |
Ralphie, this is a kind of follow-up discussion
to PostgreSQL/Perl where some of us tried to help
fellow monk dustbuster, but at the moment I do not
have any clue what went wrong.
Maybe you or other monks have some idea to help
dustbuster if you review the mentioned node.
Hanamaki
| [reply] [Watch: Dir/Any] |
I was having problems intalling the DBD:Pg.
Then I somehow manged to corrupt X Windows
Ended up having to reinstall Red Hat and here we
are again.
This time I'll set the variables first, before installing
the DBD.
I also have a bug with Red Hat 7
I can't log on using GNOME to the postgres user
yet I can do it through the command line. Any ideas?
D.
| [reply] [Watch: Dir/Any] |