<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi All.<br>I have got an issue on installing koha 4.02.06 with Ubuntu 11.10 on vmware.<br>I have got issues with Section 2.4 of Ubuntu.Install guide.<br><br>The below are the errors I am getting while trying to install DBD::mysql.<br><br>Any ideas?<br><br>Thanks<br>David.<br><br>root@ubuntu:/etc/mysql# cpan<br>Terminal does not support AddHistory.<br><br>cpan shell -- CPAN exploration and modules installation (v1.9456)<br>Enter 'h' for help.<br><br>cpan[1]> force install DBD::mysql<br>Going to read '/root/.cpan/Metadata'<br>  Database was generated on Sat, 12 Nov 2011 13:27:17 GMT<br>Running install for module 'DBD::mysql'<br>Running make for C/CA/CAPTTOFU/DBD-mysql-4.020.tar.gz<br>Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.020.tar.gz ok<br>Scanning cache /root/.cpan/build for sizes<br>............................................................................DONE<br><br>  CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.020.tar.gz<br><br>Can't exec "mysql_config": No such file or directory at Makefile.PL line 83.<br><br>Cannot find the file 'mysql_config'! Your execution PATH doesn't seem <br>not contain the path to mysql_config. Resorting to guessed values!<br>Can't exec "mysql_config": No such file or directory at Makefile.PL line 478.<br>Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located<br>Can't exec "mysql_config": No such file or directory at Makefile.PL line 478.<br>Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located<br>Can't exec "mysql_config": No such file or directory at Makefile.PL line 478.<br>Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located<br>Failed to determine directory of mysql.h. Use<br><br>  perl Makefile.PL --cflags=-I<dir><br><br>to set this directory. For details see the INSTALL.html file,<br>section "C Compiler flags" or type<br><br>  perl Makefile.PL --help<br>Warning: No success on command[/usr/bin/perl Makefile.PL --testdb=test --testuser=test --testpass=test]<br>'YAML' not installed, will not store persistent state<br>  CAPTTOFU/DBD-mysql-4.020.tar.gz<br>  /usr/bin/perl Makefile.PL --testdb=test --testuser=test --testpass=test -- NOT OK<br>Running make test<br>  Make had some problems, won't test<br>Running make install<br>  Make had some problems, won't install<br>Failed during this command:<br> CAPTTOFU/DBD-mysql-4.020.tar.gz              : writemakefile NO '/usr/bin/perl Makefile.PL --testdb=test --testuser=test --testpass=test' returned status 512<br><br><br>                                          </div></body>
</html>