DBD::mysql install issues on HPUX 11.0

DBD::mysql install issues on HPUX 11.0

am 23.10.2003 01:11:00 von Keith Paschal

Folks;

I'm running HPUX 11.0 and am desperately trying to install the DBD::mysql
components. I run:

# perl 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
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.1028\" -DXS_VERSION=\"2.1028\" -fP
IC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE" dbdimp.c
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.1028\" -DXS_VERSION=\"2.1028\" -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
*** Error exit code 1


I've been trolling through web pages and lists for hours now and can see a
few similar errors, but no solutions have been able to solve my problem thus
far. I have mysql installed in /other/mysql and am running version 4.015a.
I am running Perl 5.8.0 (freshly downloaded today).

Any help is appreciated greatly.

Best Regards;

Keith

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


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 23.10.2003 02:49:51 von John Day

Hi!

I had the same sort of problems earlier today.

1.. You need to identify where the header files are, of course that directory is need for the 'cflags' parameter.
2.. Identify where the client libraries are, the file you can search for is mysqlclient.so

Make the module manually changing the configuration to suit your own directory structure.

I hope that gets you by! I am a newbie at this, but I found a good look at the README document in the distribution set me on the path (with some help from Rudy and Jochen here).

Good luck!

John


At 07:11 PM 10/22/2003 -0400, Keith Paschal wrote:
>Folks;
>
>I'm running HPUX 11.0 and am desperately trying to install the DBD::mysql components. I run:
>
># perl 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
> 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.1028\" -DXS_VERSION=\"2.1028\" -fP
>IC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE" dbdimp.c
> 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.1028\" -DXS_VERSION=\"2.1028\" -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
>*** Error exit code 1
>
>
>I've been trolling through web pages and lists for hours now and can see a few similar errors, but no solutions have been able to solve my problem thus far. I have mysql installed in /other/mysql and am running version 4.015a.
>I am running Perl 5.8.0 (freshly downloaded today).
>
>Any help is appreciated greatly.
>
>Best Regards;
>
>Keith
>
>___________________________________________________________ ______
>Cheer a special someone with a fun Halloween eCard from American Greetings! Go to http://www.msn.americangreetings.com/index_msn.pd?source=msn e134
>
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=johnday@wordsnimages.com
>
>


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 23.10.2003 02:49:51 von John Day

Hi!

I had the same sort of problems earlier today.

1.. You need to identify where the header files are, of course that directory is need for the 'cflags' parameter.
2.. Identify where the client libraries are, the file you can search for is mysqlclient.so

Make the module manually changing the configuration to suit your own directory structure.

I hope that gets you by! I am a newbie at this, but I found a good look at the README document in the distribution set me on the path (with some help from Rudy and Jochen here).

Good luck!

John


At 07:11 PM 10/22/2003 -0400, Keith Paschal wrote:
>Folks;
>
>I'm running HPUX 11.0 and am desperately trying to install the DBD::mysql components. I run:
>
># perl 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
> 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.1028\" -DXS_VERSION=\"2.1028\" -fP
>IC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE" dbdimp.c
> 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.1028\" -DXS_VERSION=\"2.1028\" -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
>*** Error exit code 1
>
>
>I've been trolling through web pages and lists for hours now and can see a few similar errors, but no solutions have been able to solve my problem thus far. I have mysql installed in /other/mysql and am running version 4.015a.
>I am running Perl 5.8.0 (freshly downloaded today).
>
>Any help is appreciated greatly.
>
>Best Regards;
>
>Keith
>
>___________________________________________________________ ______
>Cheer a special someone with a fun Halloween eCard from American Greetings! Go to http://www.msn.americangreetings.com/index_msn.pd?source=msn e134
>
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=johnday@wordsnimages.com
>
>


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 23.10.2003 04:39:42 von Jochen Wiedmann

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


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 23.10.2003 04:39:42 von Jochen Wiedmann

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


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 23.10.2003 20:01:10 von Keith Paschal

Jochen;

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.

I'm sorry, what is "authors/R/RU/RUDY" ?

I appologize for asking potentially stupid questions, but I'm fairly new at
this type of thing (I am more of a perl script writer, not a sysadmin
type)...

Best Regards;

Keith


>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>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
>
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=kwp0921@hotmail.com
>

