From: Martin M. <mm...@ag...> - 2003-11-20 09:46:15
|
Howdy folks, I just played around with an unused feature on my server: MySQL. When I hit the MySQL-Module it says: Warning: The Perl module DBD::mysql is not installed on your system, so Webmin will not be able to reliably access your MySQL database. Click here to install it now. Well, but the problem ist, that on at least Debian 3 Woody you cannot install this Module as it is shown in the README ... [...] Linux/Debian Install the packages mysql-client mysql-server mysql-doc mysql-common libdbi-perl lidbd-mysql-perl No idea how one does install these under Debian, but I am sure you know. :-) [...] Maybe Webmin should know this and if it is on a Debian-System it should reach for an apt-get to install ... [...] ds217-115-144-166:~# apt-get install mysql-client mysql-server mysql-doc mysql-common libdbi-perl lidbd-mysql-perl Reading Package Lists... Done Building Dependency Tree... Done Sorry, mysql-client is already the newest version. Sorry, mysql-server is already the newest version. Sorry, mysql-common is already the newest version. Sorry, libdbi-perl is already the newest version. E: Couldn't find package lidbd-mysql-perl [...] Even if it is broken, bit I think that "libdbi-perl" is the package corresponding to "DBD::mysql" and will if necessary install other packages as needed. But maybe I only have a faulty system and for the experts, here is the Webmin-Output from Installing. [...] Herunterladen http://www.cpan.org/authors/id/R/RU/RUDY/DBD-mysql-2.9003.tar.gz (113433 Bytes) ... Empfangen 1024 Bytes (0 %) Empfangen 12288 Bytes (10 %) Empfangen 23552 Bytes (20 %) Empfangen 34816 Bytes (30 %) Empfangen 46080 Bytes (40 %) Empfangen 57344 Bytes (50 %) Empfangen 68608 Bytes (60 %) Empfangen 79872 Bytes (70 %) Empfangen 91136 Bytes (80 %) Empfangen 102400 Bytes (90 %) Empfangen 113433 Bytes (100 %) ... Herunterladen komplett. [Compile, Test, Install] Starte /usr/bin/perl Makefile.PL && make .. 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. =46ailed to determine directory of mysql.h. Use perl Makefile.PL --cflags=3D-I to set this directory. For details see the INSTALL.html file, section "C Compiler flags" or type perl Makefile.PL --help=20 [...] Have a lot of fun :-) bis dahin - kind regards Martin Mewes --=20 http://webmin.mamemu.de/ Official Webmin/Usermin Translation Co-Ordinator 2003/2004 Proud Agent 2.0 Beta Tester |