3 messages in com.mysql.lists.perlRe: make test error installing DBD::m...
FromSent OnAttachments
Hugo L. Casanova10 May 2001 13:32 
Chuck O'Donnell10 May 2001 13:56 
Hugo L. Casanova15 May 2001 11:05 
Subject:Re: make test error installing DBD::mysql
From:Hugo L. Casanova (hl@clikstudio.com)
Date:05/15/2001 11:05:11 AM
List:com.mysql.lists.perl

Do you have an rc script in /usr/local/etc/rc.d that calls ldconfig at boot on the mysql lib directory? IF not, you need it so the loader can find your mysql libs.

Yes I have this script, and it looks exactly like yours, I mean exactly; the syntax and the layout are the same. It's called mysql-client.sh, and it's in the /usr/local/etc/rc.d directory.

I tryed to reboot to see if it worked. It didn't. And mysqld wasn't even booted. So I messed around with startup scripts and finaly decided that I could not make it happen by itself, so I will boot it manualy every time I reboot. Until I find a way...

Anyway, Perl could still not connect to the DB. So I tryed the Ports Tree install. It's my first time with FreeBSD's ports.

# cd /usr/ports/databases/p5-Mysql # make # make install

At first, it didn't work. But it told me that the port was already installed and to try to deinstall it before reinstalling it. I found it weird, but did it anyway.

# make deinstall # make reinstall

It worked. Everything went OK. So I tryed my Perl test program and it works fine!

Now I just have to check for the startup script.

And BTW, how do I "update [my] ports tree if [I'm] on a 4.2-RELEASE system" ? (I can check this one out of the book!)

Thanks a lot!