Date: Wed, 01 Dec 2010 23:48:36 +0200 From: Toomas Aas <toomas.aas@raad.tartu.ee> To: freebsd-questions@freebsd.org Subject: Re: Rebuilding perl with threads Message-ID: <20101201234836.13548oib143slay8@webmail.raad.tartu.ee> In-Reply-To: <20101116221701.992236aw0tf36su8@webmail.raad.tartu.ee> References: <20101116221701.992236aw0tf36su8@webmail.raad.tartu.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
Previously, I wrote > I'm in a process of installing a new server. I have already built > and installed a lot of ports over the past weeks, and now that I'm > almost done I discovered that one of the last things I need to > install (misc/amanda-server) needs Perl installed with threads > support, whereas I have it installed without threads. > > For this kind of change, is it safe to reinstall just the Perl port, > or do I also need to rebuild all ports that depend on Perl? That > would be a *lot* of rebuilding. The version I currently have > installed is perl-5.12.2_2, lang/perl5.12 seems to currently be at > 5.12.4. I can now report that there will be problems if you rebuild just the perl port. I used portmaster to perform this task. Then I discovered that (at least some of the) libraries built against non-threaded Perl refuse to be loaded with threaded Perl. A rather typical error message you'll see is 'Undefined symbol"PL_sv_undef"'. In order to get amavisd-new running again, I rebuilt the following ports using portmaster: devel/p5-Time-HiRes sysutils/p5-Unix-Syslog security/p5-Crypt-OpenSSL-RSA www/p5-HTML-Parser converters/p5-Convert-UUlib textproc/p5-YAML-Tiny devel/p5-ExtUtils-CBuilder devel/p5-ExtUtils-ParseXS devel/p5-ExtUtils-Install devel/p5-version devel/p5-Module-Build converters/p5-Encode-Detect net/p5-IO-Socket-INET6 net/p5-Socket6 I now have amavisd-new running again, but it is possible that I'll discover more (non-amavisd-related) ports that need rebuilding. -- Toomas Aas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101201234836.13548oib143slay8>