Pregunta

Cuando intento instalar Perl 5.12.2 con perlbrew, me sale un error al final porque las pruebas fallan CPANPLUS.

         Making utilities
make[1]: Entering directory `/home/dave/perl5/perlbrew/build/perl-5.12.2/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dave/perl5/perlbrew/build/perl-5.12.2/utils'
cd t && (rm -f perl; /bin/ln -s ../perl perl)
./runtests choose
t/base/cond....................................................ok
t/base/if......................................................ok

#### MISSING PART (Dave)

cpan/CPANPLUS/t/00_CPANPLUS-Internals-Utils....................ok
cpan/CPANPLUS/t/01_CPANPLUS-Configure..........................ok
cpan/CPANPLUS/t/02_CPANPLUS-Internals..........................ok
cpan/CPANPLUS/t/03_CPANPLUS-Internals-Source...................#   Failed test '   Timestamp on sourcefile updated'
#   at t/03_CPANPLUS-Internals-Source.t line 204.
#     '1284895103'
#         >=
#     '1284905946'
FAILED at test 40
cpan/CPANPLUS/t/04_CPANPLUS-Module.............................ok
cpan/CPANPLUS/t/05_CPANPLUS-Internals-Fetch....................ok

#### MISSING PART (Dave)

cpan/ExtUtils-CBuilder/t/02-link...............................ok
cpan/ExtUtils-CBuilder/t/03-cplusplus..........................ok
cpan/ExtUtils-Command/t/cp.....................................#   Failed test 'cp updated mtime'
#   at t/cp.t line 26.
#     '10844'
#         <=
#     '1'
# Looks like you failed 1 test of 1.
FAILED at test 1
cpan/ExtUtils-Command/t/eu_command.............................ok
cpan/ExtUtils-Constant/t/Constant..............................ok

#### MISSING PART (Dave)

t/porting/podcheck.............................................ok
t/porting/test_bootstrap.......................................ok
Failed 2 tests out of 1695, 99.88% okay.
    ../cpan/CPANPLUS/t/03_CPANPLUS-Internals-Source.t
    ../cpan/ExtUtils-Command/t/cp.t
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You have a good chance to get more information by running
###   ./perl harness
### in the 't' directory since most (>=80%) of the tests succeeded.
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
###   setenv LD_LIBRARY_PATH `pwd`; cd t; ./perl harness
###   LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH; cd t; ./perl harness
###   export LD_LIBRARY_PATH=`pwd`; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
u=2.33  s=1.00  cu=243.43  cs=35.83  scripts=1695  tests=350144
make: *** [test] Error 1

El archivo de registro completo puede ser encontrar en Scribd

¿Fue útil?

Solución

No vas a encontrar este reconfortante pero no tenía enganches de la instalación de Perl 5.12.2 bajo hace Perlbrew sólo un par de semanas: (

Las diferencias tal vez:

  • Todavía estoy usando la versión antigua de Perlbrew (0,03 ).

  • Perlbrew directa y no a través de CPAN mediante el uso de estos pasos (lo siento si repetir el asesoramiento de antes):

    curl -LO https://raw.githubusercontent.com/gugod/App-perlbrew/master/perlbrew
    chmod +x perlbrew
    ./perlbrew install
    
  • Algo cambió en CPANPLUS en último par de semanas (I Can' t ver nada, sin embargo)

  • CPANPLUS tiene algunos errores antiguos que pueden bajo ciertas condiciones no juega bien con perlbrew o tal vez su entorno ?: https: //rt.cpan. org / público / Dist / Display.html? Name = CPANPLUS .

Por lo tanto, no puede ser un href="http://search.cpan.org/dist/App-perlbrew/" rel="nofollow noreferrer"> Perlbrew tema en absoluto. Es posible que usted golpea misma falla de la prueba si se intenta y compilación de Perl 5.12.2 directamente. Para compilar localmente consulte general y cualquier archivo README específico en el fuente bola de alquitrán . Los pasos generales una vez balón alquitrán se desempaqueta son:

sh Configure -Dprefix=/home/your_username/your_local_dir_for_perl-5.12.2
make
make test
make install


De todos modos, CPANPLUS es otra shell CPAN y no es esencial. Así que si eso es las únicas pruebas que fallan en la instala entonces se podría ignorarlos y forzar una instalación. El cual va de nuevo a perlbrew es:

perlbrew install perl-5.12.2 -f

Otros consejos

Las pruebas para CPANPLUS fracasaron, por lo que Perl no se instalará. Puede forzar a instalar a continuación, intente volver a instalar CPANPLUS. Las últimas líneas de la salida de error le dicen exactamente qué hacer. Si no ha instalado su propio Perl antes, recomendamos el uso de perlbrew. Es una herramienta de automatización bastante decente, pero no se debe utilizar para evitar el aprendizaje de lo que es la automatización para usted. Básicamente ejecuta un par de líneas simples de instalar Perl entonces se mueve en torno a algunos enlaces simbólicos.

Por favor, no use Scribd para este tipo de cosas. Capturar las partes pertinentes de la información aquí permanentemente por lo que siempre está con su pregunta.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top