September 13th, 2003, 04:38
I'm having a problem installing mysql.


[code:1:9e3b7202e4]cd /usr/ports/databases/mysql40-server && make install clean


===> Installing for mysql-server-4.0.14
===> mysql-server-4.0.14 depends on executable: mysql - found
===> mysql-server-4.0.14 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/ - not found
===> Verifying install for /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/ in /usr/ports/databases/p5-DBD-mysql
===> Extracting for p5-DBD-mysql-2.1026_1
>> Checksum OK for DBD-mysql-2.1026.tar.gz.
===> Patching for p5-DBD-mysql-2.1026_1
===> p5-DBD-mysql-2.1026_1 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/ - not found
===> Verifying install for /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/ in /usr/ports/databases/p5-DBI
===> p5-DBI-1.38 This port is for perl 5.6.0 and later only..
*** Error code 1

Stop in /usr/ports/databases/p5-DBI.
*** Error code 1

Stop in /usr/ports/databases/p5-DBD-mysql.
*** Error code 1[/code:1:9e3b7202e4]

I tried to upgrade my perl version to 5.8, but the error was the same. Where is the problem?

September 13th, 2003, 05:35
Have you updated your ports tree? You might give 4.1 a try, or even drop down to 3.23. Just a quick fix. You might also check out the various P5 libraries, and see if they fix it. One being p5-DBI-1.37, a dependency of DBD.

September 13th, 2003, 07:39
I've downloaded DBI-1.34.tar.gz and installed it and now all ok.Thanx.

September 13th, 2003, 15:04
you could also try using the pkg_add -r utility.. it tends to correct things that ports have difficulty w/ sometimes..

you might also wanna try running pkgdb -F