Problem of DBI build

From: Thep Sykheo (thep.sykheo_at_degremont.com)
Date: 07/15/04


To: dbi-users@perl.org
Date: Thu, 15 Jul 2004 11:55:48 +0200

Hi,

I installed Oracle Application Server 4.0.8.2 included perl module.
I need to installe DBI and DBD::Oracle module.
After downloading DBI 1.37, I can the command "perl Makefile.PL" but not
"make".

> perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=hpux, osvers=11.00, archname=PA_RISC
    uname='hp-ux ampere b.11.00 u 9000800 613349383 unlimited-user license
'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include'
    ccflags ='-D_HPUX_SOURCE -Aa -I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/gnu/lib /lib/pa1.1 /lib /usr/lib
/usr/ccs/lib
    libs=-lnsl -lnm -lndbm -ldld -lm -lc -lndir -lcrypt
    libc=/lib/libc.sl, so=sl, useshrplib=true, libperl=libperl.sl
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,
-B,deferred '
    cccdlflags='+z', lddlflags='-b -L/usr/local/lib -L/opt/gnu/lib'

Characteristics of this binary (from libperl):
  Built under hpux
  Compiled at Aug 31 2000 14:06:48
  %ENV:
    PERLLIB
="/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC:/recette/tools/oracle/ows/cartx/common/perl/lib:/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503:/recette/tools/oracle/ows/cartx/common/perl/lib/site_perl/5.005/PA_RISC:/recette/tools/oracle/ows/cartx/common/perl/lib/site_perl/5.005"
    PERL_HOME="/recette/tools/oracle/ows/cartx/common/perl"
  @INC:
    /recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC
    /recette/tools/oracle/ows/cartx/common/perl/lib
    /recette/tools/oracle/ows/cartx/common/perl/lib/5.00503
    /recette/tools/oracle/ows/cartx/common/perl/lib/site_perl/5.005/PA_RISC
    /recette/tools/oracle/ows/cartx/common/perl/lib/site_perl/5.005
    /project/oas4082/src/128debug/perl/lib/5.00503/PA-RISC2.0
    /project/oas4082/src/128debug/perl/lib/5.00503
    /project/oas4082/src/128debug/perl/lib/site_perl/5.005/PA-RISC2.0
    /project/oas4082/src/128debug/perl/lib/site_perl/5.005

-----------------------------------------------------------------------------------------------------------------------------------------------

> perl Makefile.PL

**************************************************************************
**************************************************************************
  Version 5.00503 of perl will NOT BE SUPPORTED by future DBI releases.
  You will have to upgrade your perl or stop upgrading DBI.
  Perl version 5.6.1 will be the lowest version supported.
  Using perl 5.00503 you may notice some test warnings and two failures.
  Press return to continue...
**************************************************************************
**************************************************************************

*** 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

Creating extra DBI::PurePerl test: t/zz_01basics_pp.t
Creating extra DBI::PurePerl test: t/zz_02dbidrv_pp.t
Creating extra DBI::PurePerl test: t/zz_03handle_pp.t
Creating extra DBI::PurePerl test: t/zz_04mods_pp.t
Creating extra DBI::PurePerl test: t/zz_05thrclone_pp.t
Creating extra DBI::PurePerl test: t/zz_06attrs_pp.t
Creating extra DBI::PurePerl test: t/zz_07kids_pp.t
Creating extra DBI::PurePerl test: t/zz_08keeperr_pp.t
Creating extra DBI::PurePerl test: t/zz_10examp_pp.t
Creating extra DBI::PurePerl test: t/zz_15array_pp.t
Creating extra DBI::PurePerl test: t/zz_20meta_pp.t
Creating extra DBI::PurePerl test: t/zz_30subclass_pp.t
Creating extra DBI::PurePerl test: t/zz_40profile_pp.t
Creating extra DBI::PurePerl test: t/zz_41prof_dump_pp.t
Creating extra DBI::PurePerl test: t/zz_42prof_data_pp.t
Creating extra DBI::PurePerl test: t/zz_60preparse_pp.t
Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t
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.

--------------------------------------------------------------------------------------------
> make

         /bin/sh -c true
         /bin/sh -c true
         /bin/sh -c true
        cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION
=\"1.37\" -DXS_VERSION=\"1.37\" +z
-I/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE
-DDBI_NO_THREADS Perl.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI
C product; ignored.
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI
C product; ignored.
(Bundled) cc: warning 480: The +z option is available only with the C/ANSI
C product; ignored.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/iperlsys.h",
 line 74: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/iperlsys.h",
 line 318: warning 5: "const" will become a keyword.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/iperlsys.h",
 line 318: error 1000: Unexpected symbol: "const".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/iperlsys.h",
 line 318: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/perl.h",
 line 618: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/perl.h",
 line 1095: error 1000: Unexpected symbol: "SV".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/perl.h",
 line 1095: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/perl.h",
 line 1095: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an
illegal declaration.
(Bundled) cc: "/usr/include/sys/siginfo.h", line 67: error 1000: Unexpected
symbol: "sigval_t".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/perl.h",
 line 1253: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 272: error 1000: Unexpected symbol: "*".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 273: error 1000: Unexpected symbol: "ANY".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 274: error 1000: Unexpected symbol: "GV".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 275: error 1000: Unexpected symbol: "GV".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 272: error 1506: Parameters allowed in function definition only.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 273: error 1573: Type of "xcv_xsubany" is undefined due to an illegal
declaration.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 273: error 1578: Size of struct or union member is unknown.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 274: error 1573: Type of "xcv_gv" is undefined due to an illegal
declaration.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 274: error 1578: Size of struct or union member is unknown.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 275: error 1573: Type of "xcv_filegv" is undefined due to an illegal
declaration.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/sv.h",
 line 275: error 1578: Size of struct or union member is unknown.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 24: error 1000: Unexpected symbol: "*".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 25: error 1000: Unexpected symbol: "ANY".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 26: error 1000: Unexpected symbol: "GV".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 27: error 1000: Unexpected symbol: "GV".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 24: error 1506: Parameters allowed in function definition only.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 25: error 1573: Type of "xcv_xsubany" is undefined due to an illegal
declaration.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 25: error 1578: Size of struct or union member is unknown.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 26: error 1573: Type of "xcv_gv" is undefined due to an illegal
declaration.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 26: error 1578: Size of struct or union member is unknown.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 27: error 1573: Type of "xcv_filegv" is undefined due to an illegal
declaration.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/cv.h",
 line 27: error 1578: Size of struct or union member is unknown.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1073: error 1000: Unexpected symbol: "*".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1073: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1073: error 1573: Type of "o" is undefined due to an illegal
declaration.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1074: error 1000: Unexpected symbol: "*".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1074: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1075: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1076: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1077: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1078: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1079: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1080: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1081: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1082: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1083: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1084: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1085: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1086: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1087: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1088: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1089: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1090: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1091: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1092: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1093: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1094: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1095: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1096: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1097: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1098: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1099: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1100: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1101: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1102: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1103: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1104: error 1000: Unexpected symbol: ";".
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1106: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc:
"/recette/tools/oracle/ows/cartx/common/perl/lib/5.00503/PA_RISC/CORE/opcode.h",
 line 1107: error 1000: Unexpected symbol: "*".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Thank you for you help.
---------------------------------------------------------------------------
Thep SYKHEO
mailto:thep.sykheo@degremont.com
---------------------------------------------------------------------------

This message and all attachments are confidential and intended solely for
the addressees.
Any use not in accord with its purpose, any dissemination or disclosure,
either whole or partial, is prohibited except formal approval.
If you receive this message in error, please delete it and immediately
notify the sender.
Neither Degremont Group nor any of its subsidiaries or affiliates shall be
liable for the message if altered, changed or falsified.



Relevant Pages

  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)
  • Installing DBI and DBD::TSM
    ... I am having trouble installing DBI. ... This is perl, v5.8.0 built for aix-thread-multi ... blib/lib/DB ... You can install them any time after installing the DBI. ...
    (perl.dbi.users)
  • Problem of installing DBI packages
    ... my curent configuration of HP Unix system is as below: ... When i do>>perl makefile.PL, ... You can install them any time after installing the DBI. ...
    (perl.dbi.users)
  • Re: DBI Installation Problems
    ... In case if anyone else has this ELFCLASS problem in the future when building DBI & DBD::Oracle on Solaris 10 using a 32-bit Perl installation, here is what worked for me. ... Next you can install DBI as it is normally setup... ... wrong ELF class: ELFCLASS64 at ...
    (perl.dbi.users)
  • Re: Perl 6 DBI API ideas
    ... Though I didn't raise my hand when you asked for people to contribute to a DBI module for Perl 6, I've had some ideas that I thought about sharing. ... I would also love to see some standardization on the driver names ("mysql" when it's normally written ... DBI is supposed to be query language agnostic, even if SQL is the most commonly used group of languages, and if a user can declare this explicitly, it saves the driver from having to guess what they were given, which might be ambiguous. ...
    (perl.dbi.users)