____________________________________________________________ _____
Send instant messages to anyone on your contact list with MSN Messenger
6.0. Try it now FREE! http://msnmessenger-download.com


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 23.10.2003 20:01:10 von Keith Paschal

Jochen;

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.

I'm sorry, what is "authors/R/RU/RUDY" ?

I appologize for asking potentially stupid questions, but I'm fairly new at
this type of thing (I am more of a perl script writer, not a sysadmin
type)...

Best Regards;

Keith


>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>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
>
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe: http://lists.mysql.com/perl?unsub=kwp0921@hotmail.com
>

____________________________________________________________ _____
Send instant messages to anyone on your contact list with MSN Messenger
6.0. Try it now FREE! http://msnmessenger-download.com


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 23.10.2003 20:33:29 von Jochen Wiedmann

Keith Paschal wrote:

> I'm sorry, what is "authors/R/RU/RUDY" ?

Any CPAN mirror, directory authors/R/RU/RUDY


Jochen



--
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

Re: DBD::mysql install issues on HPUX 11.0

am 23.10.2003 20:33:29 von Jochen Wiedmann

Keith Paschal wrote:

> I'm sorry, what is "authors/R/RU/RUDY" ?

Any CPAN mirror, directory authors/R/RU/RUDY


Jochen



--
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

Re: DBD::mysql install issues on HPUX 11.0

am 31.10.2003 23:01:51 von Keith Paschal

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
>To: Keith Paschal
>CC: perl@lists.mysql.com
>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=msn e134


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 31.10.2003 23:01:51 von Keith Paschal

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
>To: Keith Paschal
>CC: perl@lists.mysql.com
>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=msn e134


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 01.11.2003 11:46:37 von Jochen Wiedmann

Keith Paschal wrote:

> libs (mysql_config) = -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

The message says it all: Try using the option

--libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +z"

or

--libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +Z"

when running "perl Makefile.PL".


Jochen



--
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

Re: DBD::mysql install issues on HPUX 11.0

am 01.11.2003 11:46:37 von Jochen Wiedmann

Keith Paschal wrote:

> libs (mysql_config) = -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

The message says it all: Try using the option

--libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +z"

or

--libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +Z"

when running "perl Makefile.PL".


Jochen



--
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

Re: DBD::mysql install issues on HPUX 11.0

am 04.11.2003 01:51:21 von Keith Paschal

Jochen;

I would say this is not a valid fix:

# /opt/perl/bin/perl Makefile.PL --libs="-L/other/mysql/lib -lmysqlclient
-lcrypt -lnsl -lm +Z"
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I'/other/mysql/include'
libs (Users choice) = -L/other/mysql/lib -lmysqlclient -lcrypt
-lnsl -lm +Z
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'.

Unrecognized argument in LIBS ignored: '+Z'
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
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

Stop.

Note the error: Unrecognized argument in LIBS ignored: '+Z'

This stuff really shouldn't be this hard to compile....

Best Regards;

Keith

>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>Subject: Re: DBD::mysql install issues on HPUX 11.0
>Date: Sat, 01 Nov 2003 11:46:37 +0100
>
>Keith Paschal wrote:
>
>> libs (mysql_config) = -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
>
>The message says it all: Try using the option
>
> --libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +z"
>
>or
>
> --libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +Z"
>
>when running "perl Makefile.PL".
>
>
>Jochen
>
>
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe:
>http://lists.mysql.com/perl?unsub=sugiarto.Then@infotronik. com
>

____________________________________________________________ _____
Send a QuickGreet with MSN Messenger
http://www.msnmessenger-download.com/tracking/cdp_games


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 04.11.2003 01:51:21 von Keith Paschal

Jochen;

I would say this is not a valid fix:

# /opt/perl/bin/perl Makefile.PL --libs="-L/other/mysql/lib -lmysqlclient
-lcrypt -lnsl -lm +Z"
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I'/other/mysql/include'
libs (Users choice) = -L/other/mysql/lib -lmysqlclient -lcrypt
-lnsl -lm +Z
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'.

Unrecognized argument in LIBS ignored: '+Z'
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
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

Stop.

Note the error: Unrecognized argument in LIBS ignored: '+Z'

This stuff really shouldn't be this hard to compile....

Best Regards;

Keith

>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>Subject: Re: DBD::mysql install issues on HPUX 11.0
>Date: Sat, 01 Nov 2003 11:46:37 +0100
>
>Keith Paschal wrote:
>
>> libs (mysql_config) = -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
>
>The message says it all: Try using the option
>
> --libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +z"
>
>or
>
> --libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +Z"
>
>when running "perl Makefile.PL".
>
>
>Jochen
>
>
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe:
>http://lists.mysql.com/perl?unsub=sugiarto.Then@infotronik. com
>

____________________________________________________________ _____
Send a QuickGreet with MSN Messenger
http://www.msnmessenger-download.com/tracking/cdp_games


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 04.11.2003 07:16:04 von Jochen Wiedmann

Keith Paschal wrote:

> I would say this is not a valid fix:
>
> # /opt/perl/bin/perl Makefile.PL --libs="-L/other/mysql/lib
> -lmysqlclient -lcrypt -lnsl -lm +Z"

Sorry, didn't notice that you are using gcc and not the HP compiler.
It's -fPIC then.


Jochen


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 04.11.2003 07:16:04 von Jochen Wiedmann

Keith Paschal wrote:

> I would say this is not a valid fix:
>
> # /opt/perl/bin/perl Makefile.PL --libs="-L/other/mysql/lib
> -lmysqlclient -lcrypt -lnsl -lm +Z"

Sorry, didn't notice that you are using gcc and not the HP compiler.
It's -fPIC then.


Jochen


--
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

RE: DBD::mysql install issues on HPUX 11.0

am 04.11.2003 17:43:37 von Madhu.Kangara

Here is a small HOWTO on compiling DBD::mysql on HPUX 11.0 which I compiled
3 months back

Special thanks to Jochen.
So here is what I have done.
1) Created a new mysql client with gcc 3.2.3 with following options

$ CFLAGS="-fomit-frame-pointer -O3 -fPIC"
$ CXX=gcc
$ CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti -O3 -fPIC"
$ ./configure --without-server --prefix=/usr/local/mysqlc --with-low-memory
--enable-thread-safe-client --enable-local-infile --with-pthread
--with-lib-ccflags=-fPIC --disable-shared

$ gmake

# gmake install

$ /usr/local/mysqlc/bin/mysql -v
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4429 to server version: 4.0.13

Reading history-file /home/madhu/.mysql_history
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.


2) Then compiled DBD-mysql
$ pwd
/apps/depot/sw/DBD-mysql-2.1026

$ perl Makefile.PL --cflags="-I/usr/local/mysqlc/include/mysql"
--libs="-L/usr/l
ocal/mysqlc/lib/mysql -L/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3
-lmys
qlclient -lz -lcrypt -lnsl -lm -lgcc" --nocatchstderr
I will use the following settings for compiling and testing:

