Can"t Install DBD::mysql............Mandrake 9.2

Can"t Install DBD::mysql............Mandrake 9.2

am 10.01.2004 17:32:01 von D T

Hi All

Been trying forever to install DBD::mysql on a Mandrake 9.2 machine.

Mandrake has a default install of perl at /usr/bin/perl, and it also installs DBD::mysql to work with that same perl installation.

However, the default perl is threaded. I needed to install a secondary non-threaded perl at /usr/local/bin/perl.

The original perl and modules are undisturbed and working fine.

The secondary perl installation at /usr/local/bin/perl went well.

However, when I tried to install the DBD::mysql module, I got the following error:

###### begin terminal ######

[root@localhost root]# /usr/local/bin/perl -MCPAN -e 'install DBD::mysql'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 09 Jan 2004 10:52:18 GMT
Running install for module DBD::mysql
Running make for R/RU/RUDY/DBD-mysql-2.9003.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql-2.9003.ta r.gz ok
Scanning cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/Msql-Mysql-modules-1.1835 (13.8>10.0 MB)
Deleting from cache: /root/.cpan/build/DBD-mysql-2.9003 (13.0>10.0 MB)
Deleting from cache: /root/.cpan/build/Data-ShowTable-3.3 (12.6>10.0 MB)
Deleting from cache: /root/.cpan/build/URI-1.29 (11.9>10.0 MB)
Deleting from cache: /root/.cpan/build/HTML-Tagset-3.03 (11.4>10.0 MB)
Deleting from cache: /root/.cpan/build/HTML-Parser-3.35 (11.4>10.0 MB)
Deleting from cache: /root/.cpan/build/libwww-perl-5.76 (10.9>10.0 MB)
DBD-mysql-2.9003/
DBD-mysql-2.9003/t/
DBD-mysql-2.9003/t/mysql2.t
DBD-mysql-2.9003/t/akmisc.t
DBD-mysql-2.9003/t/60leaks.t
DBD-mysql-2.9003/t/10dsnlist.t
DBD-mysql-2.9003/t/ak-dbd.t
DBD-mysql-2.9003/t/50chopblanks.t
DBD-mysql-2.9003/t/mysql.t
DBD-mysql-2.9003/t/lib.pl
DBD-mysql-2.9003/t/40blobs.t
DBD-mysql-2.9003/t/40nulls.t
DBD-mysql-2.9003/t/insertid.t
DBD-mysql-2.9003/t/40listfields.t
DBD-mysql-2.9003/t/40bindparam.t
DBD-mysql-2.9003/t/mysql.dbtest
DBD-mysql-2.9003/t/dbdadmin.t
DBD-mysql-2.9003/t/20createdrop.t
DBD-mysql-2.9003/t/00base.t
DBD-mysql-2.9003/t/30insertfetch.t
DBD-mysql-2.9003/t/40numrows.t
DBD-mysql-2.9003/t/50commit.t
DBD-mysql-2.9003/t/mysql.mtest
DBD-mysql-2.9003/MANIFEST
DBD-mysql-2.9003/myld
DBD-mysql-2.9003/dbdimp.c
DBD-mysql-2.9003/lib/
DBD-mysql-2.9003/lib/DBD/
DBD-mysql-2.9003/lib/DBD/mysql/
DBD-mysql-2.9003/lib/DBD/mysql/GetInfo.pm
DBD-mysql-2.9003/lib/DBD/mysql/INSTALL.pod
DBD-mysql-2.9003/lib/DBD/mysql.pm
DBD-mysql-2.9003/lib/Mysql/
DBD-mysql-2.9003/lib/Mysql/Statement.pm
DBD-mysql-2.9003/lib/Bundle/
DBD-mysql-2.9003/lib/Bundle/DBD/
DBD-mysql-2.9003/lib/Bundle/DBD/mysql.pm
DBD-mysql-2.9003/lib/Mysql.pm
DBD-mysql-2.9003/dbdimp.h
DBD-mysql-2.9003/mysql.xs
DBD-mysql-2.9003/MANIFEST.SKIP
DBD-mysql-2.9003/README
DBD-mysql-2.9003/INSTALL.html
DBD-mysql-2.9003/Makefile.PL
DBD-mysql-2.9003/ChangeLog
DBD-mysql-2.9003/constants.h
DBD-mysql-2.9003/TODO

CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9003.tar.gz

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.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I



