Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2009 10:05:19 +0200
From:      Oren Maurer <meorero@gmail.com>
To:        freebsd-perl@freebsd.org
Subject:   How / where to get a Perl that has threads?
Message-ID:  <b0f44f380903010005m4010367asc1b54daf3604f61@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all.

As I'm new to this list - please forgive me for a newbie questions
(but I promise to at least try to first Google and search this list
archives).

In short:
I have FreeBSD 7.1.

It seems to have Perl without threads . And I do need threads.
How can I get it?

Details:

I want to try install Padre (Perl IDE, see: http://padre.perlide.org/)
- which requires a perl that has threads.

I have run the command:   perl -V |grep threads
I get this:

meorero_bsd03# perl -V |grep threads
    config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.8.8/mach
-Dprivlib=/usr/local/lib/perl5/5.8.8
-Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8
-Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv
-Uinstallusrbinperl -Dcc=cc -Duseshrplib
-Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-Doptimize=-O2 -fno-strict-aliasing -pipe -Ud_dosuid -Ui_gdbm
-Dusethreads=n -Dusemymalloc=y -Duse64bitint'
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
meorero_bsd03#


As you can see - I have:   usethreads=undef use5005threads=undef
useithreads=undef

I understand that I need one (and only one) of these: usethreads ,
use5005threads or useithread - Not to be undef.

I installed p5-threads     http://www.freshports.org/devel/p5-threads/
and p5-threads-shared   http://www.freshports.org/devel/p5-threads-shared/

Still I get the same.

Note:
This is a question after discussing in the same in the [Padre-dev]
mailing list:
http://mail.perlide.org/pipermail/padre-dev/2009-February/000710.html

Regards
  Oren Maurer


-- 
________________________________
Oren  Maurer
http://meorero.wordpress.com
http://www.meorero.org.il
 _______________________________
 #  =======================|
 #  Please avoid sending me Word |
 #   or PowerPoint attachments      |
 #  =======================|
 # See: http://www.gnu.org/philosophy/no-word-attachments.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b0f44f380903010005m4010367asc1b54daf3604f61>