perlDBD::pg error! Please help (have all details in post)

From: Raoul Callaghan <ausit(at)bigpond(dot)net(dot)au>
To: pgsql-docs(at)postgresql(dot)org
Subject: perlDBD::pg error! Please help (have all details in post)
Date: 2001-04-28 22:54:47
Message-ID: B7118607.2338%ausit@bigpond.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Have attempted to install DBI and DBD, but DBD ³make test² fails.
Below is my complete procedure , starting from:

Accessing PostgreSQL from the command line, (successful)
creating a database, populating. (successful)
Expanding DBI and DBD. (successful)
Installing DBI (seemingly successful)
Set environments. (successful)
Install DBD. (error occur on ³test²)

So now I¹m hoping someone can help me out....

I think I have included all the version information throughout the
procedure.
if not please let me know.

Any assistance would be greatly appreciated.

#############LOG OF TELNET SESSION##############

Linux/PPC 2000 Q4
Packages current to December 25 2000
Kernel 2.2.18-4hpmac on a ppc
login: ausit
Password:
Last login: Sun Apr 29 06:15:07 from 192.168.168.50
[ausit(at)pivot ausit]$ su
Password:

#############ACCESSING POSTGRES##############

[root(at)pivot ausit]# su postgres
bash-2.04$ psql -V
psql (PostgreSQL) 7.0.3
contains readline, history, multibyte support
Portions Copyright (c) 1996-2000, PostgreSQL, Inc
Portions Copyright (c) 1996 Regents of the University of California
Read the file COPYRIGHT or use the command \copyright to see the
usage and distribution terms.
bash-2.04$ createdb post_demo
CREATE DATABASE
bash-2.04$ psql post_demo
Welcome to psql, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit

post_demo=# \d
No relations found.
post_demo=# create table test_class (yeh int4, nah text);
CREATE
post_demo=# insert into test_class (yeh, nah) values (123,'one_two_three');
INSERT 19082 1
post_demo=# select * from test_class ;
yeh | nah
-----+---------------
123 | one_two_three
(1 row)

post_demo=# \q
bash-2.04$ exit
exit
[root(at)pivot ausit]# exit
exit

#############EXPANDING DBI AND DBD##############