to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install

###### end terminal ########


I even tried to force install it, but that still didn't work:

/usr/local/bin/perl -MCPAN -e 'force install DBD::mysql'

Would anyone know how to work around this?

Thanks very much :-)
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


--
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: Can"t Install DBD::mysql............Mandrake 9.2

am 11.01.2004 21:08:34 von Jochen Wiedmann

Most probably you need to install mysql-devel or a similar RPM.


--
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: Can"t Install DBD::mysql............Mandrake 9.2

am 11.01.2004 21:08:34 von Jochen Wiedmann

Most probably you need to install mysql-devel or a similar RPM.


--
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: Can"t Install DBD::mysql............Mandrake 9.2

am 12.01.2004 06:15:35 von WC Jones

>Can't exec "mysql_config": No such file or directory at
>Makefile.PL line 174.


I have a question - is MySQL actually installed? You know -- all the source
libraries for it?

At any rate - I have a had LOTs of trouble using perl -MCPAN -e shell to build
DBD related projects. I have always had to "do it by hand on the command line"
using plain old -

perl M*PL
make
su
make install


???/Bill

_Sx____________________
I am looking for employment in Jacksonville, Florida, USA or a position which
allows telecommuting. Excellent Perl/C programmer, SUN E10k, high-end Unix, and
cross-platform development experience. Contact me for my resume.

('> iudicium ferat
//\ Have Computer -
v_/_ Will Hack...

\|/ ____ \|/
"@'/ .. \`@"
/_| \__/ |_\
\__U_/



--
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: Can"t Install DBD::mysql............Mandrake 9.2

am 12.01.2004 06:15:35 von WC Jones

>Can't exec "mysql_config": No such file or directory at
>Makefile.PL line 174.


I have a question - is MySQL actually installed? You know -- all the source
libraries for it?

At any rate - I have a had LOTs of trouble using perl -MCPAN -e shell to build
DBD related projects. I have always had to "do it by hand on the command line"
using plain old -

perl M*PL
make
su
make install


???/Bill

_Sx____________________
I am looking for employment in Jacksonville, Florida, USA or a position which
allows telecommuting. Excellent Perl/C programmer, SUN E10k, high-end Unix, and
cross-platform development experience. Contact me for my resume.

('> iudicium ferat
//\ Have Computer -
v_/_ Will Hack...

\|/ ____ \|/
"@'/ .. \`@"
/_| \__/ |_\
\__U_/



--
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: Can"t Install DBD::mysql............Mandrake 9.2

am 14.01.2004 17:29:49 von Jim Cromie

D T wrote:

>Hi All
>
>Been trying forever to install DBD::mysql on a Mandrake 9.2 machine.
>
>Mandrake has a default install of perl at /usr/bin/perl, and it also non-threaded perl at /usr/local/bin/perl.
>The secondary perl installation at /usr/local/bin/perl went well.
>
>[root@localhost root]# /usr/local/bin/perl -MCPAN -e 'install DBD::mysql'
>
> perl Makefile.PL --cflags=-I


>
>to set this directory. For details see the INSTALL.html file,
>section "C Compiler flags" or type
>
> perl Makefile.PL --help
>
>


FWIW, ive seen situations where perl is picked off the $PATH for
something within the setup scripts, ie different from the one given
manually.

Not saying that this is happening here, but
you should try setting PATH=/usr/local/bin:$PATH in shell b4 U run cpan.




--
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: Can"t Install DBD::mysql............Mandrake 9.2

am 14.01.2004 17:29:49 von Jim Cromie

D T wrote:

>Hi All
>
>Been trying forever to install DBD::mysql on a Mandrake 9.2 machine.
>
>Mandrake has a default install of perl at /usr/bin/perl, and it also non-threaded perl at /usr/local/bin/perl.
>The secondary perl installation at /usr/local/bin/perl went well.
>
>[root@localhost root]# /usr/local/bin/perl -MCPAN -e 'install DBD::mysql'
>
> perl Makefile.PL --cflags=-I


>
>to set this directory. For details see the INSTALL.html file,
>section "C Compiler flags" or type
>
> perl Makefile.PL --help
>
>


FWIW, ive seen situations where perl is picked off the $PATH for
something within the setup scripts, ie different from the one given
manually.

Not saying that this is happening here, but
you should try setting PATH=/usr/local/bin:$PATH in shell b4 U run cpan.




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