HELP - compiling DBD-mysql on HP-UX 11.00

HELP - compiling DBD-mysql on HP-UX 11.00

am 19.08.2003 16:48:26 von Madhu.Kangara

when I added --nocatchstderr option, I got these error message, Could you
please tell me how and where to add +z or +Z option.

the error message is
$ gmake
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/auto/DBI
-I'/usr/local
/mysql/include/mysql' -D_HPUX_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE
-DVERSION=\"2.1026\" -DXS_VERSION=\"2.1026\" -fPIC
"-I/usr/local/lib/perl5/5.8
..0/PA-RISC2.0/CORE" dbdimp.c
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/auto/DBI
-I'/usr/local
/mysql/include/mysql' -D_HPUX_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE
-DVERSION=\"2.1026\" -DXS_VERSION=\"2.1026\" -fPIC
"-I/usr/local/lib/perl5/5.8
..0/PA-RISC2.0/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.sl
LD_RUN_PATH="/usr/local/mysql/lib/mysql:/usr/local/lib:/lib" /usr/bin/ld -b
-L/
usr/local/lib -L/opt/local/lib dbdimp.o mysql.o -o
blib/arch/auto/DBD/mysql/mys
ql.sl -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
/usr/bin/ld: DP relative code in file
/usr/local/mysql/lib/mysql/libmysqlclient.
a(libmysql.o) - shared library must be position
independent. Use +z or +Z to recompile.
gmake: *** [blib/arch/auto/DBD/mysql/mysql.sl] Error 1

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