elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.


 


Tema destacado: ŅEres nuevo? ŅTienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales


+  Foro de elhacker.net
|-+  Sistemas Operativos
| |-+  GNU/Linux (Moderador: MinusFour)
| | |-+  Error al instalar mķdulo DBI de perl en Ubuntu Server 10.04
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Error al instalar mķdulo DBI de perl en Ubuntu Server 10.04  (Leído 842 veces)
X3R4CK3R

Desconectado Desconectado

Mensajes: 74


Divide y vencerŠs


Ver Perfil WWW
Error al instalar mķdulo DBI de perl en Ubuntu Server 10.04
« en: 16 Julio 2012, 16:10 pm »

Bueno pues eso, necesito instalar el můdulo DBI de Perl pero obtengo errores, lo que hago es:

Código:
perl -MCPAN -e shell
install DBI

Tambiťn probť descargŠndolo manualmente e instalarlo por makefile, y de ambas formas obtengo el mismo error:

Código:
/usr/lib/perl/5.10/CORE/perl.h:2839: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚perl_cond‚
/usr/lib/perl/5.10/CORE/perl.h:2840: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚perl_key‚
In file included from /usr/lib/perl/5.10/CORE/iperlsys.h:51,
                 from /usr/lib/perl/5.10/CORE/perl.h:3365,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/perlio.h:65:19: error: stdio.h: No such file or directory
In file included from /usr/lib/perl/5.10/CORE/iperlsys.h:51,
                 from /usr/lib/perl/5.10/CORE/perl.h:3365,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/perlio.h:257: error: expected ) before * token
/usr/lib/perl/5.10/CORE/perlio.h:260: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/perlio.h:263: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/perlio.h:266: error: expected declaration specifiers or ... before ‚FILE‚
In file included from /usr/lib/perl/5.10/CORE/perl.h:3413,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/sv.h:738: error: expected specifier-qualifier-list before ‚DIR‚
In file included from /usr/lib/perl/5.10/CORE/op.h:633,
                 from /usr/lib/perl/5.10/CORE/perl.h:3420,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/reentr.h:95:20: error: pwd.h: No such file or directory
/usr/lib/perl/5.10/CORE/reentr.h:98:20: error: grp.h: No such file or directory
/usr/lib/perl/5.10/CORE/reentr.h:108:26: error: crypt.h: No such file or directory
/usr/lib/perl/5.10/CORE/reentr.h:113:27: error: shadow.h: No such file or directory
In file included from /usr/lib/perl/5.10/CORE/op.h:633,
                 from /usr/lib/perl/5.10/CORE/perl.h:3420,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/reentr.h:643: error: field ‚_drand48_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:647: error: field ‚_grent_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:658: error: field ‚_hostent_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:677: error: field ‚_netent_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:692: error: field ‚_protoent_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:707: error: field ‚_pwent_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:718: error: field ‚_servent_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:733: error: field ‚_spent_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:744: error: field ‚_gmtime_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:747: error: field ‚_localtime_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:750: error: field ‚_random_struct‚ has incomplete type
