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

 

 


Tema destacado: Trabajando con las ramas de git (tercera parte)


+  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 1,676 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 9,349 Último mensaje 16 Octubre 2010, 15:41 pm
por madpitbull_99
Instalar Webmin en Ubuntu Server 10.04
Redes
madpitbull_99 0 4,335 Ú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 6,999 Último mensaje 27 Octubre 2010, 18:11 pm
por lealesdibua
Error al instalar Ubuntu 10.04
GNU/Linux
E5150 6 7,716 Ú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 2,326 Último mensaje 17 Julio 2012, 02:34 am
por leogtz
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines