DBI compile on HPUX-11.23

DBI compile on HPUX-11.23

am 20.04.2007 12:07:05 von SEG

Hello, I have a problem compiling DBI on HPUX 11.23 Ittanium platform. =
There's clearly something not fully compatible in configure+compiler =
combination. Enclosed is info according to README.
=20
Additionally I intend to use Oracle driver (DBD::Oracle) and foresee =
more problems there!

Best regards,
S. Guttormsson


----=20

# perl Makefile.PL
=20
*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.
=20
*** 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.
=20
Optional modules are available from any CPAN mirror, in particular
http://search.cpan.org/
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
=20
Your perl was compiled with gcc (version 3.2 20020329 (experimental)), =
okay.
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t=20
t/zvp_02dbidrv.t=20
t/zvp_03handle.t=20
t/zvp_04mods.t=20
t/zvp_05thrclone.t (use threads)
t/zvp_06attrs.t=20
t/zvp_07kids.t=20
t/zvp_08keeperr.t=20
t/zvp_09trace.t=20
t/zvp_10examp.t=20
t/zvp_11fetch.t=20
t/zvp_12quote.t=20
t/zvp_13taint.t=20
t/zvp_14utf8.t=20
t/zvp_15array.t=20
t/zvp_19fhtrace.t=20
t/zvp_20meta.t=20
t/zvp_30subclass.t=20
t/zvp_40profile.t=20
t/zvp_41prof_dump.t=20
t/zvp_42prof_data.t=20
t/zvp_43prof_env.t=20
t/zvp_50dbm.t=20
t/zvp_60preparse.t=20
t/zvp_65transact.t=20
t/zvp_70callbacks.t=20
t/zvp_72childhandles.t=20
t/zvp_80proxy.t=20
t/zvp_85gofer.t=20
Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t=20
t/zvg_02dbidrv.t=20
t/zvg_03handle.t=20
t/zvg_04mods.t=20
t/zvg_05thrclone.t (use threads)
t/zvg_06attrs.t=20
t/zvg_07kids.t=20
t/zvg_08keeperr.t=20
t/zvg_09trace.t=20
t/zvg_10examp.t=20
t/zvg_11fetch.t=20
t/zvg_12quote.t=20
t/zvg_13taint.t=20
t/zvg_14utf8.t=20
t/zvg_15array.t=20
t/zvg_19fhtrace.t=20
t/zvg_20meta.t=20
t/zvg_30subclass.t=20
t/zvg_40profile.t=20
t/zvg_41prof_dump.t=20
t/zvg_42prof_data.t=20
t/zvg_43prof_env.t=20
t/zvg_50dbm.t=20
t/zvg_60preparse.t=20
t/zvg_65transact.t=20
t/zvg_70callbacks.t=20
t/zvg_72childhandles.t=20
t/zvg_80proxy.t=20
t/zvg_85gofer.t=20
Creating test wrappers for PurePerl & Gofer:
t/zvxgp_01basics.t=20
t/zvxgp_02dbidrv.t=20
t/zvxgp_03handle.t=20
t/zvxgp_04mods.t=20
t/zvxgp_05thrclone.t (use threads)
t/zvxgp_06attrs.t=20
t/zvxgp_07kids.t=20
t/zvxgp_08keeperr.t=20
t/zvxgp_09trace.t=20
t/zvxgp_10examp.t=20
t/zvxgp_11fetch.t=20
t/zvxgp_12quote.t=20
t/zvxgp_13taint.t=20
t/zvxgp_14utf8.t=20
t/zvxgp_15array.t=20
t/zvxgp_19fhtrace.t=20
t/zvxgp_20meta.t=20
t/zvxgp_30subclass.t=20
t/zvxgp_40profile.t=20
t/zvxgp_41prof_dump.t=20
t/zvxgp_42prof_data.t=20
t/zvxgp_43prof_env.t=20
t/zvxgp_50dbm.t=20
t/zvxgp_60preparse.t=20
t/zvxgp_65transact.t=20
t/zvxgp_70callbacks.t=20
t/zvxgp_72childhandles.t=20
t/zvxgp_80proxy.t=20
t/zvxgp_85gofer.t=20
Warning: prerequisite File::Spec 1 not found. We have 0.83.
=20
I see you're using perl 5.008 on IA64.ARCHREV_0-thread-multi, okay.
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.
=20
Writing Makefile for DBI

----

# make
gcc -c -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT =
-D_HPUX_SOURCE -fPIC -fno-strict-aliasing -D_LARGEFILE_SOURCE =
-D_FILE_OFFSET_BITS=3D64 -DVERSION=3D\"1.54\" =
-DXS_VERSION=3D\"1.54\" -fPIC =
"-I/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE" -W -Wall =
-Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare =
-Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
In file included from =
/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h: 3950,
from DBIXS.h:19,
from Perl.xs:6:
/usr/include/sys/ipc.h:51: error: parse error before "cid_t"
/usr/include/sys/ipc.h:56: error: parse error before '}' token
In file included from =
/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h: 3951,
from DBIXS.h:19,
from Perl.xs:6:
/usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
*** Error exit code 1
=20
Stop.


----

# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=3Dhpux, osvers=3D11.22, =
archname=3DIA64.ARCHREV_0-thread-multi
uname=3D'hp-ux bigsur03 b.11.22 u ia64 1800516905 unlimited-user =
license '
config_args=3D'-des -Dcc=3Dgcc -Dcf_by=3DActiveState =
-Dcf_email=3DActivePerl@ActiveState.com -Uinstallusrbinperl =
-Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpth=3D -Uloclibpth=3D =
-Accflags=3D-fPIC -Dd_attribut=3Dundef -Dcccdlflags=3D-fPIC -Uoptimize =
-Duselargefiles -Dprefix=3D/opt/perl -Duselargefiles'
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine =
usemultiplicity=3Ddefine
useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine =
usesocks=3Dundef
use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
usemymalloc=3Dn, bincompat5005=3Dundef
Compiler:
cc=3D'gcc', ccflags =3D'-D_POSIX_C_SOURCE=3D199506L -D_REENTRANT =
-D_HPUX_SOURCE -fPIC -fno-strict-aliasing -D_LARGEFILE_SOURCE =
-D_FILE_OFFSET_BITS=3D64',
optimize=3D' ',
cppflags=3D'-D_HPUX_SOURCE -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT =
-D_HPUX_SOURCE -fPIC -fno-strict-aliasing'
ccversion=3D'', gccversion=3D'3.2 20020329 (experimental)', =
gccosandvers=3D'hpux11.20'
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D4321
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D16
ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, =
Off_t=3D'off_t', lseeksize=3D8
alignbytes=3D8, prototype=3Ddefine
Linker and Libraries:
ld=3D'gcc', ldflags =3D' -L/usr/lib/hpux32'
libpth=3D/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=3D-lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread
perllibs=3D-lnsl -lnm -ldl -ldld -lm -lsec -lpthread
libc=3D/usr/lib/hpux32/libc.so, so=3Dso, useshrplib=3Dfalse, =
libperl=3Dlibperl.a
gnulibc_version=3D''
Dynamic Linking:
dlsrc=3Ddl_hpux.xs, dlext=3Dso, d_dlsymun=3Dundef, =
ccdlflags=3D'-Wl,-E -Wl,-B,deferred '
cccdlflags=3D'-fPIC', lddlflags=3D'-shared -static-libgcc -fPIC =
-L/usr/lib/hpux32'
=20
=20
Characteristics of this binary (from libperl):=20
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES =
PERL_IMPLICIT_CONTEXT
Locally applied patches:
ActivePerl Build 806
Built under hpux
Compiled at May 2 2003 21:27:40
@INC:
/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi
/opt/perl/lib/5.8.0
/opt/perl/lib/site_perl/5.8.0/IA64.ARCHREV_0-thread-multi
/opt/perl/lib/site_perl/5.8.0
/opt/perl/lib/site_perl
.

-----
# gcc --version
gcc (GCC) 3.4.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is =
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR =
PURPOSE.


----
# uname -a
HP-UX tintin B.11.23 U ia64 1620026100 unlimited-user license

RE: DBI compile on HPUX-11.23

am 20.04.2007 12:30:24 von pyers.symon

Are you using gcc? If so use the native HP-UX compiler. This is a known =
issue/


P

> -----Original Message-----
> From: Sigur=F0ur E. Guttormsson [mailto:seg@trackwell.com]=20
> Sent: 20 April 2007 11:07
> To: dbi-users@perl.org
> Subject: DBI compile on HPUX-11.23
>=20
>=20
> Hello, I have a problem compiling DBI on HPUX 11.23 Ittanium=20
> platform. There's clearly something not fully compatible in=20
> configure+compiler combination. Enclosed is info according to README.
> =20
> Additionally I intend to use Oracle driver (DBD::Oracle) and=20
> foresee more problems there!
>=20
> Best regards,
> S. Guttormsson
>=20
>=20
> ----=20
>=20
> # perl Makefile.PL
> =20
> *** You are using a perl configured with threading enabled.
> *** You should be aware that using multiple threads is
> *** not recommended for production environments.
> =20
> *** 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,=20
> RPC::PlClient,
> Storable and Net::Daemon modules. The CPAN Bundle::DBI=20
> may help you.
> You can install them any time after installing the DBI.
> You do *not* need these modules for typical DBI usage.
> =20
> Optional modules are available from any CPAN mirror, in particular
> http://search.cpan.org/
> 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
> =20
> Your perl was compiled with gcc (version 3.2 20020329=20
> (experimental)), okay. Creating test wrappers for=20
> DBI::PurePerl: t/zvp_01basics.t=20
> t/zvp_02dbidrv.t=20
> t/zvp_03handle.t=20
> t/zvp_04mods.t=20
> t/zvp_05thrclone.t (use threads)
> t/zvp_06attrs.t=20
> t/zvp_07kids.t=20
> t/zvp_08keeperr.t=20
> t/zvp_09trace.t=20
> t/zvp_10examp.t=20
> t/zvp_11fetch.t=20
> t/zvp_12quote.t=20
> t/zvp_13taint.t=20
> t/zvp_14utf8.t=20
> t/zvp_15array.t=20
> t/zvp_19fhtrace.t=20
> t/zvp_20meta.t=20
> t/zvp_30subclass.t=20
> t/zvp_40profile.t=20
> t/zvp_41prof_dump.t=20
> t/zvp_42prof_data.t=20
> t/zvp_43prof_env.t=20
> t/zvp_50dbm.t=20
> t/zvp_60preparse.t=20
> t/zvp_65transact.t=20
> t/zvp_70callbacks.t=20
> t/zvp_72childhandles.t=20
> t/zvp_80proxy.t=20
> t/zvp_85gofer.t=20
> Creating test wrappers for DBD::Gofer:
> t/zvg_01basics.t=20
> t/zvg_02dbidrv.t=20
> t/zvg_03handle.t=20
> t/zvg_04mods.t=20
> t/zvg_05thrclone.t (use threads)
> t/zvg_06attrs.t=20
> t/zvg_07kids.t=20
> t/zvg_08keeperr.t=20
> t/zvg_09trace.t=20
> t/zvg_10examp.t=20
> t/zvg_11fetch.t=20
> t/zvg_12quote.t=20
> t/zvg_13taint.t=20
> t/zvg_14utf8.t=20
> t/zvg_15array.t=20
> t/zvg_19fhtrace.t=20
> t/zvg_20meta.t=20
> t/zvg_30subclass.t=20
> t/zvg_40profile.t=20
> t/zvg_41prof_dump.t=20
> t/zvg_42prof_data.t=20
> t/zvg_43prof_env.t=20
> t/zvg_50dbm.t=20
> t/zvg_60preparse.t=20
> t/zvg_65transact.t=20
> t/zvg_70callbacks.t=20
> t/zvg_72childhandles.t=20
> t/zvg_80proxy.t=20
> t/zvg_85gofer.t=20
> Creating test wrappers for PurePerl & Gofer:
> t/zvxgp_01basics.t=20
> t/zvxgp_02dbidrv.t=20
> t/zvxgp_03handle.t=20
> t/zvxgp_04mods.t=20
> t/zvxgp_05thrclone.t (use threads)
> t/zvxgp_06attrs.t=20
> t/zvxgp_07kids.t=20
> t/zvxgp_08keeperr.t=20
> t/zvxgp_09trace.t=20
> t/zvxgp_10examp.t=20
> t/zvxgp_11fetch.t=20
> t/zvxgp_12quote.t=20
> t/zvxgp_13taint.t=20
> t/zvxgp_14utf8.t=20
> t/zvxgp_15array.t=20
> t/zvxgp_19fhtrace.t=20
> t/zvxgp_20meta.t=20
> t/zvxgp_30subclass.t=20
> t/zvxgp_40profile.t=20
> t/zvxgp_41prof_dump.t=20
> t/zvxgp_42prof_data.t=20
> t/zvxgp_43prof_env.t=20
> t/zvxgp_50dbm.t=20
> t/zvxgp_60preparse.t=20
> t/zvxgp_65transact.t=20
> t/zvxgp_70callbacks.t=20
> t/zvxgp_72childhandles.t=20
> t/zvxgp_80proxy.t=20
> t/zvxgp_85gofer.t=20
> Warning: prerequisite File::Spec 1 not found. We have 0.83.
> =20
> I see you're using perl 5.008 on=20
> IA64.ARCHREV_0-thread-multi, okay.
> 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=20
> this working
> directory before unpacking and building any DBD::* drivers.
> =20
> Writing Makefile for DBI
>=20
> ----
>=20
> # make
> gcc -c -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT=20
> -D_HPUX_SOURCE -fPIC -fno-strict-aliasing -D_LARGEFILE_SOURCE=20
> -D_FILE_OFFSET_BITS=3D64 -DVERSION=3D\"1.54\" =20
> -DXS_VERSION=3D\"1.54\" -fPIC=20
> "-I/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE" -W=20
> -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment=20
> -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn=20
> -Wno-unused-parameter Perl.c
> In file included from=20
> /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h: 3950,
> from DBIXS.h:19,
> from Perl.xs:6:
> /usr/include/sys/ipc.h:51: error: parse error before "cid_t"
> /usr/include/sys/ipc.h:56: error: parse error before '}'=20
> token In file included from=20
> /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h: 3951,
> from DBIXS.h:19,
> from Perl.xs:6:
> /usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
> *** Error exit code 1
> =20
> Stop.
>=20
>=20
> ----
>=20
> # perl -V
> Summary of my perl5 (revision 5.0 version 8 subversion 0)=20
> configuration:
> Platform:
> osname=3Dhpux, osvers=3D11.22, =
archname=3DIA64.ARCHREV_0-thread-multi
> uname=3D'hp-ux bigsur03 b.11.22 u ia64 1800516905=20
> unlimited-user license '
> config_args=3D'-des -Dcc=3Dgcc -Dcf_by=3DActiveState=20
> -Dcf_email=3DActivePerl@ActiveState.com -Uinstallusrbinperl=20
> -Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpth=
> -Uloclibpth=3D -Accflags=3D-fPIC -Dd_attribut=3Dundef=20
> -Dcccdlflags=3D-fPIC -Uoptimize -Duselargefiles=20
> -Dprefix=3D/opt/perl -Duselargefiles'
> hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
> usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine=20
> usemultiplicity=3Ddefine
> useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine =
usesocks=3Dundef
> use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
> usemymalloc=3Dn, bincompat5005=3Dundef
> Compiler:
> cc=3D'gcc', ccflags =3D'-D_POSIX_C_SOURCE=3D199506L=20
> -D_REENTRANT -D_HPUX_SOURCE -fPIC -fno-strict-aliasing=20
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64',
> optimize=3D' ',
> cppflags=3D'-D_HPUX_SOURCE -D_POSIX_C_SOURCE=3D199506L=20
> -D_REENTRANT -D_HPUX_SOURCE -fPIC -fno-strict-aliasing'
> ccversion=3D'', gccversion=3D'3.2 20020329 (experimental)',=20
> gccosandvers=3D'hpux11.20'
> intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D4321
> d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine,=20
> longdblsize=3D16
> ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8,=20
> Off_t=3D'off_t', lseeksize=3D8
> alignbytes=3D8, prototype=3Ddefine
> Linker and Libraries:
> ld=3D'gcc', ldflags =3D' -L/usr/lib/hpux32'
> libpth=3D/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib
> libs=3D-lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread
> perllibs=3D-lnsl -lnm -ldl -ldld -lm -lsec -lpthread
> libc=3D/usr/lib/hpux32/libc.so, so=3Dso, useshrplib=3Dfalse,=20
> libperl=3Dlibperl.a
> gnulibc_version=3D''
> Dynamic Linking:
> dlsrc=3Ddl_hpux.xs, dlext=3Dso, d_dlsymun=3Dundef,=20
> ccdlflags=3D'-Wl,-E -Wl,-B,deferred '
> cccdlflags=3D'-fPIC', lddlflags=3D'-shared -static-libgcc=20
> -fPIC -L/usr/lib/hpux32'
> =20
> =20
> Characteristics of this binary (from libperl):=20
> Compile-time options: MULTIPLICITY USE_ITHREADS=20
> USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
> Locally applied patches:
> ActivePerl Build 806
> Built under hpux
> Compiled at May 2 2003 21:27:40
> @INC:
> /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi
> /opt/perl/lib/5.8.0
> /opt/perl/lib/site_perl/5.8.0/IA64.ARCHREV_0-thread-multi
> /opt/perl/lib/site_perl/5.8.0
> /opt/perl/lib/site_perl
> .
>=20
> -----
> # gcc --version
> gcc (GCC) 3.4.3
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.=20
> There is NO warranty; not even for MERCHANTABILITY or=20
> FITNESS FOR A PARTICULAR PURPOSE.
>=20
>=20
> ----
> # uname -a
> HP-UX tintin B.11.23 U ia64 1620026100 unlimited-user license
>=20
>=20

RE: DBI compile on HPUX-11.23

am 20.04.2007 13:10:09 von SEG

I can't seem to find any info on this in discussions and since there's =
no INSTALL document I'm having problem with the configuration parameters =
and how to set them. Is there any further info on this, a reference to =
discussion maybe?
/SEG
=20
-----Original Message-----
From: pyers.symon@bt.com [mailto:pyers.symon@bt.com]=20
Sent: 20. apr=EDl 2007 10:30
To: Sigur=F0ur E. Guttormsson; dbi-users@perl.org
Subject: RE: DBI compile on HPUX-11.23

Are you using gcc? If so use the native HP-UX compiler. This is a known =
issue/


P

> -----Original Message-----
> From: Sigur=F0ur E. Guttormsson [mailto:seg@trackwell.com]=20
> Sent: 20 April 2007 11:07
> To: dbi-users@perl.org
> Subject: DBI compile on HPUX-11.23
>=20
>=20
> Hello, I have a problem compiling DBI on HPUX 11.23 Ittanium=20
> platform. There's clearly something not fully compatible in=20
> configure+compiler combination. Enclosed is info according to README.
> =20
> Additionally I intend to use Oracle driver (DBD::Oracle) and=20
> foresee more problems there!
>=20
> Best regards,
> S. Guttormsson
>=20
>=20
> ----=20
>=20
> # perl Makefile.PL
> =20
> *** You are using a perl configured with threading enabled.
> *** You should be aware that using multiple threads is
> *** not recommended for production environments.
> =20
> *** 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,=20
> RPC::PlClient,
> Storable and Net::Daemon modules. The CPAN Bundle::DBI=20
> may help you.
> You can install them any time after installing the DBI.
> You do *not* need these modules for typical DBI usage.
> =20
> Optional modules are available from any CPAN mirror, in particular
> http://search.cpan.org/
> 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
> =20
> Your perl was compiled with gcc (version 3.2 20020329=20
> (experimental)), okay. Creating test wrappers for=20
> DBI::PurePerl: t/zvp_01basics.t=20
> t/zvp_02dbidrv.t=20
> t/zvp_03handle.t=20
> t/zvp_04mods.t=20
> t/zvp_05thrclone.t (use threads)
> t/zvp_06attrs.t=20
> t/zvp_07kids.t=20
> t/zvp_08keeperr.t=20
> t/zvp_09trace.t=20
> t/zvp_10examp.t=20
> t/zvp_11fetch.t=20
> t/zvp_12quote.t=20
> t/zvp_13taint.t=20
> t/zvp_14utf8.t=20
> t/zvp_15array.t=20
> t/zvp_19fhtrace.t=20
> t/zvp_20meta.t=20
> t/zvp_30subclass.t=20
> t/zvp_40profile.t=20
> t/zvp_41prof_dump.t=20
> t/zvp_42prof_data.t=20
> t/zvp_43prof_env.t=20
> t/zvp_50dbm.t=20
> t/zvp_60preparse.t=20
> t/zvp_65transact.t=20
> t/zvp_70callbacks.t=20
> t/zvp_72childhandles.t=20
> t/zvp_80proxy.t=20
> t/zvp_85gofer.t=20
> Creating test wrappers for DBD::Gofer:
> t/zvg_01basics.t=20
> t/zvg_02dbidrv.t=20
> t/zvg_03handle.t=20
> t/zvg_04mods.t=20
> t/zvg_05thrclone.t (use threads)
> t/zvg_06attrs.t=20
> t/zvg_07kids.t=20
> t/zvg_08keeperr.t=20
> t/zvg_09trace.t=20
> t/zvg_10examp.t=20
> t/zvg_11fetch.t=20
> t/zvg_12quote.t=20
> t/zvg_13taint.t=20
> t/zvg_14utf8.t=20
> t/zvg_15array.t=20
> t/zvg_19fhtrace.t=20
> t/zvg_20meta.t=20
> t/zvg_30subclass.t=20
> t/zvg_40profile.t=20
> t/zvg_41prof_dump.t=20
> t/zvg_42prof_data.t=20
> t/zvg_43prof_env.t=20
> t/zvg_50dbm.t=20
> t/zvg_60preparse.t=20
> t/zvg_65transact.t=20
> t/zvg_70callbacks.t=20
> t/zvg_72childhandles.t=20
> t/zvg_80proxy.t=20
> t/zvg_85gofer.t=20
> Creating test wrappers for PurePerl & Gofer:
> t/zvxgp_01basics.t=20
> t/zvxgp_02dbidrv.t=20
> t/zvxgp_03handle.t=20
> t/zvxgp_04mods.t=20
> t/zvxgp_05thrclone.t (use threads)
> t/zvxgp_06attrs.t=20
> t/zvxgp_07kids.t=20
> t/zvxgp_08keeperr.t=20
> t/zvxgp_09trace.t=20
> t/zvxgp_10examp.t=20
> t/zvxgp_11fetch.t=20
> t/zvxgp_12quote.t=20
> t/zvxgp_13taint.t=20
> t/zvxgp_14utf8.t=20
> t/zvxgp_15array.t=20
> t/zvxgp_19fhtrace.t=20
> t/zvxgp_20meta.t=20
> t/zvxgp_30subclass.t=20
> t/zvxgp_40profile.t=20
> t/zvxgp_41prof_dump.t=20
> t/zvxgp_42prof_data.t=20
> t/zvxgp_43prof_env.t=20
> t/zvxgp_50dbm.t=20
> t/zvxgp_60preparse.t=20
> t/zvxgp_65transact.t=20
> t/zvxgp_70callbacks.t=20
> t/zvxgp_72childhandles.t=20
> t/zvxgp_80proxy.t=20
> t/zvxgp_85gofer.t=20
> Warning: prerequisite File::Spec 1 not found. We have 0.83.
> =20
> I see you're using perl 5.008 on=20
> IA64.ARCHREV_0-thread-multi, okay.
> 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=20
> this working
> directory before unpacking and building any DBD::* drivers.
> =20
> Writing Makefile for DBI
>=20
> ----
>=20
> # make
> gcc -c -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT=20
> -D_HPUX_SOURCE -fPIC -fno-strict-aliasing -D_LARGEFILE_SOURCE=20
> -D_FILE_OFFSET_BITS=3D64 -DVERSION=3D\"1.54\" =20
> -DXS_VERSION=3D\"1.54\" -fPIC=20
> "-I/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE" -W=20
> -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment=20
> -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn=20
> -Wno-unused-parameter Perl.c
> In file included from=20
> /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h: 3950,
> from DBIXS.h:19,
> from Perl.xs:6:
> /usr/include/sys/ipc.h:51: error: parse error before "cid_t"
> /usr/include/sys/ipc.h:56: error: parse error before '}'=20
> token In file included from=20
> /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h: 3951,
> from DBIXS.h:19,
> from Perl.xs:6:
> /usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
> *** Error exit code 1
> =20
> Stop.
>=20
>=20
> ----
>=20
> # perl -V
> Summary of my perl5 (revision 5.0 version 8 subversion 0)=20
> configuration:
> Platform:
> osname=3Dhpux, osvers=3D11.22, =
archname=3DIA64.ARCHREV_0-thread-multi
> uname=3D'hp-ux bigsur03 b.11.22 u ia64 1800516905=20
> unlimited-user license '
> config_args=3D'-des -Dcc=3Dgcc -Dcf_by=3DActiveState=20
> -Dcf_email=3DActivePerl@ActiveState.com -Uinstallusrbinperl=20
> -Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpth=
> -Uloclibpth=3D -Accflags=3D-fPIC -Dd_attribut=3Dundef=20
> -Dcccdlflags=3D-fPIC -Uoptimize -Duselargefiles=20
> -Dprefix=3D/opt/perl -Duselargefiles'
> hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
> usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine=20
> usemultiplicity=3Ddefine
> useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine =
usesocks=3Dundef
> use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
> usemymalloc=3Dn, bincompat5005=3Dundef
> Compiler:
> cc=3D'gcc', ccflags =3D'-D_POSIX_C_SOURCE=3D199506L=20
> -D_REENTRANT -D_HPUX_SOURCE -fPIC -fno-strict-aliasing=20
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64',
> optimize=3D' ',
> cppflags=3D'-D_HPUX_SOURCE -D_POSIX_C_SOURCE=3D199506L=20
> -D_REENTRANT -D_HPUX_SOURCE -fPIC -fno-strict-aliasing'
> ccversion=3D'', gccversion=3D'3.2 20020329 (experimental)',=20
> gccosandvers=3D'hpux11.20'
> intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D4321
> d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine,=20
> longdblsize=3D16
> ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8,=20
> Off_t=3D'off_t', lseeksize=3D8
> alignbytes=3D8, prototype=3Ddefine
> Linker and Libraries:
> ld=3D'gcc', ldflags =3D' -L/usr/lib/hpux32'
> libpth=3D/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib
> libs=3D-lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread
> perllibs=3D-lnsl -lnm -ldl -ldld -lm -lsec -lpthread
> libc=3D/usr/lib/hpux32/libc.so, so=3Dso, useshrplib=3Dfalse,=20
> libperl=3Dlibperl.a
> gnulibc_version=3D''
> Dynamic Linking:
> dlsrc=3Ddl_hpux.xs, dlext=3Dso, d_dlsymun=3Dundef,=20
> ccdlflags=3D'-Wl,-E -Wl,-B,deferred '
> cccdlflags=3D'-fPIC', lddlflags=3D'-shared -static-libgcc=20
> -fPIC -L/usr/lib/hpux32'
> =20
> =20
> Characteristics of this binary (from libperl):=20
> Compile-time options: MULTIPLICITY USE_ITHREADS=20
> USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
> Locally applied patches:
> ActivePerl Build 806
> Built under hpux
> Compiled at May 2 2003 21:27:40
> @INC:
> /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi
> /opt/perl/lib/5.8.0
> /opt/perl/lib/site_perl/5.8.0/IA64.ARCHREV_0-thread-multi
> /opt/perl/lib/site_perl/5.8.0
> /opt/perl/lib/site_perl
> .
>=20
> -----
> # gcc --version
> gcc (GCC) 3.4.3
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.=20
> There is NO warranty; not even for MERCHANTABILITY or=20
> FITNESS FOR A PARTICULAR PURPOSE.
>=20
>=20
> ----
> # uname -a
> HP-UX tintin B.11.23 U ia64 1620026100 unlimited-user license
>=20
>=20

RE: DBI compile on HPUX-11.23

am 20.04.2007 13:18:46 von pyers.symon

I am literally in the process of building perl 5.8.7 on Itanium=20
as I write. I will let you know what issues I have - using the HP ANSI=20
C compiler.

P

> -----Original Message-----
> From: Sigur=F0ur E. Guttormsson [mailto:seg@trackwell.com]=20
> Sent: 20 April 2007 12:10
> To: Symon,P,Pyers,XJE94A C; dbi-users@perl.org
> Subject: RE: DBI compile on HPUX-11.23
>=20
>=20
> I can't seem to find any info on this in discussions and=20
> since there's no INSTALL document I'm having problem with the=20
> configuration parameters and how to set them. Is there any=20
> further info on this, a reference to discussion maybe? /SEG
> =20
> -----Original Message-----
> From: pyers.symon@bt.com [mailto:pyers.symon@bt.com]=20
> Sent: 20. apr=EDl 2007 10:30
> To: Sigur=F0ur E. Guttormsson; dbi-users@perl.org
> Subject: RE: DBI compile on HPUX-11.23
>=20
> Are you using gcc? If so use the native HP-UX compiler. This=20
> is a known issue/
>=20
>=20
> P
>=20
> > -----Original Message-----
> > From: Sigur=F0ur E. Guttormsson [mailto:seg@trackwell.com]
> > Sent: 20 April 2007 11:07
> > To: dbi-users@perl.org
> > Subject: DBI compile on HPUX-11.23
> >=20
> >=20
> > Hello, I have a problem compiling DBI on HPUX 11.23 Ittanium
> > platform. There's clearly something not fully compatible in=20
> > configure+compiler combination. Enclosed is info according=20
> to README.
> > =20
> > Additionally I intend to use Oracle driver (DBD::Oracle) and
> > foresee more problems there!
> >=20
> > Best regards,
> > S. Guttormsson
> >=20
> >=20
> > ----
> >=20
> > # perl Makefile.PL
> > =20
> > *** You are using a perl configured with threading enabled.
> > *** You should be aware that using multiple threads is
> > *** not recommended for production environments.
> > =20
> > *** Note:
> > The optional PlRPC-modules (RPC::PlServer etc) are not=20
> 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=20
> > may help you.
> > You can install them any time after installing the DBI.
> > You do *not* need these modules for typical DBI usage.
> > =20
> > Optional modules are available from any CPAN mirror, in particular
> > http://search.cpan.org/
> > 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
> > =20
> > Your perl was compiled with gcc (version 3.2 20020329
> > (experimental)), okay. Creating test wrappers for=20
> > DBI::PurePerl: t/zvp_01basics.t=20
> > t/zvp_02dbidrv.t=20
> > t/zvp_03handle.t=20
> > t/zvp_04mods.t=20
> > t/zvp_05thrclone.t (use threads)
> > t/zvp_06attrs.t=20
> > t/zvp_07kids.t=20
> > t/zvp_08keeperr.t=20
> > t/zvp_09trace.t=20
> > t/zvp_10examp.t=20
> > t/zvp_11fetch.t=20
> > t/zvp_12quote.t=20
> > t/zvp_13taint.t=20
> > t/zvp_14utf8.t=20
> > t/zvp_15array.t=20
> > t/zvp_19fhtrace.t=20
> > t/zvp_20meta.t=20
> > t/zvp_30subclass.t=20
> > t/zvp_40profile.t=20
> > t/zvp_41prof_dump.t=20
> > t/zvp_42prof_data.t=20
> > t/zvp_43prof_env.t=20
> > t/zvp_50dbm.t=20
> > t/zvp_60preparse.t=20
> > t/zvp_65transact.t=20
> > t/zvp_70callbacks.t=20
> > t/zvp_72childhandles.t=20
> > t/zvp_80proxy.t=20
> > t/zvp_85gofer.t=20
> > Creating test wrappers for DBD::Gofer:
> > t/zvg_01basics.t=20
> > t/zvg_02dbidrv.t=20
> > t/zvg_03handle.t=20
> > t/zvg_04mods.t=20
> > t/zvg_05thrclone.t (use threads)
> > t/zvg_06attrs.t=20
> > t/zvg_07kids.t=20
> > t/zvg_08keeperr.t=20
> > t/zvg_09trace.t=20
> > t/zvg_10examp.t=20
> > t/zvg_11fetch.t=20
> > t/zvg_12quote.t=20
> > t/zvg_13taint.t=20
> > t/zvg_14utf8.t=20
> > t/zvg_15array.t=20
> > t/zvg_19fhtrace.t=20
> > t/zvg_20meta.t=20
> > t/zvg_30subclass.t=20
> > t/zvg_40profile.t=20
> > t/zvg_41prof_dump.t=20
> > t/zvg_42prof_data.t=20
> > t/zvg_43prof_env.t=20
> > t/zvg_50dbm.t=20
> > t/zvg_60preparse.t=20
> > t/zvg_65transact.t=20
> > t/zvg_70callbacks.t=20
> > t/zvg_72childhandles.t=20
> > t/zvg_80proxy.t=20
> > t/zvg_85gofer.t=20
> > Creating test wrappers for PurePerl & Gofer:
> > t/zvxgp_01basics.t=20
> > t/zvxgp_02dbidrv.t=20
> > t/zvxgp_03handle.t=20
> > t/zvxgp_04mods.t=20
> > t/zvxgp_05thrclone.t (use threads)
> > t/zvxgp_06attrs.t=20
> > t/zvxgp_07kids.t=20
> > t/zvxgp_08keeperr.t=20
> > t/zvxgp_09trace.t=20
> > t/zvxgp_10examp.t=20
> > t/zvxgp_11fetch.t=20
> > t/zvxgp_12quote.t=20
> > t/zvxgp_13taint.t=20
> > t/zvxgp_14utf8.t=20
> > t/zvxgp_15array.t=20
> > t/zvxgp_19fhtrace.t=20
> > t/zvxgp_20meta.t=20
> > t/zvxgp_30subclass.t=20
> > t/zvxgp_40profile.t=20
> > t/zvxgp_41prof_dump.t=20
> > t/zvxgp_42prof_data.t=20
> > t/zvxgp_43prof_env.t=20
> > t/zvxgp_50dbm.t=20
> > t/zvxgp_60preparse.t=20
> > t/zvxgp_65transact.t=20
> > t/zvxgp_70callbacks.t=20
> > t/zvxgp_72childhandles.t=20
> > t/zvxgp_80proxy.t=20
> > t/zvxgp_85gofer.t=20
> > Warning: prerequisite File::Spec 1 not found. We have 0.83.
> > =20
> > I see you're using perl 5.008 on
> > IA64.ARCHREV_0-thread-multi, okay.
> > 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=20
> > this working
> > directory before unpacking and building any DBD::* drivers.
> > =20
> > Writing Makefile for DBI
> >=20
> > ----
> >=20
> > # make
> > gcc -c -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT=20
> > -D_HPUX_SOURCE -fPIC -fno-strict-aliasing -D_LARGEFILE_SOURCE=20
> > -D_FILE_OFFSET_BITS=3D64 -DVERSION=3D\"1.54\" =20
> > -DXS_VERSION=3D\"1.54\" -fPIC
> > "-I/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE" -W=20
> > -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment=20
> > -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn=20
> > -Wno-unused-parameter Perl.c
> > In file included from=20
> > /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h: 3950,
> > from DBIXS.h:19,
> > from Perl.xs:6:
> > /usr/include/sys/ipc.h:51: error: parse error before "cid_t"
> > /usr/include/sys/ipc.h:56: error: parse error before '}'=20
> > token In file included from=20
> > /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h: 3951,
> > from DBIXS.h:19,
> > from Perl.xs:6:
> > /usr/include/sys/sem.h:91: error: field `sem_perm' has=20
> incomplete type
> > *** Error exit code 1
> > =20
> > Stop.
> >=20
> >=20
> > ----
> >=20
> > # perl -V
> > Summary of my perl5 (revision 5.0 version 8 subversion 0)
> > configuration:
> > Platform:
> > osname=3Dhpux, osvers=3D11.22, =
archname=3DIA64.ARCHREV_0-thread-multi
> > uname=3D'hp-ux bigsur03 b.11.22 u ia64 1800516905=20
> > unlimited-user license '
> > config_args=3D'-des -Dcc=3Dgcc -Dcf_by=3DActiveState=20
> > -Dcf_email=3DActivePerl@ActiveState.com -Uinstallusrbinperl=20
> > -Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpth=
> > -Uloclibpth=3D -Accflags=3D-fPIC -Dd_attribut=3Dundef=20
> > -Dcccdlflags=3D-fPIC -Uoptimize -Duselargefiles=20
> > -Dprefix=3D/opt/perl -Duselargefiles'
> > hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
> > usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine=20
> > usemultiplicity=3Ddefine
> > useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine=20
> usesocks=3Dundef
> > use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
> > usemymalloc=3Dn, bincompat5005=3Dundef
> > Compiler:
> > cc=3D'gcc', ccflags =3D'-D_POSIX_C_SOURCE=3D199506L=20
> > -D_REENTRANT -D_HPUX_SOURCE -fPIC -fno-strict-aliasing=20
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64',
> > optimize=3D' ',
> > cppflags=3D'-D_HPUX_SOURCE -D_POSIX_C_SOURCE=3D199506L=20
> > -D_REENTRANT -D_HPUX_SOURCE -fPIC -fno-strict-aliasing'
> > ccversion=3D'', gccversion=3D'3.2 20020329 (experimental)',=20
> > gccosandvers=3D'hpux11.20'
> > intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D4321
> > d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine,=20
> > longdblsize=3D16
> > ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8,=20
> > Off_t=3D'off_t', lseeksize=3D8
> > alignbytes=3D8, prototype=3Ddefine
> > Linker and Libraries:
> > ld=3D'gcc', ldflags =3D' -L/usr/lib/hpux32'
> > libpth=3D/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib =
/usr/local/lib
> > libs=3D-lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread
> > perllibs=3D-lnsl -lnm -ldl -ldld -lm -lsec -lpthread
> > libc=3D/usr/lib/hpux32/libc.so, so=3Dso, useshrplib=3Dfalse,=20
> > libperl=3Dlibperl.a
> > gnulibc_version=3D''
> > Dynamic Linking:
> > dlsrc=3Ddl_hpux.xs, dlext=3Dso, d_dlsymun=3Dundef,=20
> > ccdlflags=3D'-Wl,-E -Wl,-B,deferred '
> > cccdlflags=3D'-fPIC', lddlflags=3D'-shared -static-libgcc=20
> > -fPIC -L/usr/lib/hpux32'
> > =20
> > =20
> > Characteristics of this binary (from libperl):=20
> > Compile-time options: MULTIPLICITY USE_ITHREADS
> > USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
> > Locally applied patches:
> > ActivePerl Build 806
> > Built under hpux
> > Compiled at May 2 2003 21:27:40
> > @INC:
> > /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi
> > /opt/perl/lib/5.8.0
> > /opt/perl/lib/site_perl/5.8.0/IA64.ARCHREV_0-thread-multi
> > /opt/perl/lib/site_perl/5.8.0
> > /opt/perl/lib/site_perl
> > .
> >=20
> > -----
> > # gcc --version
> > gcc (GCC) 3.4.3
> > Copyright (C) 2004 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.
> > There is NO warranty; not even for MERCHANTABILITY or=20
> > FITNESS FOR A PARTICULAR PURPOSE.
> >=20
> >=20
> > ----
> > # uname -a
> > HP-UX tintin B.11.23 U ia64 1620026100 unlimited-user license
> >=20
> >=20
>=20