DBD::mysql installation problem

DBD::mysql installation problem

am 21.04.2004 00:00:39 von Ravi Malghan

------=_NextPart_000_0158_01C42701.63C71AE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi: I am trying to install the DBD::mysql module. The mysql I have is 64 =
bit and the isainfo on my platform is
==========
# isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
============

I am getting the following error

=================3D
cpan> install DBD::mysql
..
..
gcc -B/usr/ccs/bin/ -c =
-I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI =
-I/usr/local/mysql/include -m64 -fno-strict-aliasing =
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O =
-DVERSION=3D\"2.9003\" -DXS_VERSION=3D\"2.9003\" -fPIC =
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" dbdimp.c
cc1: -m64 is not supported by this configuration
cc1: -mptr32 not allowed on -m64
dbdimp.c: In function `ParseParam':
dbdimp.c:242: Internal compiler error in `gen_movdi', at =
insn-emit.c:2157
Please submit a full bug report.
See for instructions.
gcc: file path prefix `/usr/ccs/bin/' never used
*** Error code 1
make: Fatal error: Command failed for target `dbdimp.o'
================

Should I have installed the 32 bit mysql?

Thanks
Ravi
------=_NextPart_000_0158_01C42701.63C71AE0--

Re: DBD::mysql installation problem

am 21.04.2004 00:07:46 von Rudy Lippan

On Tue, 20 Apr 2004, Ravi Malghan wrote:

> Date: Tue, 20 Apr 2004 18:00:39 -0400
> From: Ravi Malghan
> To: perl@lists.mysql.com
> Subject: DBD::mysql installation problem
>
> Hi: I am trying to install the DBD::mysql module. The mysql I have is 64 bit and the isainfo on my platform is

When you compile DBD::mysql you need to use the same compilier that you used to
compile perl. And WRT 64/32 bit issues, you will need to compile both your
mysql client libraries and perl with the same number of bits -- The server can
be different if you choose.

HTH,

Rudy


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

am 21.04.2004 00:07:46 von Rudy Lippan

On Tue, 20 Apr 2004, Ravi Malghan wrote:

> Date: Tue, 20 Apr 2004 18:00:39 -0400
> From: Ravi Malghan
> To: perl@lists.mysql.com
> Subject: DBD::mysql installation problem
>
> Hi: I am trying to install the DBD::mysql module. The mysql I have is 64 bit and the isainfo on my platform is

When you compile DBD::mysql you need to use the same compilier that you used to
compile perl. And WRT 64/32 bit issues, you will need to compile both your
mysql client libraries and perl with the same number of bits -- The server can
be different if you choose.

HTH,

Rudy


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

am 21.04.2004 00:26:07 von Ravi Malghan

Rudy: perl, gcc and mysql were installed with binary pacakges. When I do a
perl -V it shows gccversion='3.1', the gcc binary is a 2.95.3. Are you
saying I should have gcc 3.1?

Thanks
Ravi
----- Original Message -----
From: "Rudy Lippan"
To: "Ravi Malghan"
Cc:
Sent: Tuesday, April 20, 2004 6:07 PM
Subject: Re: DBD::mysql installation problem


> On Tue, 20 Apr 2004, Ravi Malghan wrote:
>
> > Date: Tue, 20 Apr 2004 18:00:39 -0400
> > From: Ravi Malghan
> > To: perl@lists.mysql.com
> > Subject: DBD::mysql installation problem
> >
> > Hi: I am trying to install the DBD::mysql module. The mysql I have is 64
bit and the isainfo on my platform is
>
> When you compile DBD::mysql you need to use the same compilier that you
used to
> compile perl. And WRT 64/32 bit issues, you will need to compile both
your
> mysql client libraries and perl with the same number of bits -- The server
can
> be different if you choose.
>
> HTH,
>
> Rudy
>


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

am 21.04.2004 00:26:07 von Ravi Malghan

Rudy: perl, gcc and mysql were installed with binary pacakges. When I do a
perl -V it shows gccversion='3.1', the gcc binary is a 2.95.3. Are you
saying I should have gcc 3.1?

Thanks
Ravi
----- Original Message -----
From: "Rudy Lippan"
To: "Ravi Malghan"
Cc:
Sent: Tuesday, April 20, 2004 6:07 PM
Subject: Re: DBD::mysql installation problem


> On Tue, 20 Apr 2004, Ravi Malghan wrote:
>
> > Date: Tue, 20 Apr 2004 18:00:39 -0400
> > From: Ravi Malghan
> > To: perl@lists.mysql.com
> > Subject: DBD::mysql installation problem
> >
> > Hi: I am trying to install the DBD::mysql module. The mysql I have is 64
bit and the isainfo on my platform is
>
> When you compile DBD::mysql you need to use the same compilier that you
used to
> compile perl. And WRT 64/32 bit issues, you will need to compile both
your
> mysql client libraries and perl with the same number of bits -- The server
can
> be different if you choose.
>
> HTH,
>
> Rudy
>


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

am 21.04.2004 14:45:57 von Jochen Wiedmann

Ravi Malghan wrote:

> Rudy: perl, gcc and mysql were installed with binary pacakges.

Recompile Perl for yourself. It's easy.

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

am 21.04.2004 14:45:57 von Jochen Wiedmann

Ravi Malghan wrote:

> Rudy: perl, gcc and mysql were installed with binary pacakges.

Recompile Perl for yourself. It's easy.

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

am 21.04.2004 16:55:25 von Ravi Malghan

All: thanks for your suggestions. I installed the standard mysql instead of
the 64 bit and it works fine now.

Ravi
----- Original Message -----
From: "Jochen Wiedmann"
To: "Ravi Malghan"
Cc:
Sent: Wednesday, April 21, 2004 8:45 AM
Subject: Re: DBD::mysql installation problem


> Ravi Malghan wrote:
>
> > Rudy: perl, gcc and mysql were installed with binary pacakges.
>
> Recompile Perl for yourself. It's easy.
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe:
http://lists.mysql.com/perl?unsub=sugiarto.Then@infotronik.c om
>


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

am 21.04.2004 16:55:25 von Ravi Malghan

All: thanks for your suggestions. I installed the standard mysql instead of
the 64 bit and it works fine now.

Ravi
----- Original Message -----
From: "Jochen Wiedmann"
To: "Ravi Malghan"
Cc:
Sent: Wednesday, April 21, 2004 8:45 AM
Subject: Re: DBD::mysql installation problem


> Ravi Malghan wrote:
>
> > Rudy: perl, gcc and mysql were installed with binary pacakges.
>
> Recompile Perl for yourself. It's easy.
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe:
http://lists.mysql.com/perl?unsub=sugiarto.Then@infotronik.c om
>


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