Guest User

Untitled

a guest
Jun 8th, 2014
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. root@fhem:/home/tc# cpan install DBD::mysql
  2. Reading '/root/.cpan/Metadata'
  3. Database was generated on Sun, 08 Jun 2014 10:29:02 GMT
  4. Running install for module 'DBD::mysql'
  5. Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz ok
  6. Configuring C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz with Makefile.PL
  7. Can't exec "mysql_config": No such file or directory at Makefile.PL line 70.
  8.  
  9. Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
  10. not contain the path to mysql_config. Resorting to guessed values!
  11. Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
  12. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
  13. Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
  14. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
  15. Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
  16. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
  17.  
  18.  
  19. PLEASE NOTE:
  20.  
  21. For 'make test' to run properly, you must ensure that the
  22. database user 'root' can connect to your MySQL server
  23. and has the proper privileges that these tests require such
  24. as 'drop table', 'create table', 'drop procedure', 'create procedure'
  25. as well as others.
  26.  
  27. mysql> grant all privileges on test.* to 'root'@'localhost' identified by 's3kr1t';
  28.  
  29. You can also optionally set the user to run 'make test' with:
  30.  
  31. perl Makefile.PL --testuser=username
  32.  
  33. Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
  34. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
  35. Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
  36. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
  37. Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
  38. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
  39. Can't exec "mysql_config": No such file or directory at Makefile.PL line 473.
  40. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
  41. Failed to determine directory of mysql.h. Use
  42.  
  43. perl Makefile.PL --cflags=-I<dir>
  44.  
  45. to set this directory. For details see DBD::mysql::INSTALL,
  46. section "C Compiler flags" or type
  47.  
  48. perl Makefile.PL --help
  49. Warning: No success on command[/tmp/tcloop/perl5/usr/local/bin/perl Makefile.PL]
  50. CAPTTOFU/DBD-mysql-4.027.tar.gz
  51. /tmp/tcloop/perl5/usr/local/bin/perl Makefile.PL -- NOT OK
Advertisement
Add Comment
Please, Sign In to add comment