Módulo de PEARL

[volumes]

Power Member
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 :

Código:
>>> 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 :

Código:
[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 ? :\
 
[volumes] disse:
tenho sim, e tá a funcionar a 100% ja tenho lá paginas alojadas e funciona na boa..


Pois mas é estranho porque não está a reconhecer o MySQL como módulo instalado....por isso é que não funciona.
 
eXcept disse:
procura pelo binário mysql_config e vê dentro do makefile.pl se o PATH está correcto!

yaps tambem já tinha tentando! abri o file e tava td certinho, tb tentei meter o ficheiro na pasta onde tava a tentar instalar e tb n dá... :\ n percebo mesmo pk é k n dá... :S
 
Back
Topo