DBD::Sybase 1.08 fails to run tests on HP-UX 11.23 (64bit) with Sybase 12.5.3 (64bit)

--0-754644204-1196083269=:60517
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hello everybody,

I tried to install DBD::Sybase 1.08 on HP-UX 11.23 (64bit) and it failed in the test phase.

Versions of HP-UX and Sybase:
------------------------------------------------------------ --------------------------------------------
$uname -a
HP-UX servername B.11.23 U ia64 0563309065 unlimited-user license

>select [at] [at] version
Adaptive Server Enterprise/12.5.3/EBF 13337 ESD#7/P/ia64/HP-UX B.11.23/ase1253/1951/64-bit/OPT/Fri Mar 24 00:47:27 2006
------------------------------------------------------------ --------------------------------------------

Running "perl Makefile.PL" says u.a:
BLK api available - found: blk_r64 blk64

but at end of the run of "perl Makefile.PL":
Note (probably harmless): No library found for -lblk .

Compiling with "make" runs successfully, although producing following warnings:
------------------------------------------------------------ --------------------------------------------------------
(Bundled) cc: warning 922: "-Ae" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 922: "-fast" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 922: "+Ofltacc=strict" is unsupported in the bundled compiler, ignored.
Warning 267: "/usr/include/sys/socket.h", line 535 # Inconsistent linkage in declarations of "long long sendfile(int,int,long long,unsigned long long,const iovec *,int)"; previously was extern now is declared static.
static sbsize_t sendfile __((int, int, off_t, bsize_t, const struct iovec *, int
^^^^^^^^
Warning 267: "/usr/include/sys/socket.h", line 536 # Inconsistent linkage in declarations of "long long sendpath(int,char *,long long,unsigned long long,const iovec *,int)"; previously was extern now is declared static.
static sbsize_t sendpath __((int, char *, off_t, bsize_t, const struct iovec *,
^^^^^^^^
------------------------------------------------------------ --------------------------------------------------------

But "make test" fails:
Failed 12/12 test programs. 9/21 subtests failed.

While running "make test", following errors are produced through the linker of HP-UX:
------------------------------------------------------------ -------------------------------------------------------
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'blk_props' in load module '/tmp/dbd_tmp/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Syba se.so'.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'blk_alloc' in load module '/tmp/dbd_tmp/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Syba se.so'.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'blk_bind' in load module '/tmp/dbd_tmp/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Syba se.so'.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'blk_describe' in load module '/tmp/dbd_tmp/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Syba se.so'.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'blk_done' in load module '/tmp/dbd_tmp/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Syba se.so'.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'blk_drop' in load module '/tmp/dbd_tmp/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Syba se.so'.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'blk_init' in load module '/tmp/dbd_tmp/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Syba se.so'.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'blk_rowxfer' in load module '/tmp/dbd_tmp/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Syba se.so'.

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

I have tried to configure/compile/test once with
# BUILD_TYPE=64
in CONFIG, and then without BUILD_TYPE=64, both failed.


Thank you very match in advance for your help

Andon








---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
--0-754644204-1196083269=:60517--
atschauschev [ Mo, 26 November 2007 14:21 ] [ ID #1879391 ]

Re: DBD::Sybase 1.08 fails to run tests on HP-UX 11.23 (64bit) with Sybase 12.5.3 (64bit)

--wzJLGUyc3ArbnUjN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-11-26 05:21:09 -0800, Andon Tschauschev wrote:
> Hello everybody,
>
> I tried to install DBD::Sybase 1.08 on HP-UX 11.23 (64bit) and it failed =
in the test phase.
>
> Versions of HP-UX and Sybase:
> ------------------------------------------------------------ -------------=
-------------------------------
> $uname -a
> HP-UX servername B.11.23 U ia64 0563309065 unlimited-user license
>
> >select [at] [at] version
> Adaptive Server Enterprise/12.5.3/EBF 13337 ESD#7/P/ia64/HP-UX B.11.23/as=
e1253/1951/64-bit/OPT/Fri Mar 24 00:47:27 2006
> ------------------------------------------------------------ -------------=
-------------------------------
>
> Running "perl Makefile.PL" says u.a:
> BLK api available - found: blk_r64 blk64
>
> but at end of the run of "perl Makefile.PL":
> Note (probably harmless): No library found for -lblk .
>
> Compiling with "make" runs successfully, although producing following war=
nings:
> ------------------------------------------------------------ -------------=
-------------------------------------------
> (Bundled) cc: warning 922: "-Ae" is unsupported in the bundled compiler, =
ignored.
^^^^^^^^^ ^^^^^^^^^^^^^^^^

I don't think you'll have much luck with the bundled C compiler. At
least on PA-RISC (don't know about IA64) that's a very primitive
Pre-ANSI-C-compiler, usable only for compiling /stand/build/conf.c (and
similar specialized tasks). Either buy the HP ANSI-C compiler or get
gcc.

hp

--
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | hjp [at] wsr.ac.at | I don't, and I'm not.
__/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users

--wzJLGUyc3ArbnUjN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHSteMMdFfQa64PCwRAjI7AJ44FmNVtl0CA0RKKHf1fC6CB1GLagCc CTw3
BVHaUVxNWaGETpNpvJ24qtg=
=Nf68
-----END PGP SIGNATURE-----

--wzJLGUyc3ArbnUjN--
hjp [ Mo, 26 November 2007 15:26 ] [ ID #1879392 ]
Perl » perl.dbi.users » DBD::Sybase 1.08 fails to run tests on HP-UX 11.23 (64bit) with Sybase 12.5.3 (64bit)

Vorheriges Thema: DBD-ODBC-1.14 unicode bug?
Nächstes Thema: Issues with DBI on HP-UX (with Apache/mod_perl)