Check out 
http://david.wheeler.net/osx.html

on 9/20/02 6:15 AM, Raffaele Conte at [EMAIL PROTECTED] wrote:

> Hi all,
> 
> I have a problem with he installation of DBD-pg 1.13 on my Mac. The
> make works fine but the test fails.
> 
> I s there anyone that can help me? I've sent this message to dbi-users
> 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=/Users/raf
> SHELL=/bin/tcsh
> USER=raf
> LANG=en_US
> PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
> __CF_USER_TEXT_ENCODING=0x1F5:0:0
> TERM=vt100
> TERMCAP=�Z�Z�Z
> TERM_PROGRAM=Apple_Terminal
> TERM_PROGRAM_VERSION=81
> LOGNAME=raf
> HOSTTYPE=macintosh
> VENDOR=apple
> OSTYPE=darwin
> MACHTYPE=powerpc
> SHLVL=1
> PWD=/Users/raf/EQAS/DBI e moduli Pg/DBD-Pg-1.13
> GROUP=staff
> HOST=pbraf.ifc.cnr.it
> PGDATA=/usr/local/pgsql/data
> PGLIB=/usr/local/pgsql/lib
> PGINCLUDE=/usr/local/pgsql/include
> POSTGRES_INCLUDE=/usr/local/pgsql/include
> POSTGRES_LIB=/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
> /System/Library/Perl/ExtUtils/xsubpp  -typemap
> /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
> -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace
> -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -Os     -DVERSION=\"1.13\"
> -DXS_VERSION=\"1.13\"  -I/System/Library/Perl/darwin/CORE  Pg.c
> cc -c -I/usr/local/pgsql/include -I/Library/Perl/darwin/auto/DBI -g
> -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace
> -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -Os     -DVERSION=\"1.13\"
> -DXS_VERSION=\"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
> incompatible pointer type
> Running Mkbootstrap for DBD::Pg ()
> chmod 644 Pg.bs
> LD_RUN_PATH="/usr/local/pgsql/lib" cc -o
> blib/arch/auto/DBD/Pg/Pg.bundle  -bundle  -flat_namespace -undefined
> 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
> 1
> [pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% setenv DBDPG_TEST_HOST
> localhost
> [pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% setenv DBDPG_TEST_DB
> template1
> [pbraf:~/EQAS/DBI e moduli Pg/DBD-Pg-1.13] raf% setenv DBDPG_TEST_USER
> 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=1 /usr/bin/perl -Iblib/arch -Iblib/lib
> -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; 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
> 
> [...]
> ------------------------------------------------------------------------
> --------
> 
> 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
> 
> 
> ------------------------------------------------------------------------
> --------
> 
> 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
> 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.
> 
> [pbraf:~] raf% perl -V
> Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
>  Platform:
>    osname=darwin, osvers=6.0, archname=darwin
>    uname='darwin fisheye 6.0 darwin kernel version 5.2: mon jun 17
> 09:55:14 pdt 2002; root:xnu-201-14.rootsxnu-201-14.objrelease_ppc power
> macintosh powerpc '
>    config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags='
>    hint=recommended, useposix=true, d_sigaction=define
>    usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
>    useperlio=undef d_sfio=undef uselargefiles=define
>    use64bitint=undef use64bitall=undef uselongdouble=undef
> usesocks=undef
>  Compiler:
>    cc='cc', optimize='-Os', gccversion=Apple cpp-precomp 6.14
>    cppflags='-g -pipe -pipe -fno-common -no-cpp-precomp
> -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing'
>    ccflags ='-g -pipe -pipe -fno-common -no-cpp-precomp
> -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing'
>    stdchar='char', d_stdstdio=undef, usevfork=true
>    intsize=4, longsize=4, ptrsize=4, doublesize=8
>    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
>    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
>    alignbytes=8, usemymalloc=n, prototype=define
>  Linker and Libraries:
>    ld='cc', ldflags =''
>    libpth=/usr/lib
>    libs=-lm -lc
>    libc=/System/Library/Frameworks/System.framework/System, so=dylib,
> useshrplib=true, libperl=libperl.dylib
>  Dynamic Linking:
>    dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
>    cccdlflags=' ', lddlflags='-bundle  -flat_namespace -undefined
> 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 ->
> 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
> 
> 
> 

-- 
"We are the music makers. We are the dreamers of dreams."
Gene Wilder as Willy Wonka, quoting O'Shaughnesy

Reply via email to