List:MySQL and Perl« Previous MessageNext Message »
From:Keith Paschal Date:October 31 2003 11:01pm
Subject:Re: DBD::mysql install issues on HPUX 11.0
View as plain text  
Folks;

Okay, I got the newer version... now I get:

# Makefile.PL
I will use the following settings for compiling and testing:

  cflags        (mysql_config) = -I'/other/mysql/include'
  libs          (mysql_config) = -L/other/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.38 installed in 
/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
Writing Makefile for DBD::mysql
# make
        gcc -c  -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI 
-I'/other/mysql/include'  -mpa-risc-2-0 -D_HPUX_SOURCE -fno-stri
ct-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-O2    -DVERSION=\"2.9003\"  -DXS_VERSION=\"2.9003\" -fP
IC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE"   dbdimp.c
        /opt/perl/bin/perl /opt/perl/lib/5.8.0/ExtUtils/xsubpp  -typemap 
/opt/perl/lib/5.8.0/ExtUtils/typemap  mysql.xs > mysql.xsc
&& mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 192
Warning: duplicate function definition 'rows' detected in mysql.xs, line 290
        gcc -c  -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI 
-I'/other/mysql/include'  -mpa-risc-2-0 -D_HPUX_SOURCE -fno-stri
ct-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-O2    -DVERSION=\"2.9003\"  -DXS_VERSION=\"2.9003\" -fP
IC "-I/opt/perl/lib/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="/other/mysql/lib:/lib" /opt/perl/bin/perl myld 
/usr/bin/ld  -b -L/usr/local/lib dbdimp.o  mysql.o  -o blib/arch
/auto/DBD/mysql/mysql.sl   -L/other/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: "/other/mysql/lib/libmys
qlclient.a(libmysql.o)". Make sure it was compiled with +z/+Z.
*** Error exit code 1

I know I saw this when I was looking around for my first problem, but now I 
can't find it!

--Best Regards;

Keith


>From: Jochen Wiedmann <joe@stripped>
>To: Keith Paschal <kwp0921@stripped>
>CC: perl@stripped
>Subject: Re: DBD::mysql install issues on HPUX 11.0
>Date: Thu, 23 Oct 2003 04:39:42 +0200
>
>Keith Paschal wrote:
>
>>/usr/bin/ld  -b -L/usr/local/lib dbdimp.o  mysql.o  -o blib/arch
>>/auto/DBD/mysql/mysql.sl   -L/other/mysql/lib -lmysqlclient -lcrypt -lnsl 
>>-lm
>>*** Error exit code 1
>
>My guess is, that you are using 2.9002. Please get version 2.9003_1 from
>authors/R/RU/RUDY and try that. It should provide at least a meaningful
>error message. (And Rudy, please be so kind and make this the default
>version. We'll keep seeing such messages until then.)
>
>
>Jochen
>

_________________________________________________________________
Cheer a special someone with a fun Halloween eCard from American Greetings! 
Go to  http://www.msn.americangreetings.com/index_msn.pd?source=msne134

Thread
DBD::mysql install issues on HPUX 11.0Keith Paschal23 Oct
  • Re: DBD::mysql install issues on HPUX 11.0John Day23 Oct
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann23 Oct
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal23 Oct
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann23 Oct
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal31 Oct
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann1 Nov
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal4 Nov
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann4 Nov
RE: DBD::mysql install issues on HPUX 11.0Madhu Kangara4 Nov
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal4 Nov
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann5 Nov
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal12 Nov
RE: DBD::mysql install issues on HPUX 11.0Madhu Kangara12 Nov