Problem on Installing DBD::mysql module

Problem on Installing DBD::mysql module

am 03.09.2004 13:10:48 von So Wing Kei

I use Redhat 9.0 (kernal 2.4.20-8smp) on i686 PC,
mysql-2.4.0.2, perl 5.8.0, apache 2.0.48. Mysql is
installed on /mysqld directory with raid 1 enabled on
this directory.

I did:

perl Makefile.PL -cflags=-I/mysqld/include/mysql
"--libs=-L/mysqld/lib/mysql"

to complie the module and get:

Can't exec "mysql_config": No such file or directory
at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL
line 176.
Can't exec "mysql_config": No such file or directory
at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL
line 176.
Can't exec "mysql_config": No such file or directory
at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL
line 176.
Can't exec "mysql_config": No such file or directory
at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL
line 176.
Can't exec "mysql_config": No such file or directory
at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL
line 176.
Can't exec "mysql_config": No such file or directory
at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL
line 176.
Can't exec "mysql_config": No such file or directory
at Makefile.PL line 174.
readline() on closed filehandle PIPE at Makefile.PL
line 176.
I will use the following settings for compiling and
testing:

cflags (Users choice) =
-I/mysqld/include/mysql
libs (Users choice) = -L/mysqld/lib/mysql
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'.

Multiple copies of Driver.xst found in:
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/aut o/DBI
at Makefile.PL line 295
Using DBI 1.43 (for perl 5.008 on
i386-linux-thread-multi) installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
Writing Makefile for DBD::mysql

and then I get a problem on make:

Makefile:89: *** missing separator. Stop.

I didn't change anything on Makefile, but I don't why
I get this error. Could you tell me what mistake I
made.

Thx for your time. I look forwards for your reply.








__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

--
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 on Installing DBD::mysql module

am 03.09.2004 18:53:09 von Marc MacIntyre

Make sure the mysql bin directory (probably /mysqld/bin/) is in your
path.

On Sep 3, 2004, at 4:10 AM, So Wing Kei wrote:

> I use Redhat 9.0 (kernal 2.4.20-8smp) on i686 PC,
> mysql-2.4.0.2, perl 5.8.0, apache 2.0.48. Mysql is
> installed on /mysqld directory with raid 1 enabled on
> this directory.
>
> I did:
>
> perl Makefile.PL -cflags=-I/mysqld/include/mysql
> "--libs=-L/mysqld/lib/mysql"
>
> to complie the module and get:
>
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> I will use the following settings for compiling and
> testing:
>
> cflags (Users choice) =
> -I/mysqld/include/mysql
> libs (Users choice) = -L/mysqld/lib/mysql
> 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'.
>
> Multiple copies of Driver.xst found in:
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/aut o/DBI
> at Makefile.PL line 295
> Using DBI 1.43 (for perl 5.008 on
> i386-linux-thread-multi) installed in
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
> Writing Makefile for DBD::mysql
>
> and then I get a problem on make:
>
> Makefile:89: *** missing separator. Stop.
>
> I didn't change anything on Makefile, but I don't why
> I get this error. Could you tell me what mistake I
> made.
>
> Thx for your time. I look forwards for your reply.
>
>
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe:
> http://lists.mysql.com/perl?unsub=marc.macintyre@liquidsys.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: Problem on Installing DBD::mysql module

am 03.09.2004 18:53:09 von Marc MacIntyre

Make sure the mysql bin directory (probably /mysqld/bin/) is in your
path.

On Sep 3, 2004, at 4:10 AM, So Wing Kei wrote:

