Perl-module: Pg

Started by Ludwig Meyerhoffalmost 25 years ago3 messagesgeneral
Jump to latest
#1Ludwig Meyerhoff
ludwig@antar.com

Hallo!

I have a problem. I made an update of my Debian system (meanwhile
"Woody"/testing), and my perl-CGIs do not work any more.
psql, pgaccess work quite fine, but the CGIs (using the "Pg" module) do
not work. On "$conn->errorMessage" I get a "There is no connection to the
backend" ...
Few days ago everything worked fine.

I already tried to install the module again by "perl -MCPAN -e
shell; install Pg", but that did not help, this is the result:

cpan> install Pg
Running install for module Pg
Running make for M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz
CPAN: MD5 loaded ok
Checksum for
/root/.cpan/sources/authors/id/M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz ok
Scanning cache /root/.cpan/build for sizes
pgsql_perl5-1.9.0/
pgsql_perl5-1.9.0/eg/
pgsql_perl5-1.9.0/eg/ApachePg.pl
pgsql_perl5-1.9.0/eg/example.pl
pgsql_perl5-1.9.0/eg/lo_demo.pl
pgsql_perl5-1.9.0/Changes
pgsql_perl5-1.9.0/MANIFEST
pgsql_perl5-1.9.0/Makefile.PL
pgsql_perl5-1.9.0/Pg.pm
pgsql_perl5-1.9.0/Pg.xs
pgsql_perl5-1.9.0/README
pgsql_perl5-1.9.0/test.pl
pgsql_perl5-1.9.0/typemap
Removing previously used /root/.cpan/build/pgsql_perl5-1.9.0

CPAN.pm: Going to build M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz

Configuring Pg
Remember to actually read the README file !
please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install

cpan>

How can I solve that problem?

Ludwig

In reply to: Ludwig Meyerhoff (#1)
Re: Perl-module: Pg

Ludwig Meyerhoff <ludwig@antar.com> writes:

Remember to actually read the README file !

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install

cpan>

How can I solve that problem?

Follow the rather explicit hints.

--
Trond Eivind Glomsr�d
Red Hat, Inc.

#3Alex Knight
knight@phunc.com
In reply to: Ludwig Meyerhoff (#1)
Re: Perl-module: Pg

Ludwig,

The answer is right in front of you :)

In your shell, set your postgres library and include paths.
An example is:

$ POSTGRES_INCLUDE = "/home/postgres/include";export POSTGRES_INCLUDE
$ POSTGRES_LIB = "/home/postgres/lib";export POSTGRES_LIB

Then execute your CPAN install again.

Knight

On Wed, 27 Jun 2001, Ludwig Meyerhoff wrote:

Show quoted text

Hallo!

I have a problem. I made an update of my Debian system (meanwhile
"Woody"/testing), and my perl-CGIs do not work any more.
psql, pgaccess work quite fine, but the CGIs (using the "Pg" module) do
not work. On "$conn->errorMessage" I get a "There is no connection to the
backend" ...
Few days ago everything worked fine.

I already tried to install the module again by "perl -MCPAN -e
shell; install Pg", but that did not help, this is the result:

cpan> install Pg
Running install for module Pg
Running make for M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz
CPAN: MD5 loaded ok
Checksum for
/root/.cpan/sources/authors/id/M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz ok
Scanning cache /root/.cpan/build for sizes
pgsql_perl5-1.9.0/
pgsql_perl5-1.9.0/eg/
pgsql_perl5-1.9.0/eg/ApachePg.pl
pgsql_perl5-1.9.0/eg/example.pl
pgsql_perl5-1.9.0/eg/lo_demo.pl
pgsql_perl5-1.9.0/Changes
pgsql_perl5-1.9.0/MANIFEST
pgsql_perl5-1.9.0/Makefile.PL
pgsql_perl5-1.9.0/Pg.pm
pgsql_perl5-1.9.0/Pg.xs
pgsql_perl5-1.9.0/README
pgsql_perl5-1.9.0/test.pl
pgsql_perl5-1.9.0/typemap
Removing previously used /root/.cpan/build/pgsql_perl5-1.9.0

CPAN.pm: Going to build M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz

Configuring Pg
Remember to actually read the README file !
please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install

cpan>

How can I solve that problem?

Ludwig

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster