[SP-pm] modulo DBD::DB2
thiagoglauco at ticursos.net
thiagoglauco at ticursos.net
Tue Jul 6 06:55:35 PDT 2010
Eu sei que no começo é difícil achar onde estão os arquivos e
informações corretas.
Anyway...
Configuring DBD::DB2...
Remember to actually read the README and CAVEATS files!
Onde está este arquivo?
No pacote gzip do módulo que você baixa no cpan:
http://search.cpan.org/~ibmtordb2/DBD-DB2-1.78/DB2.pod
O que ele diz sobre seu erro:
3. The build must be performed in a properly configured
DB2 environment (ie. You have installed the DB2
Application Development Client). On Unix, make sure
the shell has sourced the sqllib/db2profile OR the
DB2_HOME environment variable must point to
the installed location of DB2. For example, if you
installed DB2 to /home/inst1/sqllib then you would need
to export DB2_HOME=/home/inst1/sqllib before building
the DBD::DB2 driver.
Quoting Lucas Moraes <mineiro em live.be>:
>
> Obrigado gente, estou usando Strawberry Perl, veja o erro:
>
>
>
> Microsoft Windows XP [versão 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:\Documents and Settings\Alunos>cpan
>
> cpan shell -- CPAN exploration and modules installation (v1.9456)
> Enter 'h' for help.
>
>
> cpan> install DBD::DB2
> Database was generated on Tue, 06 Jul 2010 11:21:25 GMT
> Running install for module 'DBD::DB2'
> Running make for I/IB/IBMTORDB2/DBD-DB2-1.78.tar.gz
> Checksum for
> C:\wamp\bin\cpan\sources\authors\id\I\IB\IBMTORDB2\DBD-DB2-1.78.tar
> .gz ok
> Scanning cache C:\wamp\bin\cpan\build for sizes
> ............................................................................DONE
>
>
> CPAN.pm: Going to build I/IB/IBMTORDB2/DBD-DB2-1.78.tar.gz
>
>
> Configuring DBD::DB2...
> Remember to actually read the README and CAVEATS files!
>
> DB2_HOME environment variable must be set to installed location of DB2.
> Warning: No success on command[C:\wamp\bin\perl\bin\perl.exe Makefile.PL]
> IBMTORDB2/DBD-DB2-1.78.tar.gz
> C:\wamp\bin\perl\bin\perl.exe Makefile.PL -- NOT OK
> Running make test
> Make had some problems, won't test
> Running make install
> Make had some problems, won't install
> Failed during this command:
> IBMTORDB2/DBD-DB2-1.78.tar.gz : writemakefile NO
> 'C:\wamp\bin\pe
> rl\bin\perl.exe Makefile.PL' returned status 512
>
>
> cpan>
>
>
>
> Outra coisa tambem eu prefiro usar DBI mais pensei que tinha que
> instalar esse modulo tambem, porque quando fui usar mysql com DBI eu
> instalei no ppm o modulo DBD-mysql.
>
>
>
> Falou.
>
>
>
> Deus é o limite.
>
> _________________________________________________________________
> Je e-mail en meer, ook onderweg. Meld je gratis aan voor Windows
> Live Hotmail.
> https://signup.live.com/signup.aspx?id=60969
More information about the SaoPaulo-pm
mailing list