/usr/lib/perl/5.10/CORE/reentr.h:758: error: expected specifier-qualifier-list before ‚int32_t‚
In file included from /usr/lib/perl/5.10/CORE/perl.h:3422,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/cop.h:33: error: expected specifier-qualifier-list before ‚sigjmp_buf‚
In file included from /usr/lib/perl/5.10/CORE/perl.h:3423,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/av.h:25: error: expected specifier-qualifier-list before ‚ssize_t‚
/usr/lib/perl/5.10/CORE/av.h:42: error: expected specifier-qualifier-list before ‚ssize_t‚
In file included from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/perl.h:3591: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚getuid‚
/usr/lib/perl/5.10/CORE/perl.h:3592: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚geteuid‚
/usr/lib/perl/5.10/CORE/perl.h:3593: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚getgid‚
/usr/lib/perl/5.10/CORE/perl.h:3594: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚getegid‚
In file included from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/perl.h:3924:22: error: math.h: No such file or directory
In file included from /usr/lib/perl/5.10/CORE/perl.h:4796,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/intrpvar.h:84: error: field ‚Istatbuf‚ has incomplete type
/usr/lib/perl/5.10/CORE/intrpvar.h:85: error: field ‚Istatcache‚ has incomplete type
/usr/lib/perl/5.10/CORE/intrpvar.h:90: error: field ‚Itimesbuf‚ has incomplete type
/usr/lib/perl/5.10/CORE/intrpvar.h:248: error: expected specifier-qualifier-list before ‚time_t‚
In file included from /usr/lib/perl/5.10/CORE/perl.h:4829,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/proto.h:284: error: expected declaration specifiers or ... before ‚mode_t‚
/usr/lib/perl/5.10/CORE/proto.h:286: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
In file included from /usr/lib/perl/5.10/CORE/perl.h:4829,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/proto.h:690: error: expected declaration specifiers or ... before ‚off64_t‚
/usr/lib/perl/5.10/CORE/proto.h:697: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚Perl_do_sysseek‚
/usr/lib/perl/5.10/CORE/proto.h:702: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚Perl_do_tell‚
/usr/lib/perl/5.10/CORE/proto.h:1087: error: expected declaration specifiers or ... before ‚gid_t‚
/usr/lib/perl/5.10/CORE/proto.h:1931: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚Perl_my_fork‚
/usr/lib/perl/5.10/CORE/proto.h:3674: error: expected declaration specifiers or ... before ‚pid_t‚
/usr/lib/perl/5.10/CORE/proto.h:3675: error: nonnull argument references non-pointer operand (argument 1, operand 3)
/usr/lib/perl/5.10/CORE/proto.h:4086: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/proto.h:5982: error: expected declaration specifiers or ... before ‚DIR‚
/usr/lib/perl/5.10/CORE/proto.h:6004: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚Perl_PerlIO_read‚
/usr/lib/perl/5.10/CORE/proto.h:6009: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚Perl_PerlIO_write‚
/usr/lib/perl/5.10/CORE/proto.h:6014: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚Perl_PerlIO_unread‚
/usr/lib/perl/5.10/CORE/proto.h:6019: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚Perl_PerlIO_tell‚
/usr/lib/perl/5.10/CORE/proto.h:6020: error: expected declaration specifiers or ... before ‚off64_t‚
In file included from /usr/lib/perl/5.10/CORE/perl.h:4875,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/perlvars.h:32: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚PL_thr_key‚
/usr/lib/perl/5.10/CORE/perlvars.h:50: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚PL_op_mutex‚
/usr/lib/perl/5.10/CORE/perlvars.h:54: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚PL_dollarzero_mutex‚
/usr/lib/perl/5.10/CORE/perlvars.h:140: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚PL_my_ctx_mutex‚
/usr/lib/perl/5.10/CORE/perlvars.h:146: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚PL_hints_mutex‚
/usr/lib/perl/5.10/CORE/perlvars.h:150: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before ‚PL_perlio_mutex‚
/usr/lib/perl/5.10/CORE/perl.h:5576:24: error: sys/ipc.h: No such file or directory
/usr/lib/perl/5.10/CORE/perl.h:5577:24: error: sys/sem.h: No such file or directory
/usr/lib/perl/5.10/CORE/perl.h:5735:24: error: sys/file.h: No such file or directory
In file included from /usr/lib/perl/5.10/CORE/perlapi.h:40,
                 from /usr/lib/perl/5.10/CORE/XSUB.h:417,
                 from DBIXS.h:24,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/intrpvar.h:248: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/intrpvar.h:410: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/intrpvar.h:411: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/intrpvar.h:412: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/intrpvar.h:413: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
In file included from /usr/lib/perl/5.10/CORE/perlapi.h:41,
                 from /usr/lib/perl/5.10/CORE/XSUB.h:417,
                 from DBIXS.h:24,
                 from Perl.xs:7:
