Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

MySQL client libs and binaries from HP's C++ build required

SOLVED
Go to solution
Ralph Grothe
Honored Contributor

MySQL client libs and binaries from HP's C++ build required

Hello,

I urgendly require precompiled libraries and binaries of the MySQL client for HP-UX 11.00 that were build by the HP C++ compiler.

The only binaries available for download I have found so far seem all to have been built by the GNU gcc compiler.

This doesn't help much because my primary concern is the use of the Perl DBI/DBD::mysql interface.
In order to install the DBD driver module in the make process linking against the MySQL libraries is required.
This of course will fail because I once had my Perl built by the HP-UX ANSI C compiler (please see dump of "perl -V" below).

Unfortunately the MySQL sources are one of those (still) few open sources that at least contain parts written in C++.
Therefore any attempt to build MySQL libraries from the source by HP-UX ANSI (plain) C naturally fail at last.

If anyone of you who happens to have a HP-UX C++ compiler on 11.00 running who could build the libs for me this would be a great help for me.

My Perl was built with these flags by HP-UX ANSI C:


# perl -V

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC2.0-LP64
uname='hp-ux jupiter b.11.00 u 9000800 690319332 unlimited-user license '
config_args='-A prepend:libswanted=cl pthread -Duselargefiles -Duse64bitall'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -D_LARGEFILE_SOURCE -D_FILE_OFF
SET_BITS=64 ',
optimize='+O2 +Onolimit',
cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64'
ccversion='B.11.11.02', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' +DD64 -L/usr/local/lib -L/lib/pa20_64'
libpth=/usr/local/lib /lib/pa20_64 /lib /usr/lib /usr/ccs/lib
libs=-lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
perllibs=-lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
libc=/lib/pa20_64/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib -L/lib/pa20_64'


Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
Locally applied patches:
ActivePerl Build 806
Built under hpux
Compiled at Jun 10 2003 08:30:18
@INC:
/opt/perl5/lib/5.8.0/PA-RISC2.0-LP64
/opt/perl5/lib/5.8.0
/opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0-LP64
/opt/perl5/lib/site_perl/5.8.0
/opt/perl5/lib/site_perl
.
Madness, thy name is system administration
2 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: MySQL client libs and binaries from HP's C++ build required

Try pre-compiled depots perhaps:

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ralph Grothe
Honored Contributor

Re: MySQL client libs and binaries from HP's C++ build required

Hello SEP,

thanks for advising to the HP Internet Express software.
I'm really delighted to see that since my last visit to this download link HP have added a depot for 11i PARISC of the free extensible agent Net-SNMP.
Before they only had a depot for 11.23 IA to offer.
This alone deserves you the rabbit.
I'm also glad to find a Jabber port to 11i now in the collection.

However, the ixMySQL depot for 11i which I downloaded and installed on one of our 11i test servers still was built by GNU gcc, at least this is what README.hp says:

MySQL build information
========================

This file describes the steps used to
build this product from the source code.

1. Dependent libraries.

The following libraries were used to
build this product:

zlib 1.1.4 (http://hpux.connect.org.uk/)
OpenSSL 0.9.7c (Internet Express)

2. Compiler

The gcc compiler and GNU make were used to compile
this product. You can download these from

gcc compiler 3.x (http://hpux.connect.org.uk/)
GNU make 3.80 (http://hpux.connect.org.uk/)

3. Unpack the source


The catch with the gcc build of the libs for me is that I need to write (Perl) scripts that hold synchronously database handles to both DB engines (i.e. Oracle and MySQL) open.
It was quite a pain in "me transom" (and it needed a lot of help from Merijn's README.hpux in the DBD::Oracle tarball) to get DBD::Oracle working on HP-UX PARISC, only by a custom build of Perl with HP-UX ANSI C.
I would rather prefer one Perl script/module executed by only one Perl interpiler instead of a skewed split invocation of two disparate processes.

Madness, thy name is system administration