cflags (Users choice) = -I/usr/local/mysqlc/include/mysql
libs (Users choice) = -L/usr/local/mysqlc/lib/mysql
-L/usr/local/lib/
gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3 -lmysqlclient -lz -lcrypt -lnsl -lm
-lgcc
nocatchstderr (Users choice) = 1
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.30 installed in
/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
Writing Makefile for DBD::mysql
$ gmake
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/DBD/mysql.pod blib/lib/DBD/mysql.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
-I/usr/local/mysqlc/
include/mysql -mpa-risc-2-0 -D_HPUX_SOURCE -fno-strict-aliasing
-I/usr/local/inc
lude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.1026\"
-DXS_
VERSION=\"2.1026\" -fPIC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE" dbdimp.c
/opt/perl/bin/perl -p -e "s/~DRIVER~/mysql/g" <
/opt/perl/lib/site_perl/5.8.0/PA
-RISC2.0/auto/DBI/Driver.xst > mysql.xsi
/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 'rows' detected in mysql.xs, line 291
gcc -c -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
-I/usr/local/mysqlc/
include/mysql -mpa-risc-2-0 -D_HPUX_SOURCE -fno-strict-aliasing
-I/usr/local/inc
lude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.1026\"
-DXS_
VERSION=\"2.1026\" -fPIC "-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="/usr/local/mysqlc/lib/mysql:/usr/local/lib:/lib :/usr/local/lib/
gcc-
lib/hppa2.0n-hp-hpux11.00/3.2.3" /usr/bin/ld -b -L/usr/local/lib dbdimp.o
mysql
..o -o blib/arch/auto/DBD/mysql/mysql.sl -L/usr/local/mysqlc/lib/mysql
-L/usr/
local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3 -lmysqlclient -lz -lcrypt
-lnsl -l
m -lgcc
chmod 755 blib/arch/auto/DBD/mysql/mysql.sl
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/Mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/DBD::mysql.3
Manifying blib/man3/Bundle::DBD::mysql.3
$ gmake test
PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harnes
s(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........ok

t/10dsnlist........ok

t/20createdrop.....ok

t/30insertfetch....ok

t/40bindparam......ok

t/40blobs..........ok

t/40listfields.....ok

t/40nulls..........ok

t/40numrows........ok

t/50chopblanks.....ok

t/50commit.........ok

14/30 skipped: No transactions
t/60leaks..........skipped
all skipped: no reason given
t/ak-dbd...........ok

t/akmisc...........ok

t/dbdadmin.........ok

t/insertid.........ok

t/mysql............ok

t/mysql2...........ok

All tests successful, 1 test and 14 subtests skipped.
Files=18, Tests=765, 25 wallclock secs ( 4.10 cusr + 0.30 csys = 4.40 CPU)

With regards
Madhu

-----Original Message-----
From: Jochen Wiedmann [mailto:joe@ispsoft.de]
Sent: Monday, November 03, 2003 10:16 PM
To: Keith Paschal
Cc: perl@lists.mysql.com
Subject: Re: DBD::mysql install issues on HPUX 11.0


Keith Paschal wrote:

> I would say this is not a valid fix:
>
> # /opt/perl/bin/perl Makefile.PL --libs="-L/other/mysql/lib
> -lmysqlclient -lcrypt -lnsl -lm +Z"

Sorry, didn't notice that you are using gcc and not the HP compiler.
It's -fPIC then.


Jochen


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:
http://lists.mysql.com/perl?unsub=madhu.kangara@t-mobile.com

--
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

RE: DBD::mysql install issues on HPUX 11.0

am 04.11.2003 17:43:37 von Madhu.Kangara

Here is a small HOWTO on compiling DBD::mysql on HPUX 11.0 which I compiled
3 months back

Special thanks to Jochen.
So here is what I have done.
1) Created a new mysql client with gcc 3.2.3 with following options

$ CFLAGS="-fomit-frame-pointer -O3 -fPIC"
$ CXX=gcc
$ CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti -O3 -fPIC"
$ ./configure --without-server --prefix=/usr/local/mysqlc --with-low-memory
--enable-thread-safe-client --enable-local-infile --with-pthread
--with-lib-ccflags=-fPIC --disable-shared

$ gmake

# gmake install

$ /usr/local/mysqlc/bin/mysql -v
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4429 to server version: 4.0.13

Reading history-file /home/madhu/.mysql_history
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.


2) Then compiled DBD-mysql
$ pwd
/apps/depot/sw/DBD-mysql-2.1026

$ perl Makefile.PL --cflags="-I/usr/local/mysqlc/include/mysql"
--libs="-L/usr/l
ocal/mysqlc/lib/mysql -L/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3
-lmys
qlclient -lz -lcrypt -lnsl -lm -lgcc" --nocatchstderr
I will use the following settings for compiling and testing:

cflags (Users choice) = -I/usr/local/mysqlc/include/mysql
libs (Users choice) = -L/usr/local/mysqlc/lib/mysql
-L/usr/local/lib/
gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3 -lmysqlclient -lz -lcrypt -lnsl -lm
-lgcc
nocatchstderr (Users choice) = 1
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.30 installed in
/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
Writing Makefile for DBD::mysql
$ gmake
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/DBD/mysql.pod blib/lib/DBD/mysql.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
-I/usr/local/mysqlc/
include/mysql -mpa-risc-2-0 -D_HPUX_SOURCE -fno-strict-aliasing
-I/usr/local/inc
lude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.1026\"
-DXS_
VERSION=\"2.1026\" -fPIC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE" dbdimp.c
/opt/perl/bin/perl -p -e "s/~DRIVER~/mysql/g" <
/opt/perl/lib/site_perl/5.8.0/PA
-RISC2.0/auto/DBI/Driver.xst > mysql.xsi
/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 'rows' detected in mysql.xs, line 291
gcc -c -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
-I/usr/local/mysqlc/
include/mysql -mpa-risc-2-0 -D_HPUX_SOURCE -fno-strict-aliasing
-I/usr/local/inc
lude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.1026\"
-DXS_
VERSION=\"2.1026\" -fPIC "-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="/usr/local/mysqlc/lib/mysql:/usr/local/lib:/lib :/usr/local/lib/
gcc-
lib/hppa2.0n-hp-hpux11.00/3.2.3" /usr/bin/ld -b -L/usr/local/lib dbdimp.o
mysql
..o -o blib/arch/auto/DBD/mysql/mysql.sl -L/usr/local/mysqlc/lib/mysql
-L/usr/
local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3 -lmysqlclient -lz -lcrypt
-lnsl -l
m -lgcc
chmod 755 blib/arch/auto/DBD/mysql/mysql.sl
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/Mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/DBD::mysql.3
Manifying blib/man3/Bundle::DBD::mysql.3
$ gmake test
PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harnes
s(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........ok

t/10dsnlist........ok

t/20createdrop.....ok

t/30insertfetch....ok

t/40bindparam......ok

t/40blobs..........ok

t/40listfields.....ok

t/40nulls..........ok

t/40numrows........ok

t/50chopblanks.....ok

t/50commit.........ok

14/30 skipped: No transactions
t/60leaks..........skipped
all skipped: no reason given
t/ak-dbd...........ok

t/akmisc...........ok

t/dbdadmin.........ok

t/insertid.........ok

t/mysql............ok

t/mysql2...........ok

All tests successful, 1 test and 14 subtests skipped.
Files=18, Tests=765, 25 wallclock secs ( 4.10 cusr + 0.30 csys = 4.40 CPU)

With regards
Madhu

-----Original Message-----
From: Jochen Wiedmann [mailto:joe@ispsoft.de]
Sent: Monday, November 03, 2003 10:16 PM
To: Keith Paschal
Cc: perl@lists.mysql.com
Subject: Re: DBD::mysql install issues on HPUX 11.0


Keith Paschal wrote:

> I would say this is not a valid fix:
>
> # /opt/perl/bin/perl Makefile.PL --libs="-L/other/mysql/lib
> -lmysqlclient -lcrypt -lnsl -lm +Z"

Sorry, didn't notice that you are using gcc and not the HP compiler.
It's -fPIC then.


Jochen


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:
http://lists.mysql.com/perl?unsub=madhu.kangara@t-mobile.com

--
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

Re: DBD::mysql install issues on HPUX 11.0

am 04.11.2003 20:36:35 von Keith Paschal

Jochen;

Please excuse my ignorance... ... you say:

>Sorry, didn't notice that you are using gcc and not the HP compiler.
>It's -fPIC then.

What's -fPIC? I tried putting this at the end of the "Makefile" command,
but that didn't work... I'm starting to think windows DSN's are much better
to use than Unix (heaven forbid, but they're easier to set up!!!)....

I hope I'm not asking too many stupid questions, but I'm not a sysAdmin (and
not used to making stuff and compiling things... just used to writing
scripts and such)...

Thanks;

Keith


>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>Subject: Re: DBD::mysql install issues on HPUX 11.0
>Date: Tue, 04 Nov 2003 07:16:04 +0100
>
>Keith Paschal wrote:
>
>>I would say this is not a valid fix:
>>
>># /opt/perl/bin/perl Makefile.PL --libs="-L/other/mysql/lib -lmysqlclient
>>-lcrypt -lnsl -lm +Z"
>
>Sorry, didn't notice that you are using gcc and not the HP compiler.
>It's -fPIC then.
>
>
>Jochen
>
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe:
>http://lists.mysql.com/perl?unsub=sugiarto.Then@infotronik. com
>

____________________________________________________________ _____
Is your computer infected with a virus? Find out with a FREE computer virus
scan from McAfee. Take the FreeScan now!
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 04.11.2003 20:36:35 von Keith Paschal

Jochen;

Please excuse my ignorance... ... you say:

>Sorry, didn't notice that you are using gcc and not the HP compiler.
>It's -fPIC then.

What's -fPIC? I tried putting this at the end of the "Makefile" command,
but that didn't work... I'm starting to think windows DSN's are much better
to use than Unix (heaven forbid, but they're easier to set up!!!)....

I hope I'm not asking too many stupid questions, but I'm not a sysAdmin (and
not used to making stuff and compiling things... just used to writing
scripts and such)...

Thanks;

Keith


>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>Subject: Re: DBD::mysql install issues on HPUX 11.0
>Date: Tue, 04 Nov 2003 07:16:04 +0100
>
>Keith Paschal wrote:
>
>>I would say this is not a valid fix:
>>
>># /opt/perl/bin/perl Makefile.PL --libs="-L/other/mysql/lib -lmysqlclient
>>-lcrypt -lnsl -lm +Z"
>
>Sorry, didn't notice that you are using gcc and not the HP compiler.
>It's -fPIC then.
>
>
>Jochen
>
>
>--
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe:
>http://lists.mysql.com/perl?unsub=sugiarto.Then@infotronik. com
>

____________________________________________________________ _____
Is your computer infected with a virus? Find out with a FREE computer virus
scan from McAfee. Take the FreeScan now!
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 05.11.2003 13:09:38 von Jochen Wiedmann

Keith Paschal wrote:

> Please excuse my ignorance... ... you say:
>
>> Sorry, didn't notice that you are using gcc and not the HP compiler.
>> It's -fPIC then.
>
>
> What's -fPIC? I tried putting this at the end of the "Makefile"
> command, but that didn't work... I'm starting to think windows DSN's
> are much better to use than Unix (heaven forbid, but they're easier to
> set up!!!)....

See

http://lists.mysql.com/perl/2548

Jochen



--
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

Re: DBD::mysql install issues on HPUX 11.0

am 05.11.2003 13:09:38 von Jochen Wiedmann

Keith Paschal wrote:

> Please excuse my ignorance... ... you say:
>
>> Sorry, didn't notice that you are using gcc and not the HP compiler.
>> It's -fPIC then.
>
>
> What's -fPIC? I tried putting this at the end of the "Makefile"
> command, but that didn't work... I'm starting to think windows DSN's
> are much better to use than Unix (heaven forbid, but they're easier to
> set up!!!)....

See

http://lists.mysql.com/perl/2548

Jochen



--
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

Re: DBD::mysql install issues on HPUX 11.0

am 12.11.2003 00:21:28 von Keith Paschal

Folks;

I've tried and tried and tried using that cheatsheet, and I'm beginning to
feel I'm just an idiot. Does someone have a binary copy already compiled
that I can just stick on my hpux box?

Thanks;

Keith


>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>Subject: Re: DBD::mysql install issues on HPUX 11.0
>Date: Wed, 05 Nov 2003 13:09:38 +0100
>
>Keith Paschal wrote:
>
>>Please excuse my ignorance... ... you say:
>>
>>>Sorry, didn't notice that you are using gcc and not the HP compiler.
>>>It's -fPIC then.
>>
>>
>>What's -fPIC? I tried putting this at the end of the "Makefile" command,
>>but that didn't work... I'm starting to think windows DSN's are much
>>better to use than Unix (heaven forbid, but they're easier to set
>>up!!!)....
>
>See
>
> http://lists.mysql.com/perl/2548
>
>Jochen
>
>

____________________________________________________________ _____
Frustrated with dial-up? Get high-speed for as low as $26.95.
https://broadband.msn.com (Prices may vary by service area.)


--
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

Re: DBD::mysql install issues on HPUX 11.0

am 12.11.2003 00:21:28 von Keith Paschal

Folks;

I've tried and tried and tried using that cheatsheet, and I'm beginning to
feel I'm just an idiot. Does someone have a binary copy already compiled
that I can just stick on my hpux box?

Thanks;

Keith


>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>Subject: Re: DBD::mysql install issues on HPUX 11.0
>Date: Wed, 05 Nov 2003 13:09:38 +0100
>
>Keith Paschal wrote:
>
>>Please excuse my ignorance... ... you say:
>>
>>>Sorry, didn't notice that you are using gcc and not the HP compiler.
>>>It's -fPIC then.
>>
>>
>>What's -fPIC? I tried putting this at the end of the "Makefile" command,
>>but that didn't work... I'm starting to think windows DSN's are much
>>better to use than Unix (heaven forbid, but they're easier to set
>>up!!!)....
>
>See
>
> http://lists.mysql.com/perl/2548
>
>Jochen
>
>

____________________________________________________________ _____
Frustrated with dial-up? Get high-speed for as low as $26.95.
https://broadband.msn.com (Prices may vary by service area.)


--
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

RE: DBD::mysql install issues on HPUX 11.0

am 12.11.2003 01:49:42 von Madhu.Kangara

------_=_NextPart_000_01C3A8B6.DC1788F0
Content-Type: text/plain;
charset="iso-8859-1"

As the mysql binary with server component is around 22MB, I am providing you
with the script to compile mysql from source.
So download mysql source from www.mysql.com and download gcc , gmake and
other goodies if not already downloaded

Untar my file and read readme.txt and compile in the order required
From my office network ftp in and out are blocked. If you could provide me
with a ssh connection, I could try uploading the binary file.
Here is the script file


-----Original Message-----
From: Keith Paschal [mailto:kwp0921@hotmail.com]
Sent: Tuesday, November 11, 2003 3:21 PM
To: perl@lists.mysql.com
Subject: Re: DBD::mysql install issues on HPUX 11.0


Folks;

I've tried and tried and tried using that cheatsheet, and I'm beginning to
feel I'm just an idiot. Does someone have a binary copy already compiled
that I can just stick on my hpux box?

Thanks;

Keith


>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>Subject: Re: DBD::mysql install issues on HPUX 11.0
>Date: Wed, 05 Nov 2003 13:09:38 +0100
>
>Keith Paschal wrote:
>
>>Please excuse my ignorance... ... you say:
>>
>>>Sorry, didn't notice that you are using gcc and not the HP compiler.
>>>It's -fPIC then.
>>
>>
>>What's -fPIC? I tried putting this at the end of the "Makefile" command,
>>but that didn't work... I'm starting to think windows DSN's are much
>>better to use than Unix (heaven forbid, but they're easier to set
>>up!!!)....
>
>See
>
> http://lists.mysql.com/perl/2548
>
>Jochen
>
>

____________________________________________________________ _____
Frustrated with dial-up? Get high-speed for as low as $26.95.
https://broadband.msn.com (Prices may vary by service area.)


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:
http://lists.mysql.com/perl?unsub=madhu.kangara@t-mobile.com



------_=_NextPart_000_01C3A8B6.DC1788F0
Content-Type: text/plain; charset=us-ascii

--
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
------_=_NextPart_000_01C3A8B6.DC1788F0--

RE: DBD::mysql install issues on HPUX 11.0

am 12.11.2003 01:49:42 von Madhu.Kangara

------_=_NextPart_000_01C3A8B6.DC1788F0
Content-Type: text/plain;
charset="iso-8859-1"

As the mysql binary with server component is around 22MB, I am providing you
with the script to compile mysql from source.
So download mysql source from www.mysql.com and download gcc , gmake and
other goodies if not already downloaded

Untar my file and read readme.txt and compile in the order required
From my office network ftp in and out are blocked. If you could provide me
with a ssh connection, I could try uploading the binary file.
Here is the script file


-----Original Message-----
From: Keith Paschal [mailto:kwp0921@hotmail.com]
Sent: Tuesday, November 11, 2003 3:21 PM
To: perl@lists.mysql.com
Subject: Re: DBD::mysql install issues on HPUX 11.0


Folks;

I've tried and tried and tried using that cheatsheet, and I'm beginning to
feel I'm just an idiot. Does someone have a binary copy already compiled
that I can just stick on my hpux box?

Thanks;

Keith


>From: Jochen Wiedmann
>To: Keith Paschal
>CC: perl@lists.mysql.com
>Subject: Re: DBD::mysql install issues on HPUX 11.0
>Date: Wed, 05 Nov 2003 13:09:38 +0100
>
>Keith Paschal wrote:
>
>>Please excuse my ignorance... ... you say:
>>
>>>Sorry, didn't notice that you are using gcc and not the HP compiler.
>>>It's -fPIC then.
>>
>>
>>What's -fPIC? I tried putting this at the end of the "Makefile" command,
>>but that didn't work... I'm starting to think windows DSN's are much
>>better to use than Unix (heaven forbid, but they're easier to set
>>up!!!)....
>
>See
>
> http://lists.mysql.com/perl/2548
>
>Jochen
>
>

____________________________________________________________ _____
Frustrated with dial-up? Get high-speed for as low as $26.95.
https://broadband.msn.com (Prices may vary by service area.)


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:
http://lists.mysql.com/perl?unsub=madhu.kangara@t-mobile.com



------_=_NextPart_000_01C3A8B6.DC1788F0
Content-Type: text/plain; charset=us-ascii

--
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
------_=_NextPart_000_01C3A8B6.DC1788F0--