[SP-pm] Pacotes do CPAN

Renato Santos renato.cron at gmail.com
Sun Aug 15 08:31:36 PDT 2010


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20100815/6e7ea913/attachment-0001.html>


More information about the SaoPaulo-pm mailing list