View Full Version : Módulo de PEARL


[volumes]
01-09-2005, 14:12
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 ? :\

inginheiiro
01-09-2005, 14:28
tens o mysql instalado correctamente???

parece que não...

[volumes]
01-09-2005, 17:53
tenho sim, e tá a funcionar a 100% ja tenho lá paginas alojadas e funciona na boa..

kingdom
01-09-2005, 18:10
']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
01-09-2005, 21:38
procura pelo binário mysql_config e vê dentro do makefile.pl se o PATH está correcto!

[volumes]
01-09-2005, 23:55
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