> I use Redhat 9.0 (kernal 2.4.20-8smp) on i686 PC,
> mysql-2.4.0.2, perl 5.8.0, apache 2.0.48. Mysql is
> installed on /mysqld directory with raid 1 enabled on
> this directory.
>
> I did:
>
> perl Makefile.PL -cflags=-I/mysqld/include/mysql
> "--libs=-L/mysqld/lib/mysql"
>
> to complie the module and get:
>
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> I will use the following settings for compiling and
> testing:
>
> cflags (Users choice) =
> -I/mysqld/include/mysql
> libs (Users choice) = -L/mysqld/lib/mysql
> 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'.
>
> Multiple copies of Driver.xst found in:
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/aut o/DBI
> at Makefile.PL line 295
> Using DBI 1.43 (for perl 5.008 on
> i386-linux-thread-multi) installed in
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
> Writing Makefile for DBD::mysql
>
> and then I get a problem on make:
>
> Makefile:89: *** missing separator. Stop.
>
> I didn't change anything on Makefile, but I don't why
> I get this error. Could you tell me what mistake I
> made.
>
> Thx for your time. I look forwards for your reply.
>
>
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>
> --
> MySQL Perl Mailing List
> For list archives: http://lists.mysql.com/perl
> To unsubscribe:
> http://lists.mysql.com/perl?unsub=marc.macintyre@liquidsys.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: Problem on Installing DBD::mysql module

am 03.09.2004 19:17:15 von Rudy Lippan

unset LANG then compile.

Rudy

On Fri, 3 Sep 2004, So Wing Kei wrote:

> Date: Fri, 3 Sep 2004 04:10:48 -0700 (PDT)
> From: So Wing Kei
> To: msql-mysql-modules@lists.mysql.com
> Subject: Problem on Installing DBD::mysql module
>
> I use Redhat 9.0 (kernal 2.4.20-8smp) on i686 PC,
> mysql-2.4.0.2, perl 5.8.0, apache 2.0.48. Mysql is
> installed on /mysqld directory with raid 1 enabled on
> this directory.
>
> I did:
>
> perl Makefile.PL -cflags=-I/mysqld/include/mysql
> "--libs=-L/mysqld/lib/mysql"
>
> to complie the module and get:
>
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> I will use the following settings for compiling and
> testing:
>
> cflags (Users choice) =
> -I/mysqld/include/mysql
> libs (Users choice) = -L/mysqld/lib/mysql
> 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'.
>
> Multiple copies of Driver.xst found in:
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/aut o/DBI
> at Makefile.PL line 295
> Using DBI 1.43 (for perl 5.008 on
> i386-linux-thread-multi) installed in
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
> Writing Makefile for DBD::mysql
>
> and then I get a problem on make:
>
> Makefile:89: *** missing separator. Stop.
>
> I didn't change anything on Makefile, but I don't why
> I get this error. Could you tell me what mistake I
> made.
>
> Thx for your time. I look forwards for your reply.
>
>
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>
>


--
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 on Installing DBD::mysql module

am 03.09.2004 19:17:15 von Rudy Lippan

unset LANG then compile.

Rudy

On Fri, 3 Sep 2004, So Wing Kei wrote:

> Date: Fri, 3 Sep 2004 04:10:48 -0700 (PDT)
> From: So Wing Kei
> To: msql-mysql-modules@lists.mysql.com
> Subject: Problem on Installing DBD::mysql module
>
> I use Redhat 9.0 (kernal 2.4.20-8smp) on i686 PC,
> mysql-2.4.0.2, perl 5.8.0, apache 2.0.48. Mysql is
> installed on /mysqld directory with raid 1 enabled on
> this directory.
>
> I did:
>
> perl Makefile.PL -cflags=-I/mysqld/include/mysql
> "--libs=-L/mysqld/lib/mysql"
>
> to complie the module and get:
>
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> Can't exec "mysql_config": No such file or directory
> at Makefile.PL line 174.
> readline() on closed filehandle PIPE at Makefile.PL
> line 176.
> I will use the following settings for compiling and
> testing:
>
> cflags (Users choice) =
> -I/mysqld/include/mysql
> libs (Users choice) = -L/mysqld/lib/mysql
> 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'.
>
> Multiple copies of Driver.xst found in:
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/aut o/DBI
> at Makefile.PL line 295
> Using DBI 1.43 (for perl 5.008 on
> i386-linux-thread-multi) installed in
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ DBI
> Writing Makefile for DBD::mysql
>
> and then I get a problem on make:
>
> Makefile:89: *** missing separator. Stop.
>
> I didn't change anything on Makefile, but I don't why
> I get this error. Could you tell me what mistake I
> made.
>
> Thx for your time. I look forwards for your reply.
>
>
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>
>


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