• Publicidad

Instalación módulo DBI

Aquí encontrarás todo lo que sea específicamente acerca de módulos de Perl. Ya sea que estás compartiendo tu módulo, un manual o simplemente tienes una duda acerca de alguno.

Instalación módulo DBI

Notapor scuyda » 2010-09-20 16:45 @739

Hola, estoy instalando el módulo DBI-1.614 en un SUN Solaris 10 recién instalada, perl Makefile.PL fue Ok, pero dio error al realizar el make:
Skip blib/lib/DBI/ProfileData.pm (unchanged)
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.614\" -DXS_VERSION=\"1.614\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" -DDBI_NO_THREADS Perl.c
ucbcc: unrecognized option `-Xs'
ucbcc: unrecognized option `-KPIC'
ucbcc: language ildoff not recognized
ucbcc: Perl.c: linker input file unused because linking not done
ucbcc: -lucb: linker input file unused because linking not done
ucbcc: -lsocket: linker input file unused because linking not done
ucbcc: -lnsl: linker input file unused because linking not done
ucbcc: -lelf: linker input file unused because linking not done
ucbcc: -laio: linker input file unused because linking not done
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.614\" -DXS_VERSION=\"1.614\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" -DDBI_NO_THREADS DBI.c
ucbcc: unrecognized option `-Xs'
ucbcc: unrecognized option `-KPIC'
ucbcc: language ildoff not recognized
ucbcc: DBI.c: linker input file unused because linking not done
ucbcc: -lucb: linker input file unused because linking not done
ucbcc: -lsocket: linker input file unused because linking not done
ucbcc: -lnsl: linker input file unused because linking not done
ucbcc: -lelf: linker input file unused because linking not done
ucbcc: -laio: linker input file unused because linking not done
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.so
cc -G DBI.o -o blib/arch/auto/DBI/DBI.so \
\

ucbcc: DBI.o: No such file or directory
ucbcc: unrecognized option `-Xs'
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBI/DBI.so'


Buscando en foros, uno recomendó compilarlo con gcc-3.3.2-sol10-intel-local, pero idéntico error, así que volví a la versión original gcc-3.4.6-sol10-x86-local.

Alguna sugerencia.

Gracias de antemano.
Avatar de Usuario
scuyda
Perlero nuevo
Perlero nuevo
 
Mensajes: 4
Registrado: 2009-09-04 10:48 @492

Publicidad

Re: Instalacion Modulo DBI

Notapor Therion777 » 2010-09-20 16:51 @743

¿No has intentado solo usar el módulo (en una carpeta) y un user "librería";
Yo lo uso así y no he tenido problemas.

Saludos.
Therion777
Perlero nuevo
Perlero nuevo
 
Mensajes: 14
Registrado: 2010-08-30 15:30 @687

Re: Instalación módulo DBI

Notapor explorer » 2010-09-21 03:49 @200

Bienvenido a los foros de Perl en Español, scuyda.

Te remito a una contestación anterior.
JF^D Perl programming & Raku programming. Grupo en Telegram: https://t.me/Perl_ES
Avatar de Usuario
explorer
Administrador
Administrador
 
Mensajes: 14480
Registrado: 2005-07-24 18:12 @800
Ubicación: Valladolid, España

Re: Instalación módulo DBI

Notapor scuyda » 2010-09-21 07:52 @370

Gracias, ese era mi problema.
Avatar de Usuario
scuyda
Perlero nuevo
Perlero nuevo
 
Mensajes: 4
Registrado: 2009-09-04 10:48 @492


Volver a Módulos

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 7 invitados

cron