Perl port with threads

From: Jens Fallesen (none@jens--fallesen.dk.lh.bsd-dk.dk)
Date: Thu 09 May 2002 - 21:34:52 CEST


Date: Thu, 09 May 2002 21:34:52 +0200
From: Jens Fallesen <none@jens--fallesen.dk.lh.bsd-dk.dk>
To: bsd-dk@bsd-dk.dk
Subject: Perl port with threads


(I am doing this email in English in the hope that Anton will read and
understand this so that he tells me to do this or that and things will
then work... :-)

I want to use Sendmail::Milter which requires Perl5.6.1 compiled with
-Dusethreads. I therefore added -Dusethreads as a configuration argument
in /usr/ports/lang/perl5/Makefile and then a make install (I did do a
make deinstall and rm -rf work in order to have a clean base first).

All is fine until some point during installation:

<<CUT>>

===> Generating temporary packing list
install -c -o root -g wheel -m 555 /usr/ports/lang/perl5/work/use.perl
/usr/local/bin/use.perl
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/.
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5/work/BSDPAN-5.6.1/BSDPAN.pm
/usr/local/lib/perl5/5.6.1/BSDPAN/BSDPAN.pm
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/BSDPAN
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5/work/BSDPAN-5.6.1/BSDPAN/Override.pm
/usr/local/lib/perl5/5.6.1/BSDPAN/BSDPAN/Override.pm
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/.
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5/work/BSDPAN-5.6.1/Config.pm
/usr/local/lib/perl5/5.6.1/BSDPAN/Config.pm
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/ExtUtils
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5/work/BSDPAN-5.6.1/ExtUtils/MM_Unix.pm
/usr/local/lib/perl5/5.6.1/BSDPAN/ExtUtils/MM_Unix.pm
/bin/mkdir -p /usr/local/lib/perl5/5.6.1/BSDPAN/ExtUtils
install -c -o root -g wheel -m 444
/usr/ports/lang/perl5/work/BSDPAN-5.6.1/ExtUtils/Packlist.pm
/usr/local/lib/perl5/5.6.1/BSDPAN/ExtUtils/Packlist.pm
Bus error - core dumped
*** Error code 138

Stop in /usr/ports/lang/perl5.
phb:/usr/ports/lang/perl5#

<<CUT>>

If I do a perl -v it looks fine whereas a perl -V makes it hang for
quite a few seconds before core dumping with the same bus error.

Using -Dusethreads -Duse5005threads makes compile and install work but
then the perl_clone function is not supported and Sendmail::Milter
depends on just that.

Does anybody here (Anton?) know the Perl port in FreeBSD well enough to
guide me in the right direction here?

-- 
Jens Fallesen  <none@jens--fallesen.dk.lh.bsd-dk.dk>                                   O-
Hedegaardsvej 41 st th, 2300 Copenhagen S, Denmark
Phone: (+45) 32 86 18 99 * Fax: (+45) 32 86 17 99
CCIE #5470



This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:20 CET