Jump to content

Recommended Posts

Posted

hi all,

bem tou a tentar instalar uma aplicação que precisa de uns modulos de pearl, dps de fazer o ./install.pl apareceu isto :

>>> STEP: Verifying required perl modules ...
Searching for required perl modules ...
  x = module installed
 [x] DBI           v1.48
 [ ] DBD::mysql    v????
 [x] Data::Dumper  v2.12

bem falta ali um modulo, entao sakei e instalei, mas quando faço o pearl Makfile,pl apareçe isto :

[root@localhost DBD-mysql-2.9008]# perl Makefile.PL



$ENV{LANG} is not 'C' execing 'perl Makefile.PL' with ENV{LANG} == 'C'
You can skip this check by: 'export LANG='C' before running 'perl Makefile.PL or by upgrading your Perl'


Can't exec "mysql_config": No such file or directory at Makefile.PL line 73.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Failed to determine directory of mysql.h. Use

 perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

 perl Makefile.PL --help

já tentei tb com o CPAN mas da o mm erro

anyone can help me pls ? :\

Posted

Bem eu acho que o problema está na base de dados MySQL. Pelo menos o módulo não está a ser reconhecido, assim como todos os erros que lá aparecem tem a ver com o MySQL.

E de Perl nada percebo...foi apenas uma tentativa avaliando o que aparece nos erros...venham os prós...

Cumps

  • 4 years later...
Posted

Deves utilizar o CPAN, ou o gestor de pacotes do teus sistema operativo, sempre que precisares de instalar um módulo de Perl.

Quanto ao problema, parece-me que era um problema de faltam bibliotecas do mysql (e utilitários que vêm com elas), que o Perl utiliza para os seus módulos de MySQL.

Esta ajuda já deve ir "um bocado tarde", mas talvez possa ser útil a outro que venha a ter esta questão.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.