HP3000-L Archives

January 2003, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Fri, 10 Jan 2003 10:36:57 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (217 lines)
This is likely a linking issue when Perl created Pg.sl.  I suspect this shared
library (NMXL) has unresolved externals.

You need to relink Pg.sl to include the missing externals, and/or add extra
shared libraries to the /PERL/PUB/PERL NMPRG's XL= list, and/or add extra
dependent libraries to the Pg.sl dependent library list (i.e. :LINKEDIT ALTXL
./Pg.sl;LIB=<dependent libs>.

- Mark B.

Rose, Robert wrote:
> Hello, all.
>
>   I'm trying to install DBD-Pg-1.20 on my MPE 7 system, and am having the
> same problem mentioned in an hp3000-l posting of 10/19/2001 by Guy Paul of
> HP.  I contacted Guy but he had not gotten a resolution, so I'm asking here.
>
> The initial error occurs during 'make test', t/00basic...........Can't find
> 'boot_DBD__Pg' symbol in blib/arch/auto/DBD/Pg/Pg.sl.  After that, many
> tests fail.  I've included all the pertinent information I can think of
> here.  If anybody has an answer, I'd appreciate it.
>
> Thanks, Bob Rose
>
> ### check the machine
> /PERL/PUB/tmp> uname -a
> MPE/iX xxxxxxx  C.70.01 C.39.06  SERIES e3000/N4000-100-44
>
> ### check gcc version
> /PERL/PUB/tmp> gcc -v
> Reading specs from /usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/3.0.4/specs
> Configured with: ../configure --with-gnu-as --disable-pic
> Thread model: single
> gcc version 3.0.4
>
> ### check perl version
> /PERL/PUB/tmp> perl -v
>
> This is perl, v5.6.1 built for PA-RISC1.1
>
> Copyright 1987-2001, Larry Wall
> MPE/iX port Copyright by Mark Klein and Mark Bixby, 1996-1999
>
> 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 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.
>
> ### check installed perl modules
> /PERL/PUB/tmp> ./installed.pl
> Bit::Vector -- 6.1
> DBI -- 1.32
> Date::Calc -- 5.0
> MPE::IMAGE -- 0.98
> Parse::RecDescent -- 1.80
> Perl -- 5.6.1
> Spreadsheet::WriteExcel -- 0.35
> Test::Harness -- 2.26
> Test::Simple -- 0.47
> Text::CSV_XS -- 0.23
>
> ### check postgres version
> /POSTGRES/PUB> psql -V
> psql (PostgreSQL) 7.1.2
> Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
> 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.
>
> ### check the environment to build the module
> /PERL/PUB/tmp/DBD-Pg-1.20> set|grep DBD
> DBDPG_MAINTAINER="1"
> DBDPG_TEST_DB="dbdtest"
> DBDPG_TEST_HOST="127.0.0.1"
> DBDPG_TEST_PASS=""
> DBDPG_TEST_USER="MGR.PERL"
> PWD="/PERL/PUB/tmp/DBD-Pg-1.20"
>
> /PERL/PUB/tmp/DBD-Pg-1.20> set |grep POSTGRES
> POSTGRES_INCLUDE="/POSTGRES/CURRENT/include/postgresql"
> POSTGRES_LIB="/POSTGRES/CURRENT/lib"
>
> ### create the Makefile
> /PERL/PUB/tmp/DBD-Pg-1.20> perl Makefile.PL
> Configuring Pg
> Remember to actually read the README file !
> Path to pg_config? /POSTGRES/CURRENT/bin/pg_config
> OS: mpeix
> Using DBI 1.32 installed in
> /PERL/PUB/lib/perl5/site_perl/5.6.1/PA-RISC1.1/auto/
> DBI
> Writing Makefile for DBD::Pg
>
> ### build the module
> /PERL/PUB/tmp/DBD-Pg-1.20> make
> cp Pg.pm blib/lib/DBD/Pg.pm
> cp dbd-pg.pod blib/lib/DBD/dbd-pg.pod
> /usr/local/bin/perl -I/PERL/PUB/lib/perl5/5.6.1/PA-RISC1.1
> -I/PERL/PUB/lib/perl5
> /5.6.1 /PERL/PUB/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
> /PERL/PUB/lib/perl5/5
> .6.1/ExtUtils/typemap Pg.xs > Pg.xsc && mv Pg.xsc Pg.c
> gcc -c -I/POSTGRES/V0701020/include/postgresql
> -I/PERL/PUB/lib/perl5/site_perl/5
> .6.1/PA-RISC1.1/auto/DBI -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE
> -D_POSIX_JOB_CON
> TROL -DIS_SOCKET_CLIB_ITSELF -fno-strict-aliasing -I/usr/local/include
> -I/usr/co
> ntrib/include -I/BINDFW/CURRENT/include -I/SYSLOG/PUB -O2
> -DVERSION=\"1.20\" -
> DXS_VERSION=\"1.20\"  -I/PERL/PUB/lib/perl5/5.6.1/PA-RISC1.1/CORE  Pg.c
> gcc -c -I/POSTGRES/V0701020/include/postgresql
> -I/PERL/PUB/lib/perl5/site_perl/5
> .6.1/PA-RISC1.1/auto/DBI -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE
> -D_POSIX_JOB_CON
> TROL -DIS_SOCKET_CLIB_ITSELF -fno-strict-aliasing -I/usr/local/include
> -I/usr/co
> ntrib/include -I/BINDFW/CURRENT/include -I/SYSLOG/PUB -O2
> -DVERSION=\"1.20\" -
> DXS_VERSION=\"1.20\"  -I/PERL/PUB/lib/perl5/5.6.1/PA-RISC1.1/CORE  dbdimp.c
> Running Mkbootstrap for DBD::Pg ()
> chmod 644 Pg.bs
> rm -f blib/arch/auto/DBD/Pg/Pg.sl
> LD_RUN_PATH="/POSTGRES/V0701020/lib" ld  -b -L/usr/local/lib
> -L/usr/contrib/lib
> -L/BINDFW/CURRENT/lib -L/SYSLOG/PUB Pg.o dbdimp.o  -o
> blib/arch/auto/DBD/Pg/Pg.s
> l   -L/POSTGRES/V0701020/lib -lpq
> chmod 755 blib/arch/auto/DBD/Pg/Pg.sl
> 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
>
> ### test the module
> /PERL/PUB/tmp/DBD-Pg-1.20> make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
> -I/PERL/PUB/lib/per
> l5/5.6.1/PA-RISC1.1 -I/PERL/PUB/lib/perl5/5.6.1 -e 'use Test::Harness
> qw(&runtes
> ts $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/00basic...........Can't find 'boot_DBD__Pg' symbol in
> blib/arch/auto/DBD/Pg/Pg
> .sl
>  at t/00basic.t line 4
> Compilation failed in require at t/00basic.t line 4.
> BEGIN failed--compilation aborted at t/00basic.t line 4.
> t/00basic...........dubious
>
>         Test returned status 255 (wstat 255, 0xff)
> t/01connect.........skipped
>         all skipped: cannot test without DB info
> t/01constants.......Can't find 'boot_DBD__Pg' symbol in
> blib/arch/auto/DBD/Pg/Pg
> .sl
>  at t/01constants.t line 4
> Compilation failed in require at t/01constants.t line 4.
> BEGIN failed--compilation aborted at t/01constants.t line 4.
> t/01constants.......dubious
>
>         Test returned status 255 (wstat 255, 0xff)
> DIED. FAILED tests 1-20
>         Failed 20/20 tests, 0.00% okay
> t/01setup...........skipped
>         all skipped: cannot test without DB info
> t/02prepare.........skipped
>         all skipped: cannot test without DB info
> t/03bind............skipped
>         all skipped: cannot test without DB info
> t/04execute.........skipped
>         all skipped: cannot test without DB info
> t/05fetch...........skipped
>         all skipped: cannot test without DB info
> t/06disconnect......skipped
>         all skipped: cannot test without DB info
> t/07reuse...........skipped
>         all skipped: cannot test without DB info
> t/08txn.............skipped
>         all skipped: cannot test without DB info
> t/09autocommit......skipped
>         all skipped: cannot test without DB info
> t/11quoting.........skipped
>         all skipped: cannot test without DB info
> t/12placeholders....skipped
>         all skipped: cannot test without DB info
> t/13pgtype..........skipped
>         all skipped: cannot test without DB info
> t/15funct...........skipped
>         all skipped: cannot test without DB info
> t/99cleanup.........skipped
>         all skipped: cannot test without DB info
> Failed Test     Stat Wstat Total Fail  Failed  List of Failed
> ----------------------------------------------------------------------------
> ---
> t/00basic.t      255   255    ??   ??       %  ??
> t/01constants.t  255   255    20   20 100.00%  1-20
> 15 tests skipped.
> Failed 2/17 test scripts, 88.24% okay. 20/20 subtests failed, 0.00% okay.
> make: *** [test_dynamic] Error 11
> /PERL/PUB/tmp/DBD-Pg-1.20>
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>


--
[log in to unmask]
Remainder of .sig suppressed to conserve expensive California electrons...

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2