8 messages in com.mysql.lists.perlRE: I can't get no satisfaction (DBD-...| From | Sent On | Attachments |
|---|---|---|
| Simon Taylor | 15 Mar 2004 18:25 | |
| Jochen Wiedmann | 15 Mar 2004 23:10 | |
| Brian Shen | 16 Mar 2004 04:40 | |
| Kangara, Madhu | 16 Mar 2004 08:39 | |
| Simon Taylor | 16 Mar 2004 15:09 | |
| Jochen Wiedmann | 16 Mar 2004 19:14 | |
| Simon Taylor | 16 Mar 2004 20:16 | |
| Jochen Wiedmann | 17 Mar 2004 01:14 |
| Subject: | RE: I can't get no satisfaction (DBD-mysql-2.9003 on HPUX 11.11)![]() |
|---|---|
| From: | Kangara, Madhu (Madh...@T-Mobile.com) |
| Date: | 03/16/2004 08:39:56 AM |
| List: | com.mysql.lists.perl |
Some time back I have published a small HOWTO on Mysql and DBD on HP 11.00 in
our newsgroup. Did you read that. It might be useful. The bottom line is you
need to compile atleast Mysql client yourself and then try building DBD. If you
don't have costly HP C compiler, then you need to have gcc.
Madhu
-----Original Message----- From: Simon Taylor [mailto:sim...@unisolve.com.au] Sent: Monday, March 15, 2004 6:26 PM To: pe...@lists.mysql.com Cc: John Bolland; Simon Green; bec...@unisolve.com.au Subject: I can't get no satisfaction (DBD-mysql-2.9003 on HPUX 11.11)
Hello all,
Has anyone else had this problem and beeen able to resolve it?
I can't get DBD-mysql-2.9003 to compile on any of three HPUX-11.11 machines I have access to.
I'm using MySQL 4.0.18, (for hp-hpux11.11 on hppa2.0w), downloaded from mysql.com today. The machines are a vanilla hpux 11.11 with perl 5.8.3 and no gcc environment installed.
The make fails with:
/usr/bin/ld: Invalid loader fixup in text space needed in output file for symbol "$0000004B" in input file "/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)"
See below for the gory details. I would really value hearing anyone's else experience with DBD and hpux 11.11 (BTW, I get the same problem with mysql 4.0.17).
Regards,
Simon Taylor
DETAILS:
$ perl Makefile.PL --cflags="-I/usr/local/mysql/include +DAportable" --libs="-L/usr/local/mysql/lib -lmysqlclient -lcrypt -lnsl -lm" I will use the following settings for compiling and testing:
cflags (Users choice) = -I/usr/local/mysql/include +DAportable libs (Users choice) = -L/usr/local/mysql/lib -lmysqlclient -lcrypt -lnsl -lm nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'.
Using DBI 1.40 (for perl 5.008003 on PA-RISC2.0-thread-multi) installed in /opt/perl5/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi/auto/DBI Writing Makefile for DBD::mysql
$ make cc -c -I/opt/perl5/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi/auto/DBI -I/usr/local/mysql/include +DAportable -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" +Z "-I/opt/perl5/lib/5.8.3/PA-RISC2.0-thread-multi/CORE" dbdimp.c cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of "sendfile" with a different storage class specifier: "sendfile" will have internal linkage. cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of "sendpath" with a different storage class specifier: "sendpath" will have internal linkage. cc -c -I/opt/perl5/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi/auto/DBI -I/usr/local/mysql/include +DAportable -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" +Z "-I/opt/perl5/lib/5.8.3/PA-RISC2.0-thread-multi/CORE" mysql.c cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of "sendfile" with a different storage class specifier: "sendfile" will have internal linkage. cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of "sendpath" with a different storage class specifier: "sendpath" will have internal linkage. Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.sl LD_RUN_PATH="" /usr/bin/perl myld /usr/bin/ld -b +vnocompatwarnings -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.sl -L/usr/local/mysql/lib -lmysqlclient -lcrypt -lnsl -lm /usr/bin/ld: Invalid loader fixup in text space needed in output file for symbol "$0000004B" in input file "/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)" *** Error exit code 1
Stop. $
-- Unisolve Pty Ltd - Melbourne, Australia +61 3 9568 2005
-- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/perl?unsub=madh...@t-mobile.com