[ausit(at)pivot ausit]$ ls
Desktop src
[ausit(at)pivot ausit]$ cd src
[ausit(at)pivot src]$ ll
total 3208
-rwxr-xr-x 1 ausit ausit 174080 Apr 29 02:26 DBD-Pg-0.98.tar
-rwxr-xr-x 1 ausit ausit 632320 Apr 29 02:26 DBI-1.15.tar
-rwxr-xr-x 1 ausit ausit 456331 Apr 29 02:26
apache-1.3.14-2.6.2.ppc.rpm
-rwxr-xr-x 1 ausit ausit 110724 Apr 29 02:26
apache-devel-1.3.14-2.6.2.ppc.r
-rwxr-xr-x 1 ausit ausit 473057 Apr 29 02:26
apache-manual-1.3.14-2.6.2.ppc.
-rwxr-xr-x 1 ausit ausit 1083848 Apr 29 02:26
apache-ssl-1.3.12_1.40-1.ppc.rp
-rwxr-xr-x 1 ausit ausit 18089 Apr 29 02:26
perl-Mail-Sendmail-0.77-6.ppc.r
drwxr-xr-x 4 ausit ausit 4096 Apr 29 08:07 pg
-rw-r--r-- 1 ausit ausit 284204 Apr 29 02:52
tar-1.13.17-5.ppc.rpm
[ausit(at)pivot src]$ tar xvf DBD-Pg-0.98.tar
DBD-Pg-0.98/
DBD-Pg-0.98/eg/
DBD-Pg-0.98/eg/ApacheDBI.pl
DBD-Pg-0.98/Changes
DBD-Pg-0.98/MANIFEST
DBD-Pg-0.98/Makefile.PL
DBD-Pg-0.98/Pg.h
DBD-Pg-0.98/Pg.pm
DBD-Pg-0.98/Pg.xs
DBD-Pg-0.98/README
DBD-Pg-0.98/README.win32
DBD-Pg-0.98/dbd-pg.pod
DBD-Pg-0.98/dbdimp.c
DBD-Pg-0.98/dbdimp.h
DBD-Pg-0.98/test.pl
[ausit(at)pivot src]$ tar xvf DBI-1.15.tar
DBI-1.15/
DBI-1.15/lib/
DBI-1.15/lib/DBD/
DBI-1.15/lib/DBD/ExampleP.pm
DBI-1.15/lib/DBD/Proxy.pm
DBI-1.15/lib/DBD/NullP.pm
DBI-1.15/lib/DBD/Sponge.pm
DBI-1.15/lib/DBD/Multiplex.pm
DBI-1.15/lib/DBD/ADO.pm
DBI-1.15/lib/DBI/
DBI-1.15/lib/DBI/Shell.pm
DBI-1.15/lib/DBI/FAQ.pm
DBI-1.15/lib/DBI/ProxyServer.pm
DBI-1.15/lib/DBI/DBD.pm
DBI-1.15/lib/DBI/W32ODBC.pm
DBI-1.15/lib/DBI/Format.pm
DBI-1.15/lib/Bundle/
DBI-1.15/lib/Bundle/DBI.pm
DBI-1.15/lib/Win32/
DBI-1.15/lib/Win32/DBIODBC.pm
DBI-1.15/DBI.xs
DBI-1.15/t/
DBI-1.15/t/meta.t
DBI-1.15/t/dbidrv.t
DBI-1.15/t/examp.t
DBI-1.15/t/subclass.t
DBI-1.15/t/proxy.t
DBI-1.15/t/basics.t
DBI-1.15/t/shell.t
DBI-1.15/Perl.xs
DBI-1.15/DBIXS.h
DBI-1.15/MANIFEST
DBI-1.15/Driver.xst
DBI-1.15/Changes
DBI-1.15/dbipport.h
DBI-1.15/Makefile.PL
DBI-1.15/test.pl
DBI-1.15/README
DBI-1.15/dbd_xsh.h
DBI-1.15/dbish.PL
DBI-1.15/dbi_sql.h
DBI-1.15/ToDo
DBI-1.15/DBI.pm
DBI-1.15/dbiproxy.PL
[ausit(at)pivot src]$ ll
total 3216
drwxr-xr-x 3 ausit ausit 4096 Apr 25 21:50 DBD-Pg-0.98
-rwxr-xr-x 1 ausit ausit 174080 Apr 29 02:26 DBD-Pg-0.98.tar
drwxr-xr-x 4 ausit ausit 4096 Mar 31 00:57 DBI-1.15
-rwxr-xr-x 1 ausit ausit 632320 Apr 29 02:26 DBI-1.15.tar
-rwxr-xr-x 1 ausit ausit 456331 Apr 29 02:26
apache-1.3.14-2.6.2.ppc.rpm
-rwxr-xr-x 1 ausit ausit 110724 Apr 29 02:26
apache-devel-1.3.14-2.6.2.ppc.r
-rwxr-xr-x 1 ausit ausit 473057 Apr 29 02:26
apache-manual-1.3.14-2.6.2.ppc.
-rwxr-xr-x 1 ausit ausit 1083848 Apr 29 02:26
apache-ssl-1.3.12_1.40-1.ppc.rp
-rwxr-xr-x 1 ausit ausit 18089 Apr 29 02:26
perl-Mail-Sendmail-0.77-6.ppc.r
drwxr-xr-x 4 ausit ausit 4096 Apr 29 08:07 pg
-rw-r--r-- 1 ausit ausit 284204 Apr 29 02:52
tar-1.13.17-5.ppc.rpm

#############INSTALLING DBI ##############

[ausit(at)pivot src]$ cd DBI-1.15
[ausit(at)pivot DBI-1.15]$ su
Password:
[root(at)pivot DBI-1.15]# perl Makefile.PL
*** Note:
The optional PlRPC-modules (RPC::PlServer etc) are not installed.
If you want to use the DBD::Proxy driver and DBI::ProxyServer
modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
You can install them any time after installing the DBI.
You do *not* need these modules for typical DBI usage.

Optional modules are available from any CPAN mirror, in particular
http://www.perl.com/CPAN/modules/by-module
http://www.perl.org/CPAN/modules/by-module
ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module

Checking if your kit is complete...
Looks good
Writing Makefile for DBI

Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.