/usr/lib/perl/5.10/CORE/perlvars.h:32: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/perlvars.h:50: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/perlvars.h:54: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/perlvars.h:140: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/perlvars.h:146: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
/usr/lib/perl/5.10/CORE/perlvars.h:150: error: expected =, ,, ;, ‚asm‚ or ‚__attribute__‚ before * token
Perl.xs: In function ‚dbd_st_rows‚:
Perl.xs:43: warning: implicit declaration of function ‚pthread_getspecific‚
Perl.xs:43: warning: implicit declaration of function ‚Perl_Gthr_key_ptr‚
Perl.xs:43: error: invalid type argument of ‚unary * (have ‚int‚)
In file included from Perl.c:106:
Driver_xst.h: In function ‚dbixst_bounce_method‚:
Driver_xst.h:19: error: invalid type argument of ‚unary * (have ‚int‚)
Driver_xst.h: In function ‚dbdxst_bind_params‚:
Driver_xst.h:57: error: invalid type argument of ‚unary * (have ‚int‚)
Driver_xst.h:70: warning: implicit declaration of function ‚sprintf‚
Driver_xst.h:70: warning: incompatible implicit declaration of built-in function ‚sprintf‚
Driver_xst.h: In function ‚dbdxst_fetchall_arrayref‚:
Driver_xst.h:92: error: invalid type argument of ‚unary * (have ‚int‚)
Driver_xst.h:97: warning: incompatible implicit declaration of built-in function ‚sprintf‚
Driver_xst.h:114: error: ‚XPVAV‚ has no member named ‚xav_fill‚
Perl.xsi: In function ‚XS_DBD__Perl__dr_data_sources‚:
Perl.xsi:67: error: ‚XPVAV‚ has no member named ‚xav_fill‚
Perl.xsi: In function ‚XS_DBD__Perl__db_selectrow_arrayref‚:
Perl.xsi:210: error: ‚XPVAV‚ has no member named ‚xav_fill‚
Perl.xsi: In function ‚XS_DBD__Perl__st_fetchrow_array‚:
Perl.xsi:642: error: ‚XPVAV‚ has no member named ‚xav_fill‚
make: *** [Perl.o] Error 1
  TIMB/DBI-1.622.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 TIMB/DBI-1.622.tar.gz                        : make NO

cpan[3]>

Eso realmente es solo "un trozo" de error, es todo lo que puedo llegar a copiar de la terminal.

Hace un poco mŠs de un mes lo instalť sin problemas en UbuntuDesktop10.04, pero ahora en UbuntuServer me pasa esto, aunque dudo seriamente que sea ese el motivo... me da la sensaciůn de que es un conflicto con la ķltima versiůn de perl... pero no estoy para nada seguro de quť puede ser... Alguien me echa una manita?  :-X

Gracias de antemano y saludos!


« Última modificación: 16 Julio 2012, 16:12 pm por XeRaCKeR » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Instalar Samba en Ubuntu Server 10.04
Redes
madpitbull_99 0 8,221 Último mensaje 16 Octubre 2010, 15:41 pm
por madpitbull_99
Instalar Webmin en Ubuntu Server 10.04
Redes
madpitbull_99 0 3,310 Último mensaje 16 Octubre 2010, 15:49 pm
por madpitbull_99
Problema al instalar Ubuntu 10.10 server con windos xp y 2003 server
GNU/Linux
Norlak 5 5,395 Último mensaje 27 Octubre 2010, 18:11 pm
por lealesdibua
Error al instalar Ubuntu 10.04
GNU/Linux
E5150 6 6,150 Último mensaje 22 Marzo 2011, 01:35 am
por E5150
Error al instalar mķdulo DBI de perl en Ubuntu Server 10.04
Scripting
X3R4CK3R 1 1,252 Último mensaje 17 Julio 2012, 02:34 am
por leogtz
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines