[caracas-pm] pregunta sobre la librería Threads.pm

Jennifer Maldonado jcmm986 at gmail.com
Fri Mar 5 11:58:20 PST 2010


Muchisimas Gracias a todos.
Ahora estoy pensando si usar el método forks.
¿Es cierto que consume menos recursos que la librería threads.?

Saludos.

El 3 de marzo de 2010 16:15, Ernesto Hernández-Novich
<emhnemhn at gmail.com>escribió:

> On Wed, 2010-03-03 at 09:11 -0430, Jennifer Maldonado wrote:
> > Esta librería viene ya instalada a partir de perl 5.8, la version de
> > donde se ejecutará el script es 5.8 sin embargo arroja este error:
> >
> >              This Perl hasn't been configured and built properly for
> > the threads
> >              module to work.  (The 'useithreads' configuration option
> > hasn't been used.)
> >
> >              Having threads support requires all of Perl and all of
> > the XS modules in
> >              the Perl installation to be rebuilt, it is not just a
> > question of adding
> >              the threads module.  (In other words, threaded and
> > non-threaded Perls
> >              are binary incompatible.)
> >
> >              If you want to the use the threads module, please contact
> > the people
> >              who built your Perl.
> >
> >              Cannot continue, aborting.
> >
> > y revisando en las rutas que contiene @INC se encuentra el Threads.pm
> > es decir que si se encuentra pero no se consigue habilitado en el
> > archivo de Config.pm.
> > ¿Que podría hacer en este caso?
>
> Tienes que recompilar el Perl desde los fuentes con las opciones que se
> indican.
>
> En otro mensaje leí que es un HP/UX. Es posible que el Perl de HP/UX no
> tenga hilos porque simplemente obviaron compilarlo con esa opción o
> porque un sistema HP/UX estándar no tenga librería para soporte a hilos
> utilizable para compilar. En otras palabras, es posible que tengas que
> instalar paquetes adicionales de HP/UX para poder compilar Perl desde
> los fuentes.
>
> Busca en http://www.cpan.org/ports/#hpux y prueba si alguna te sirve.
> --
> Ernesto Hernández-Novich - Linux 2.6.28 i686 - Unix: Live free or die!
> Geek by nature, Linux by choice, Debian of course.
> If you can't aptitude it, it isn't useful or doesn't exist.
> GPG Key Fingerprint = 438C 49A2 A8C7 E7D7 1500 C507 96D6 A3D6 2F4C 85E3
>
>
>


-- 
Saludos y un Abrazo.
Jennifer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/caracas-pm/attachments/20100305/cbf8e7f2/attachment.html>


More information about the caracas-pm mailing list