[root(at)pivot DBI-1.15]# make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBI
mkdir blib/lib/auto
mkdir blib/lib/auto/DBI
mkdir blib/man1
mkdir blib/man3
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBD/Multiplex.pm blib/lib/DBD/Multiplex.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp DBI.pm blib/lib/DBI.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBD/ADO.pm blib/lib/DBD/ADO.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst >
Perl.xsi
/usr/bin/perl -I/usr/lib/perl5/5.00503/ppc-linux -I/usr/lib/perl5/5.00503
/usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.00503/ExtUtils/typemap Perl.xs >xst
mp.c && mv xstmp.c Perl.c
cc -c -Dbool=char -DHAS_BOOL -O2 -fsigned-char -DVERSION=\"1.15\"
-DXS_VERSION=\"1.15\" -fpic -I/usr/lib/perl5/5.00503/ppc-linux/CORE
-DDBI_NO_THREADS Perl.c
make test/usr/bin/perl -I/usr/lib/perl5/5.00503/ppc-linux
-I/usr/lib/perl5/5.00503 /usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.00503/ExtUtils/typemap DBI
.xs >xstmp.c && mv xstmp.c DBI.c
cc -c -Dbool=char -DHAS_BOOL -O2 -fsigned-char -DVERSION=\"1.15\"
-DXS_VERSION=\"1.15\" -fpic -I/usr/lib/perl5/5.00503/ppc-linux/CORE
-DDBI_NO_THREADS DBI.c
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/arch/auto/DBI/DBI.so -shared -L/usr/local/lib
DBI.o
chmod 755 blib/arch/auto/DBI/DBI.so
cp DBI.bs blib/arch/auto/DBI/DBI.bs
chmod 644 blib/arch/auto/DBI/DBI.bs
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/ppc-linux
-I/usr/lib/perl5/5.00503 dbiproxy.PL dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
mkdir blib/script
cp dbiproxy blib/script/dbiproxy
/usr/bin/perl -I/usr/lib/perl5/5.00503/ppc-linux -I/usr/lib/perl5/5.00503
-MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbiproxy
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/ppc-linux
-I/usr/lib/perl5/5.00503 dbish.PL dbish
Extracted dbish from dbish.PL with variable substitutions.
cp dbish blib/script/dbish
/usr/bin/perl -I/usr/lib/perl5/5.00503/ppc-linux -I/usr/lib/perl5/5.00503
-MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbish
Manifying blib/man1/dbiproxy.1
Manifying blib/man3/DBI::W32ODBC.3
Manifying blib/man3/DBI::FAQ.3
Manifying blib/man3/DBI::Shell.3
Manifying blib/man3/DBI::Format.3
Manifying blib/man3/DBI::ProxyServer.3
Manifying blib/man3/Bundle::DBI.3
Manifying blib/man3/DBI::DBD.3
Manifying blib/man1/dbish.1
Manifying blib/man3/DBI.3
Manifying blib/man3/Win32::DBIODBC.3
Manifying blib/man3/DBD::Proxy.3
Manifying blib/man3/DBD::Multiplex.3
Manifying blib/man3/DBD::ADO.3
[root(at)pivot DBI-1.15]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.00503/ppc-linux -I/usr/lib/perl5/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; ru
ntests @ARGV;' t/*.t
t/basics............ok
t/dbidrv............ok
t/examp.............ok
t/meta..............ok
t/proxy.............skipping test on this platform
t/shell.............ok
t/subclass..........ok
All tests successful, 1 test skipped.
Files=7, Tests=183, 4 wallclock secs ( 3.28 cusr + 0.39 csys = 3.67 CPU)
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.00503/ppc-linux -I/usr/lib/perl5/5.00503 test.pl
test.pl
DBI test application $Revision: 10.5 $
Using /home/ausit/src/DBI-1.15/blib
Switch: DBI 1.15 by Tim Bunce, 1.15
Available Drivers: ADO, ExampleP, Multiplex, Pg, Proxy
dbi:ExampleP:: testing 5 sets of 20 connections:
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Disconnecting...
Made 100 connections in 0 wallclock secs ( 0.12 usr + 0.00 sys = 0.12
CPU)

Testing handle creation speed...
5000 NullP statement handles cycled in 3.6 cpu+sys seconds (1388 per sec)

test.pl done
[root(at)pivot DBI-1.15]# make install
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI/DBIXS.h
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI/dbd_xsh.h
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI/dbi_sql.h
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI/Driver.xst
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI/dbipport.h
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI/DBI.so
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI/DBI.bs
(unchanged)
Files found in blib/arch --> Installing files in blib/lib into architecture
dependend library tree!
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBI/W32ODBC.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBI/Shell.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBI/FAQ.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBI/ProxyServer.pm
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBI/Format.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBI/DBD.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBD/ExampleP.pm
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBD/Proxy.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBD/Multiplex.pm
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBD/NullP.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBD/Sponge.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBD/ADO.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/Bundle/DBI.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/Win32/DBIODBC.pm
(unchanged)
Skipping /usr/lib/perl5/site_perl/5.005/ppc-linux/DBI.pm (unchanged)
Skipping /usr/man/man1/dbiproxy.1 (unchanged)
Skipping /usr/man/man1/dbish.1 (unchanged)
Installing /usr/lib/perl5/man/man3/DBI::W32ODBC.3
Installing /usr/lib/perl5/man/man3/DBI::FAQ.3
Installing /usr/lib/perl5/man/man3/DBI::Shell.3
Installing /usr/lib/perl5/man/man3/DBI::Format.3
Installing /usr/lib/perl5/man/man3/DBI::ProxyServer.3
Installing /usr/lib/perl5/man/man3/Bundle::DBI.3
Installing /usr/lib/perl5/man/man3/DBI::DBD.3
Installing /usr/lib/perl5/man/man3/DBI.3
Installing /usr/lib/perl5/man/man3/Win32::DBIODBC.3
Installing /usr/lib/perl5/man/man3/DBD::Proxy.3
Installing /usr/lib/perl5/man/man3/DBD::Multiplex.3
Installing /usr/lib/perl5/man/man3/DBD::ADO.3
Skipping /usr/bin/dbiproxy (unchanged)
Skipping /usr/bin/dbish (unchanged)
Writing /usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI/.packlist
Appending installation info to
/usr/lib/perl5/5.00503/ppc-linux/perllocal.pod

[root(at)pivot DBI-1.15]# cd ../DBD-Pg-0.98
[root(at)pivot DBD-Pg-0.98]# su ausit
[ausit(at)pivot DBD-Pg-0.98]$ ll
total 184
-rw-r--r-- 1 ausit ausit 9877 Apr 25 21:29 Changes
-rw-r--r-- 1 ausit ausit 119 Sep 30 1999 MANIFEST
-rw-r--r-- 1 ausit ausit 1594 Sep 30 1999 Makefile.PL
-rw-r--r-- 1 ausit ausit 895 Jul 11 2000 Pg.h
-rw-r--r-- 1 ausit ausit 35704 Apr 25 21:29 Pg.pm
-rw-r--r-- 1 ausit ausit 14525 Jul 11 2000 Pg.xs
-rw-r--r-- 1 ausit ausit 5591 Apr 25 21:29 README
-rw-r--r-- 1 ausit ausit 2400 Jul 11 2000 README.win32
-rw-r--r-- 1 ausit ausit 13810 Sep 30 1999 dbd-pg.pod
-rw-r--r-- 1 ausit ausit 50355 Apr 25 21:29 dbdimp.c
-rw-r--r-- 1 ausit ausit 2164 Apr 10 03:44 dbdimp.h
drwxr-xr-x 2 ausit ausit 4096 Apr 25 21:29 eg
-rwxr-xr-x 1 ausit ausit 14402 Apr 21 07:01 test.pl

#############SETTING POSTGRES ENVIRONMENTS ##############

[ausit(at)pivot DBD-Pg-0.98]$ POSTGRES_INCLUDE=/usr/local/pgsql/include
[ausit(at)pivot DBD-Pg-0.98]$ POSTGRES_LIB=/usr/local/pgsql/lib
[ausit(at)pivot DBD-Pg-0.98]$ export POSTGRES_INCLUDE POSTGRES_LIB
[ausit(at)pivot DBD-Pg-0.98]$ env
PWD=/home/ausit/src/DBD-Pg-0.98
POSTGRES_INCLUDE=/usr/local/pgsql/include
REMOTEHOST=192.168.168.50
HOSTNAME=pivot
QTDIR=/usr/lib/qt-2.2.1
LESSOPEN=|/usr/bin/lesspipe.sh %s
KDEDIR=/opt/kde2
USER=ausit
LS_COLORS=
MACHTYPE=powerpc-redhat-linux-gnu
POSTGRES_LIB=/usr/local/pgsql/lib
MAIL=/var/spool/mail/ausit
INPUTRC=/etc/inputrc
BASH_ENV=/home/ausit/.bashrc
LOGNAME=ausit
SHLVL=3
SHELL=/bin/bash
USERNAME=
HOSTTYPE=powerpc
OSTYPE=linux-gnu
HISTSIZE=1000
TERM=vt220
HOME=/home/ausit
PATH=/sbin:/usr/sbin:/sbin:/usr/sbin:/usr/kerberos/sbin:/sbin:/usr/sbin:/usr
/kerberos/bin:/opt/kde2/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr
/local/pgsql/bin:/usr/l
ib/qt-2.2.1/bin:/home/ausit/bin
_=/usr/bin/env

#############INSTALLING DBD ##############

[ausit(at)pivot DBD-Pg-0.98]$ perl Makefile.PL
Configuring Pg
Remember to actually read the README file !
OS: linux
Using DBI 1.15 installed in
/usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Pg
[ausit(at)pivot DBD-Pg-0.98]$ make
mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/Pg
mkdir blib/lib/auto
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/Pg
mkdir blib/man3
cp Pg.pm blib/lib/DBD/Pg.pm
cp dbd-pg.pod blib/lib/DBD/dbd-pg.pod
/usr/bin/perl -I/usr/lib/perl5/5.00503/ppc-linux -I/usr/lib/perl5/5.00503
/usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.00503/ExtUtils/typemap Pg.xs >xstmp
.c && mv xstmp.c Pg.c
cc -c -I/usr/local/pgsql/include
-I/usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI -Dbool=char -DHAS_BOOL
-O2 -fsigned-char -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fpic
-I/usr/lib/perl5/5.00503/ppc-linux/CORE Pg.c
cc -c -I/usr/local/pgsql/include
-I/usr/lib/perl5/site_perl/5.005/ppc-linux/auto/DBI -Dbool=char -DHAS_BOOL
-O2 -fsigned-char -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fpic
-I/usr/lib/perl5/5.00503/ppc-linux/CORE dbdimp.c
Running Mkbootstrap for DBD::Pg ()
chmod 644 Pg.bs
LD_RUN_PATH="/usr/local/pgsql/lib" cc -o blib/arch/auto/DBD/Pg/Pg.so
-shared -L/usr/local/lib Pg.o dbdimp.o -L/usr/local/pgsql/lib -lpq
chmod 755 blib/arch/auto/DBD/Pg/Pg.so
cp Pg.bs blib/arch/auto/DBD/Pg/Pg.bs
chmod 644 blib/arch/auto/DBD/Pg/Pg.bs
Manifying blib/man3/DBD::Pg.3
Manifying blib/man3/DBD::dbd-pg.3
[ausit(at)pivot DBD-Pg-0.98]$ make test

#############DBD INSTALL FAILURE LOG ##############

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.00503/ppc-linux -I/usr/lib/perl5/5.00503 test.pl
OS: linux
Use of uninitialized value at test.pl line 53.
DBI->data_sources .......... not ok:
DBI->connect(dbname=template1) failed: FATAL 1: at test.pl line 59
DBI->connect ............... not ok: FATAL 1: at test.pl line 59.
make: *** [test_dynamic] Error 255

#############DBD INSTALL FAILURE LOG ##############

############# PERL VERSION ##############

[ausit(at)pivot DBD-Pg-0.98]$ perl -v

This is perl, version 5.005_03 built for ppc-linux

Copyright 1987-1999, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

[ausit(at)pivot DBD-Pg-0.98]$

#############END OF TELNET SESSION ##############

I have tried different users (including root)
I have used different path ot env¹s. (/usr/lib/pgsql/ & /usr/include/pgsql)

Again, if anyone can help me out here, as I¹m not having too much luck
finding the problem.

Browse pgsql-docs by date

  From Date Subject
Next Message LeoDeBeo 2001-04-29 19:32:15 create table
Previous Message Bruce Momjian 2001-04-28 13:59:58 Re: create_function.sgml needs update