Rudy,
I've just done what you suggested:
1 - the PATH is correct because "which mysql_config" returns the correct
path and the file is there.
2 - then I executed "perl -MCPAN -e 'install DBD::mysql'".
I was able to get through the initial configuration and finally it
started downloading the DBD. It was correctly unpacked but somtehing bad
hapened after (something which I have seen before because before I
downloaded de DBD 'by hand' and tried installing it and the same
hapened). So here is:
a) I get lots of lines equal to this one:
----------
"Unsuccessfull stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm";
------------
b) imediatly after it goes:
-----------
Writing Makefile for DBD::mysql
Makefile:89: *** missing separator. Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
---------
I copied the (aparently bad) Makefile to this URL for you to see:
http://robotica.estg.ipvc.pt/software/linux/Makefile
All this I have seen before when trying to install 'manually'.
My system is a Red Hat 9, and it had a previouslly installed MySQL and
DBD-mysql which I removed with "rpm -i" without any dependencies
problems.
Thanks for your help... any further instructions ?
your name appears during the whole download... so you should be the
author.... pleasure to meet you.
jmf
On Wed, 2004-04-07 at 17:04, Rudy Lippan wrote:
> On 7 Apr 2004, Joao Miguel Ferreira wrote:
>
> > > Make sure that the correct mysql_config (for MySQL 4) is in you path
> >
> > sorry but, how exactly do I do that (I'm not very expert) ?
> >
>
> You can do a 'which mysql_config' that will tell you which mysql_config
> the system will use. If it returns nothing or if it returns the path to a
> mysql_config from a mysql that you do not want to use (mysql 3 for
> example) then you will need to modify your path:
>
> export PATH=path/to/mysql_config:$PATH;
>
> The RPM probably already took care of that for you.
>
> > > and
> > > then:
> > >
> > > perl -MCPAN -e 'install DBD::mysql'
> >
> > this one I know. it connects to the CPAN and instals the DBD, right ?
> >
>
> Yes.
>