Problem with Solaris 9 and SUN cc and make

Problem with Solaris 9 and SUN cc and make

am 30.04.2004 09:35:14 von Chris.Donovan

Hello,

I am having some issues testing the module DBD::Mysql. I am more =
than happy to provide a copy paste of the error if need but basically =
everything fails. Is this known to happen with the tools I am =
using(/usr/ccs/bin/make, /opt/SUNWspro/bin/cc)? Just lemme know if you =
want more detail.

Thanks,

Chris-

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

Re: Problem with Solaris 9 and SUN cc and make

am 01.05.2004 22:29:01 von Jochen Wiedmann

Donovan, Chris wrote:

> I am having some issues testing the module DBD::Mysql. I am more than happy to provide a copy paste of the error if need but basically everything fails. Is this known to happen with the tools I am using(/usr/ccs/bin/make, /opt/SUNWspro/bin/cc)? Just lemme know if you want more detail.

Your tools are basically fine. (At least, AFAIK, the Sun CC is an ANSI C
Compiler.) Most possibly your problem is a typical one like inability to
locate the shared libraries at run time or mixing binaries from different
sources. Use Google or a similar search engine for research or post an error
log.


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: Problem with Solaris 9 and SUN cc and make

am 01.05.2004 22:29:01 von Jochen Wiedmann

Donovan, Chris wrote:

> I am having some issues testing the module DBD::Mysql. I am more than happy to provide a copy paste of the error if need but basically everything fails. Is this known to happen with the tools I am using(/usr/ccs/bin/make, /opt/SUNWspro/bin/cc)? Just lemme know if you want more detail.

Your tools are basically fine. (At least, AFAIK, the Sun CC is an ANSI C
Compiler.) Most possibly your problem is a typical one like inability to
locate the shared libraries at run time or mixing binaries from different
sources. Use Google or a similar search engine for research or post an error
log.


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: Problem with Solaris 9 and SUN cc and make

am 04.05.2004 08:06:34 von Chris.Donovan

Hello,

I have finally found the problem and fixed it. I am using the =
module DBD::Mysql through the use of Bugzilla. Bugzilla requires the =
module. I found that when I installed a package that I downloaded from =
sunfreeware and the binary from mysql.com it was failing. Now it was =
definately as Jochen had said below. I was failing to find =
mysqlclient.so which in both packages was a astatic library (as I =
understand it). Now specifically DBD::Mysql was looking for =
mysqlclient.so which happens to not be included in either instance of =
MySQL. I fixed my errors by downloading the source and compiling it for =
my own use. By default MySQL 3.23.53 make both static and shared =
libraries according to the "./configure --help" option. Once I was able =
to make && make install this and started the server then my DBD::Mysql =
modules compiled, tested, installed and ran fine.

I understand that not everything that is needed can be documented. =
Could this issue be documented in the README or somewhere for future =
admins with the same problem? I noticed several of these issues out on =
google.

Thanks again,

Chris Donovan-

:> -----Original Message-----
:> From: Jochen Wiedmann [mailto:jochen.wiedmann@freenet.de]
:> Sent: Sunday, 2 May 2004 6:29 AM
:> To: Donovan, Chris
:> Cc: msql-mysql-modules@lists.mysql.com
:> Subject: Re: Problem with Solaris 9 and SUN cc and make
:>=20
:>=20
:> Donovan, Chris wrote:
:>=20
:> > I am having some issues testing the module=20
:> DBD::Mysql. I am more than happy to provide a copy paste of=20
:> the error if need but basically everything fails. Is this=20
:> known to happen with the tools I am using(/usr/ccs/bin/make,=20
:> /opt/SUNWspro/bin/cc)? Just lemme know if you want more detail.
:>=20
:> Your tools are basically fine. (At least, AFAIK, the Sun CC=20
:> is an ANSI C=20
:> Compiler.) Most possibly your problem is a typical one like=20
:> inability to=20
:> locate the shared libraries at run time or mixing binaries=20
:> from different=20
:> sources. Use Google or a similar search engine for research=20
:> or post an error=20
:> log.
:>=20
:>=20
:> Jochen
:>=20
:>=20

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

RE: Problem with Solaris 9 and SUN cc and make

am 04.05.2004 08:06:34 von Chris.Donovan

Hello,

I have finally found the problem and fixed it. I am using the =
module DBD::Mysql through the use of Bugzilla. Bugzilla requires the =
module. I found that when I installed a package that I downloaded from =
sunfreeware and the binary from mysql.com it was failing. Now it was =
definately as Jochen had said below. I was failing to find =
mysqlclient.so which in both packages was a astatic library (as I =
understand it). Now specifically DBD::Mysql was looking for =
mysqlclient.so which happens to not be included in either instance of =
MySQL. I fixed my errors by downloading the source and compiling it for =
my own use. By default MySQL 3.23.53 make both static and shared =
libraries according to the "./configure --help" option. Once I was able =
to make && make install this and started the server then my DBD::Mysql =
modules compiled, tested, installed and ran fine.

I understand that not everything that is needed can be documented. =
Could this issue be documented in the README or somewhere for future =
admins with the same problem? I noticed several of these issues out on =
google.

Thanks again,

Chris Donovan-

:> -----Original Message-----
:> From: Jochen Wiedmann [mailto:jochen.wiedmann@freenet.de]
:> Sent: Sunday, 2 May 2004 6:29 AM
:> To: Donovan, Chris
:> Cc: msql-mysql-modules@lists.mysql.com
:> Subject: Re: Problem with Solaris 9 and SUN cc and make
:>=20
:>=20
:> Donovan, Chris wrote:
:>=20
:> > I am having some issues testing the module=20
:> DBD::Mysql. I am more than happy to provide a copy paste of=20
:> the error if need but basically everything fails. Is this=20
:> known to happen with the tools I am using(/usr/ccs/bin/make,=20
:> /opt/SUNWspro/bin/cc)? Just lemme know if you want more detail.
:>=20
:> Your tools are basically fine. (At least, AFAIK, the Sun CC=20
:> is an ANSI C=20
:> Compiler.) Most possibly your problem is a typical one like=20
:> inability to=20
:> locate the shared libraries at run time or mixing binaries=20
:> from different=20
:> sources. Use Google or a similar search engine for research=20
:> or post an error=20
:> log.
:>=20
:>=20
:> Jochen
:>=20
:>=20

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org