HELP - compiling DBD-mysql on HP-UX 11.00

HELP - compiling DBD-mysql on HP-UX 11.00

am 18.08.2003 19:50:03 von Madhu.Kangara

I am trying to compile DBD-mysql on an HP11.00 box with 32 bit gcc and 32bit
perl (compiled from source)
and I am not sucessful.

mysql_config is giving the following output
$ mysql_config
Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
Options:
--cflags [-I'/usr/local/mysql/include/mysql']
--libs [-L'/usr/local/mysql/lib/mysql' -lmysqlclient -lz -lcry
pt -lnsl -lm]
--socket [/tmp/mysql.sock]
--port [3306]
--version [4.0.13]
--libmysqld-libs [ -L'/usr/local/mysql/lib/mysql' -lmysqld -lpthread -lz
-lcrypt -lnsl -lm -lpthread -lrt]


If I do gmake with the above libs option, due to -lz option the gmake is
failing. But if I remove -lz option, gmake will be completed with out
errors, but gmake test is giving following errors and all tests are failing

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harne
ss(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.........../usr/lib/dld.sl: Unresolved symbol: mysql_list_dbs (code)
fr
om /apps/depot/sw/DBD-mysql-2.1026/blib/arch/auto/DBD/mysql/mys ql.sl
/usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from
/apps/depot/sw/DBD-my
sql-2.1026/blib/arch/auto/DBD/mysql/mysql.sl
/usr/lib/dld.sl: Unresolved symbol: mysql_info (code) from
/apps/depot/sw/DBD-m
ysql-2.1026/blib/arch/auto/DBD/mysql/mysql.sl
/usr/lib/dld.sl: Unresolved symbol: mysql_list_fields (code) from
/apps/depot/s
w/DBD-mysql-2.1026/blib/arch/auto/DBD/mysql/mysql.sl
/usr/lib/dld.sl: Unresolved symbol: mysql_get_host_info (code) from
/apps/depot
/sw/DBD-mysql-2.1026/blib/arch/auto/DBD/mysql/mysql.sl

Any hints, tips ?
Has anyone sucessfully able to compile DBD-mysql on HP-UX ?
Please help me as I am struggling
Thanks
Madhu



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org