DBD-pg 1.13 on Mac OS X 10.2
[email protected] (Raffaele Conte) Fri, 20 Sep 2002 12:12:28 +0200
| Newsgroups | perl.macperl.modules |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I have a problem with he installation of DBD-pg 1.13 on my Mac. The =20
make works fine but the test fails.
I s there anyone that can help me? I've sent this message to dbi-users =20=
list without results.
All that I do is (postgresql is running with only "template1" database):
-----------------------------
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% printenv
HOME=3D/Users/raf
SHELL=3D/bin/tcsh
USER=3Draf
LANG=3Den_US
PATH=3D/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
__CF_USER_TEXT_ENCODING=3D0x1F5:0:0
TERM=3Dvt100
TERMCAP=3D=B0Z=B0Z=B0Z
TERM_PROGRAM=3DApple_Terminal
TERM_PROGRAM_VERSION=3D81
LOGNAME=3Draf
HOSTTYPE=3Dmacintosh
VENDOR=3Dapple
OSTYPE=3Ddarwin
MACHTYPE=3Dpowerpc
SHLVL=3D1
PWD=3D/Users/raf/EQAS/DBI e moduli Pg/DBD-Pg-1.13
GROUP=3Dstaff
HOST=3Dpbraf.ifc.cnr.it
PGDATA=3D/usr/local/pgsql/data
PGLIB=3D/usr/local/pgsql/lib
PGINCLUDE=3D/usr/local/pgsql/include
POSTGRES_INCLUDE=3D/usr/local/pgsql/include
POSTGRES_LIB=3D/usr/local/pgsql/lib
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf%
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% perl Makefile.PL
Configuring Pg
Remember to actually read the README file !
OS: darwin
Using DBI 1.30 installed in /Library/Perl/darwin/auto/DBI
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Pg
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% 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/System/Library/Perl/darwin -I/System/Library/Perl =20
/System/Library/Perl/ExtUtils/xsubpp -typemap =20
/System/Library/Perl/ExtUtils/typemap Pg.xs > Pg.xsc && mv Pg.xsc Pg.c
cc -c -I/usr/local/pgsql/include -I/Library/Perl/darwin/auto/DBI -g =20
-pipe -pipe -fno-common -no-cpp-precomp -flat_namespace =20
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -Os -DVERSION=3D\"1.13\" =
=20
-DXS_VERSION=3D\"1.13\" -I/System/Library/Perl/darwin/CORE Pg.c
cc -c -I/usr/local/pgsql/include -I/Library/Perl/darwin/auto/DBI -g =20
-pipe -pipe -fno-common -no-cpp-precomp -flat_namespace =20
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -Os -DVERSION=3D\"1.13\" =
=20
-DXS_VERSION=3D\"1.13\" -I/System/Library/Perl/darwin/CORE dbdimp.c
dbdimp.c: In function `dbd_st_execute':
dbdimp.c:1178: warning: passing arg 2 of `Perl_sv_2pv' from =20
incompatible pointer type
Running Mkbootstrap for DBD::Pg ()
chmod 644 Pg.bs
LD_RUN_PATH=3D"/usr/local/pgsql/lib" cc -o =20
blib/arch/auto/DBD/Pg/Pg.bundle -bundle -flat_namespace -undefined =20
suppress Pg.o dbdimp.o -L/usr/local/pgsql/lib -lpq
chmod 755 blib/arch/auto/DBD/Pg/Pg.bundle
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
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% setenv DBDPG_MAINTAINER =20=
1
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% setenv DBDPG_TEST_HOST =20=
localhost
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% setenv DBDPG_TEST_DB =20
template1
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% setenv DBDPG_TEST_USER =20=
postgres
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% setenv DBDPG_TEST_PASS
[pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% make test
PERL_DL_NONLAZY=3D1 /usr/bin/perl -Iblib/arch -Iblib/lib =20
-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use =20
Test::Harness qw(&runtests $verbose); $verbose=3D0; runtests @ARGV;' =
t/*.t
t/00basic...........dyld: /usr/bin/perl Undefined symbols:
_ERR_get_error
_ERR_reason_error_string
_SSL_CTX_new
_SSL_connect
_SSL_free
_SSL_library_init
_SSL_load_error_strings
_SSL_new
_SSL_read
_SSL_set_fd
_SSL_write
_SSLv23_method
t/00basic...........dubious
Test returned status 0 (wstat 5, 0x5)
t/01connect.........dyld: /usr/bin/perl Undefined symbols:
_ERR_get_error
_ERR_reason_error_string
_SSL_CTX_new
_SSL_connect
_SSL_free
_SSL_library_init
_SSL_load_error_strings
_SSL_new
_SSL_read
_SSL_set_fd
_SSL_write
_SSLv23_method
t/01connect.........dubious
[...]
------------------------------------------------------------------------=20=
--------
I'm work on a Mac with OS X 10.2, postgresql 7.2.2 e DBI 1.30.
The commands "perl -v" and "perl -V" prints:
[pbraf:~] raf% perl -v
------------------------------------------------------------------------=20=
--------
This is perl, v5.6.0 built for darwin
Copyright 1987-2000, Larry Wall
Perl may be copied only under the terms of either the Artistic License =20=
or the
GNU General Public License, which may be found in the Perl 5.0 source =20=
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 =20=
the
Internet, point your browser at http://www.perl.com/, the Perl Home =20
Page.
[pbraf:~] raf% perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=3Ddarwin, osvers=3D6.0, archname=3Ddarwin
uname=3D'darwin fisheye 6.0 darwin kernel version 5.2: mon jun 17 =20=
09:55:14 pdt 2002; root:xnu-201-14.rootsxnu-201-14.objrelease_ppc power =20=
macintosh powerpc '
config_args=3D'-ds -e -Dprefix=3D/usr -Dccflags=3D-g -pipe =
-Dldflags=3D'
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Dundef use5005threads=3Dundef useithreads=3Dundef =20
usemultiplicity=3Dundef
useperlio=3Dundef d_sfio=3Dundef uselargefiles=3Ddefine
use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef =20
usesocks=3Dundef
Compiler:
cc=3D'cc', optimize=3D'-Os', gccversion=3DApple cpp-precomp 6.14
cppflags=3D'-g -pipe -pipe -fno-common -no-cpp-precomp =20
-flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing'
ccflags =3D'-g -pipe -pipe -fno-common -no-cpp-precomp =20
-flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing'
stdchar=3D'char', d_stdstdio=3Dundef, usevfork=3Dtrue
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D8
ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, =
Off_t=3D'off_t', =20
lseeksize=3D8
alignbytes=3D8, usemymalloc=3Dn, prototype=3Ddefine
Linker and Libraries:
ld=3D'cc', ldflags =3D''
libpth=3D/usr/lib
libs=3D-lm -lc
libc=3D/System/Library/Frameworks/System.framework/System, =
so=3Ddylib, =20
useshrplib=3Dtrue, libperl=3Dlibperl.dylib
Dynamic Linking:
dlsrc=3Ddl_dyld.xs, dlext=3Dbundle, d_dlsymun=3Dundef, ccdlflags=3D' =
'
cccdlflags=3D' ', lddlflags=3D'-bundle -flat_namespace -undefined =20=
suppress'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under darwin
Compiled at Jul 14 2002 04:04:33
@INC:
/System/Library/Perl/darwin
/System/Library/Perl
/Library/Perl/darwin
/Library/Perl
/Library/Perl
/Network/Library/Perl/darwin
/Network/Library/Perl
/Network/Library/Perl
.
[pbraf:~] raf%
------------------------------------------------------------------
libssl are in /usr/lib
------------------------------------------------------------------
[pbraf:~] raf% ls -l /usr/lib/libssl*
-rwxr-xr-x 1 root wheel 255732 Aug 13 02:28 /usr/lib/libssl.0.9.dylib
lrwxr-xr-x 1 root wheel 16 Sep 7 15:32 /usr/lib/libssl.dylib -> =20=
libssl.0.9.dylib
[pbraf:~] raf%
------------------------------------------------------------------
I don't know what I can do. Can you help me?
Thanks in advance.
Raffaele Conte
CNR - Ist di Fisiologia Clinica http://ifc.cnr.it