From owner-freebsd-ports@FreeBSD.ORG Mon May 30 19:02:59 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4998A106566B for ; Mon, 30 May 2011 19:02:59 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id CD5048FC0A for ; Mon, 30 May 2011 19:02:58 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QR7jr-0001h7-Lm for freebsd-ports@freebsd.org; Mon, 30 May 2011 21:02:55 +0200 Received: from p57915316.dip.t-dialin.net ([87.145.83.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 May 2011 21:02:55 +0200 Received: from jumper99 by p57915316.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 May 2011 21:02:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: "Helmut Schneider" Date: Mon, 30 May 2011 19:02:43 +0000 (UTC) Lines: 81 Message-ID: References: <19938.15307.308405.312946@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p57915316.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:000001C1 X-Antivirus: avast! (VPS 110530-0, 30.05.2011), Outbound message X-Antivirus-Status: Clean Subject: Re: Perl is non-threaded. Building ImageMagick without threads. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2011 19:02:59 -0000 Daniel Nebdal wrote: > On Sun, May 29, 2011 at 3:27 PM, Robert Huff > wrote: > > > > Helmut Schneider writes: > > > >>  While updating ImageMagick from 6.6.7.10 to 6.7.0-2 the build > >> process says: > > > > >>  ===>  Configuring for ImageMagick-nox11-6.7.0.2 > >> >  ################################################################### > >>  NOTICE: Perl is non-threaded. Building ImageMagick without > >> threads. >  ################################################################### > > > > >>  But: > > > > >>  [helmut@BSDHelmut832 ~]$ pkg_info | grep perl > >>  perl-threaded-5.10.1_3 Practical Extraction and Report Language > >>  [helmut@BSDHelmut832 ~]$ uname -rms > >>  FreeBSD 8.2-RELEASE-p1 i386 > >>  [helmut@BSDHelmut832 ~]$ > > > >        I have a similar issue: > > > > huff@> portupgrade InageMagick-6 > > ** Port marked as IGNORE: graphics/ImageMagick: > >        OpenEXR requires threads. . Perl is non-threaded. Reinstall > > Perl with threads or undefine WITH_IMAGEMAGICK_PERL ** Listing the > > failed packages (-:ignored / *:skipped / !:failed)        - > > graphics/ImageMagick (marked as IGNORE) huff@> dir /var/db/pkg | > > grep perl drwxr-xr-x    2 root  wheel       512 May 27 08:09   > > perl-threaded-5.14.0 > > > >        System info: > > > > FreeBSD 9.0-CURRENT #0: Mon Apr 18 11:59:37 EDT 2011 amd64 > > > > > >                                        Robert Huff > > > Try enabling threading in the ImageMagic port - I ran into this > earlier, and if I remember it correctly, the error message is a bit > misleading. I see: .if defined(WITH_THREADS) _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac' .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif PERL_THREADED is only set when also WITH_THREADS is set. Maybe should be something like --- Makefile.org 2011-05-30 20:24:54.000000000 +0200 +++ Makefile 2011-05-30 20:46:50.000000000 +0200 @@ -80,10 +80,11 @@ CONFIGURE_ARGS+= --disable-hdri #.endif +PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac' + .if defined(WITH_THREADS) _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads -PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac' .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads