[LPGA]volumes Posted September 1, 2005 at 10:48 AM Report #4232 Posted September 1, 2005 at 10:48 AM 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 ? :\
deathseeker25 Posted September 1, 2005 at 04:12 PM Report #4247 Posted September 1, 2005 at 04:12 PM 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
falco Posted June 29, 2010 at 09:51 AM Report #336697 Posted June 29, 2010 at 09:51 AM 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now