[SP-pm] Pacotes do CPAN

Renato Santos renato.cron at gmail.com
Sun Aug 15 09:10:05 PDT 2010


Tentei instalar com o make clean de novo mais não foi.
http://pastebin.org/504530

Baixei o libpng 1.43 daqui:
http://www.icewalkers.com/Linux/Software/55500/libpng.html
Instalei, parece que funcionou, mas quando rodo o zumbis ele ainda diz que
estou utilizando a versão libpng-1.2.42

<http://pastebin.org/504530>
libpng warning: Application was compiled with png.h from libpng-1.4.1
libpng warning: Application  is  running with png.c from libpng-1.2.42


Vou baixar a libpng-1.4.1 e instarlar

(obs)
Eu nao sei bem, mas é so baixar, fazzer o ./configure, make e make install
mesmo? ele ja muda tirando a versão anterior?

On Sun, Aug 15, 2010 at 1:02 PM, Gabriel Vieira <gabriel.vieira at gmail.com>wrote:

> A msg pede um libpng mais atualizado tb.
>
> 2010/8/15 Renato Santos <renato.cron at gmail.com>:
> > Removi e tentei instalr de novo o Games::Zumbie
> > http://pastebin.org/504268
> > Logo no começo disse pra instalar o SDL novo
> > http://pastebin.org/504283
> >
> > On Sun, Aug 15, 2010 at 12:43 PM, Renato Santos <renato.cron at gmail.com>
> > wrote:
> >>
> >> Só pra ter ideia, o history ainda tem menos de 500 linhas:
> >> http://pastebin.org/503610
> >> Erro do zumbis:
> >> http://pastebin.org/503692
> >> O player ja ta passando mp3/ogg, já instalei o libmpeg2
> >> Mas o que mais queria é o PDF::Haru, pois vou escrever dele
> pro equinócio.
> >> Tentando compilar ele:
> >> http://pastebin.org/503716
> >>
> >> On Sun, Aug 15, 2010 at 12:37 PM, Gabriel Vieira
> >> <gabriel.vieira at gmail.com> wrote:
> >>>
> >>> Tens o libharu na maquina?
> >>>
> >>> Cola o erro da tentativa do Games::Zumbis em pastebin.org e nos envia
> o
> >>> link.
> >>>
> >>> 2010/8/15 Renato Santos <renato.cron at gmail.com>:
> >>> > Já tem o dev instalado do libpng12-dev
> >>> >
> >>> > Ao tentar instalar o PDF::Haru:
> >>> > cpan[1]> install PDF::Haru
> >>> > CPAN: Storable loaded ok (v2.20)
> >>> > Going to read '/root/.cpan/Metadata'
> >>> >   Database was generated on Sun, 15 Aug 2010 11:28:41 GMT
> >>> > Running install for module 'PDF::Haru'
> >>> > CPAN: YAML loaded ok (v0.71)
> >>> > Running make for B/BU/BUTILW/PDF-Haru-1.00.tar.gz
> >>> > CPAN: Digest::SHA loaded ok (v5.47)
> >>> > CPAN: Compress::Zlib loaded ok (v2.02)
> >>> > Checksum for
> >>> > /root/.cpan/sources/authors/id/B/BU/BUTILW/PDF-Haru-1.00.tar.gz
> >>> > ok
> >>> > Scanning cache /root/.cpan/build for sizes
> >>> >
> >>> >
> ............................................................................DONE
> >>> > CPAN: Archive::Tar loaded ok (v1.52)
> >>> > PDF-Haru-1.00/
> >>> > PDF-Haru-1.00/examples/
> >>> > PDF-Haru-1.00/examples/jpeg_demo.pl
> >>> > PDF-Haru-1.00/examples/images/
> >>> > PDF-Haru-1.00/examples/images/gray.jpg
> >>> > PDF-Haru-1.00/examples/images/rgb.jpg
> >>> > PDF-Haru-1.00/examples/text_demo.pl
> >>> > PDF-Haru-1.00/examples/text_demo2.pdf
> >>> > PDF-Haru-1.00/examples/line_demo.pdf
> >>> > PDF-Haru-1.00/examples/line_demo.pl
> >>> > PDF-Haru-1.00/examples/text_demo.pdf
> >>> > PDF-Haru-1.00/examples/jpeg_demo.pdf
> >>> > PDF-Haru-1.00/examples/text_demo2.pl
> >>> > PDF-Haru-1.00/README
> >>> > PDF-Haru-1.00/Haru.xs
> >>> > PDF-Haru-1.00/Changes
> >>> > PDF-Haru-1.00/typemap
> >>> > PDF-Haru-1.00/Makefile.PL
> >>> > PDF-Haru-1.00/lib/
> >>> > PDF-Haru-1.00/lib/PDF/
> >>> > PDF-Haru-1.00/lib/PDF/Haru.pm
> >>> > PDF-Haru-1.00/META.yml
> >>> > PDF-Haru-1.00/MANIFEST
> >>> > PDF-Haru-1.00/t/
> >>> > PDF-Haru-1.00/t/PDF-Haru.t
> >>> > CPAN: File::Temp loaded ok (v0.22)
> >>> >   CPAN.pm: Going to build B/BU/BUTILW/PDF-Haru-1.00.tar.gz
> >>> > Checking if your kit is complete...
> >>> > Looks good
> >>> > Writing Makefile for PDF::Haru
> >>> > cp lib/PDF/Haru.pm blib/lib/PDF/Haru.pm
> >>> > AutoSplitting blib/lib/PDF/Haru.pm (blib/lib/auto/PDF/Haru)
> >>> > /usr/bin/perl /usr/local/share/perl/5.10.1/ExtUtils/xsubpp  -typemap
> >>> > /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap  Haru.xs >
> >>> > Haru.xsc
> >>> > && mv Haru.xsc Haru.c
> >>> > cc -c  -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
> >>> > -pipe
> >>> > -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
> >>> > -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.00\"
> >>> > -DXS_VERSION=\"1.00\"
> >>> > -fPIC "-I/usr/lib/perl/5.10/CORE"   Haru.c
> >>> > Running Mkbootstrap for PDF::Haru ()
> >>> > chmod 644 Haru.bs
> >>> > rm -f blib/arch/auto/PDF/Haru/Haru.so
> >>> > cc  -shared -O2 -g -L/usr/local/lib -fstack-protector Haru.o  -o
> >>> > blib/arch/auto/PDF/Haru/Haru.so \
> >>> >   -lhpdf   \
> >>> >
> >>> > chmod 755 blib/arch/auto/PDF/Haru/Haru.so
> >>> > cp Haru.bs blib/arch/auto/PDF/Haru/Haru.bs
> >>> > chmod 644 blib/arch/auto/PDF/Haru/Haru.bs
> >>> > Manifying blib/man3/PDF::Haru.3pm
> >>> >   BUTILW/PDF-Haru-1.00.tar.gz
> >>> >   /usr/bin/make -- OK
> >>> > Running make test
> >>> > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> >>> > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> >>> > t/PDF-Haru.t .. 1/1
> >>> > #   Failed test 'use PDF::Haru;'
> >>> > #   at t/PDF-Haru.t line 9.
> >>> > #     Tried to use 'PDF::Haru'.
> >>> > #     Error:  Can't load
> >>> >
> >>> >
> '/root/.cpan/build/PDF-Haru-1.00-78gaVu/blib/arch/auto/PDF/Haru/Haru.so' for
> >>> > module PDF::Haru:
> >>> >
> /root/.cpan/build/PDF-Haru-1.00-78gaVu/blib/arch/auto/PDF/Haru/Haru.so:
> >>> > undefined symbol: deflateInit_ at /usr/lib/perl/5.10/DynaLoader.pm
> line
> >>> > 193.
> >>> > #  at (eval 4) line 2
> >>> > # Compilation failed in require at (eval 4) line 2.
> >>> > # BEGIN failed--compilation aborted at (eval 4) line 2.
> >>> > # Looks like you failed 1 test of 1.
> >>> > t/PDF-Haru.t .. Dubious, test returned 1 (wstat 256, 0x100)
> >>> > Failed 1/1 subtests
> >>> > Test Summary Report
> >>> > -------------------
> >>> > t/PDF-Haru.t (Wstat: 256 Tests: 1 Failed: 1)
> >>> >   Failed test:  1
> >>> >   Non-zero exit status: 1
> >>> > Files=1, Tests=1,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.01 cusr
> >>> >  0.00
> >>> > csys =  0.03 CPU)
> >>> > Result: FAIL
> >>> > Failed 1/1 test programs. 1/1 subtests failed.
> >>> > make: *** [test_dynamic] Error 1
> >>> >   BUTILW/PDF-Haru-1.00.tar.gz
> >>> >   /usr/bin/make test -- NOT OK
> >>> > //hint// to see the cpan-testers results for installing this module,
> >>> > try:
> >>> >   reports BUTILW/PDF-Haru-1.00.tar.gz
> >>> > Running make install
> >>> >   make test had returned bad status, won't install without force
> >>> > Failed during this command:
> >>> >  BUTILW/PDF-Haru-1.00.tar.gz                  : make_test NO
> >>> >
> >>> > Via perl MakeFile.pl:
> >>> > root at renatosouza-desktop:/home/renatosouza/Downloads/PDF-Haru-1.00#
> >>> > make
> >>> > Skip blib/lib/PDF/Haru.pm (unchanged)
> >>> > cc -c  -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
> >>> > -pipe
> >>> > -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
> >>> > -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.00\"
> >>> > -DXS_VERSION=\"1.00\"
> >>> > -fPIC "-I/usr/lib/perl/5.10/CORE"   Haru.c
> >>> > make installRunning Mkbootstrap for PDF::Haru ()
> >>> > chmod 644 Haru.bs
> >>> > rm -f blib/arch/auto/PDF/Haru/Haru.so
> >>> > cc  -shared -O2 -g -L/usr/local/lib -fstack-protector Haru.o  -o
> >>> > blib/arch/auto/PDF/Haru/Haru.so \
> >>> >   -lhpdf   \
> >>> >
> >>> > chmod 755 blib/arch/auto/PDF/Haru/Haru.so
> >>> > cp Haru.bs blib/arch/auto/PDF/Haru/Haru.bs
> >>> > chmod 644 blib/arch/auto/PDF/Haru/Haru.bs
> >>> > Manifying blib/man3/PDF::Haru.3pm
> >>> > root at renatosouza-desktop:/home/renatosouza/Downloads/PDF-Haru-1.00#
> >>> > make
> >>> > install
> >>> > Files found in blib/arch: installing files in blib/lib into
> >>> > architecture
> >>> > dependent library tree
> >>> > Appending installation info to
> /usr/local/lib/perl/5.10.1/perllocal.pod
> >>> > root at renatosouza-desktop:/home/renatosouza/Downloads/PDF-Haru-1.00#
> >>> > make
> >>> > test
> >>> > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> >>> > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> >>> > t/PDF-Haru.t .. 1/1
> >>> > #   Failed test 'use PDF::Haru;'
> >>> > #   at t/PDF-Haru.t line 9.
> >>> > #     Tried to use 'PDF::Haru'.
> >>> > #     Error:  Can't load
> >>> >
> >>> >
> '/home/renatosouza/Downloads/PDF-Haru-1.00/blib/arch/auto/PDF/Haru/Haru.so'
> >>> > for module PDF::Haru:
> >>> >
> >>> >
> /home/renatosouza/Downloads/PDF-Haru-1.00/blib/arch/auto/PDF/Haru/Haru.so:
> >>> > undefined symbol: deflateInit_ at /usr/lib/perl/5.10/DynaLoader.pm
> line
> >>> > 193.
> >>> > #  at (eval 4) line 2
> >>> > # Compilation failed in require at (eval 4) line 2.
> >>> > # BEGIN failed--compilation aborted at (eval 4) line 2.
> >>> > # Looks like you failed 1 test of 1.
> >>> > t/PDF-Haru.t .. Dubious, test returned 1 (wstat 256, 0x100)
> >>> > Failed 1/1 subtests
> >>> > Test Summary Report
> >>> > -------------------
> >>> > t/PDF-Haru.t (Wstat: 256 Tests: 1 Failed: 1)
> >>> >   Failed test:  1
> >>> >   Non-zero exit status: 1
> >>> > Files=1, Tests=1,  0 wallclock secs ( 0.01 usr  0.00 sys +  0.02 cusr
> >>> >  0.00
> >>> > csys =  0.03 CPU)
> >>> > Result: FAIL
> >>> > Failed 1/1 test programs. 1/1 subtests failed.
> >>> > make: *** [test_dynamic] Error 1
> >>> >
> >>> > Já tentei instalar o está instalado.
> >>> > A versão do perl é
> >>> > This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi
> >>> > Acho estranho o modulo estar bugado, pois instalei esses dias na
> >>> > empresa,
> >>> > mas foi num Debian.
> >>> > Pra instalar o Games::Zumbis tambem estou com problemas (tem como
> >>> > remover
> >>> > tentar novamente? pois eu dei Force, e nao funfa!)
> >>> >
> >>> > 2010/8/15 Gabriel Vieira <gabriel.vieira at gmail.com>
> >>> >>
> >>> >> Sao necessarios os pacotes devs tb
> >>> >>
> >>> >> 2010/8/15 Renato Santos <renato.cron at gmail.com>:
> >>> >> > Pessoal,
> >>> >> > estou usando o Ubuntu 10.04, recém instalado.
> >>> >> > Instalei ele no VirtualBox.
> >>> >> > Instalei o build-essential e depois fui tentar instalar o
> >>> >> > Games::Zombie
> >>> >> > Deu erro no libpng. Dize que o libpng não é compativel,
> >>> >> > ai baixei o libpng 1.2 e fiz um ./configure e make/make install.
> >>> >> > Nao mudou nada, mas acho que não é isso que ta bugado.
> >>> >> > Tentei instalr o PDF::Haru mas ta dando erro falando que não
> >>> >> > encontrou a
> >>> >> > lib
> >>> >> > hpdf
> >>> >> >
> >>> >> > Alguém de vocês sabem quais pacotes são basicos? instalei o SDL
> mas
> >>> >> > não
> >>> >> > funciona.
> >>> >> > Já fiz UPDATE de todos os pacotes, ultima kernel.
> >>> >> >
> >>> >> >
> >>> >> > --
> >>> >> > Renato Santos
> >>> >> > http://www.renatocron.com/blog/
> >>> >> >
> >>> >> > _______________________________________________
> >>> >> > SaoPaulo-pm mailing list
> >>> >> > SaoPaulo-pm at pm.org
> >>> >> > http://mail.pm.org/mailman/listinfo/saopaulo-pm
> >>> >> >
> >>> >>
> >>> >>
> >>> >>
> >>> >> --
> >>> >> Gabriel Vieira
> >>> >> _______________________________________________
> >>> >> SaoPaulo-pm mailing list
> >>> >> SaoPaulo-pm at pm.org
> >>> >> http://mail.pm.org/mailman/listinfo/saopaulo-pm
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Renato Santos
> >>> > http://www.renatocron.com/blog/
> >>> >
> >>> > _______________________________________________
> >>> > SaoPaulo-pm mailing list
> >>> > SaoPaulo-pm at pm.org
> >>> > http://mail.pm.org/mailman/listinfo/saopaulo-pm
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Gabriel Vieira
> >>> _______________________________________________
> >>> SaoPaulo-pm mailing list
> >>> SaoPaulo-pm at pm.org
> >>> http://mail.pm.org/mailman/listinfo/saopaulo-pm
> >>
> >>
> >>
> >> --
> >> Renato Santos
> >> http://www.renatocron.com/blog/
> >
> >
> >
> > --
> > Renato Santos
> > http://www.renatocron.com/blog/
> >
> > _______________________________________________
> > SaoPaulo-pm mailing list
> > SaoPaulo-pm at pm.org
> > http://mail.pm.org/mailman/listinfo/saopaulo-pm
> >
>
>
>
> --
> Gabriel Vieira
> _______________________________________________
> SaoPaulo-pm mailing list
> SaoPaulo-pm at pm.org
> http://mail.pm.org/mailman/listinfo/saopaulo-pm
>



-- 
Renato Santos
http://www.renatocron.com/blog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20100815/560ee5be/attachment-0001.html>


More information about the SaoPaulo-pm mailing list