Date: Tue, 23 Nov 2010 14:30:42 -0800 From: "Kevin Oberman" <oberman@es.net> To: David Southwell <david@vizion2000.net> Cc: ports@freebsd.org, Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>, freebsd-ports@freebsd.org Subject: Re: ImageMagick upgrade problem Message-ID: <20101123223042.1C8D41CC0C@ptavv.es.net> In-Reply-To: Your message of "Tue, 23 Nov 2010 22:15:58 GMT." <201011232215.58592.david@vizion2000.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: David Southwell <david@vizion2000.net> > Date: Tue, 23 Nov 2010 22:15:58 +0000 > > > > Em Ter, 2010-11-23 Ã s 17:50 +0000, David Southwell escreveu: > > > > Puzzled > > > > > > > > I have perl installed with threads but getting the following upgrade > > > > problem with graphics/ImageMagick. The upgrade fails to recognise > > > > reality - Perl is installed with threads! > > > > > > > with OpenEXR or OpenMP I get the same problem: > > > Make sure that perl is compiled with threads and..... > > > > > > for me I solved the problem by > > > defining in /etc/make.conf.....PERL_THREADED=true > > > > > > it works, but the real solution is to fix the port > > > either in IMagemagick or in perl ... > > > > Just 'make PERL_THREADED=true' is probably easier, but the port is > > clearly broken. The logic is very oddly set out, but it relies on the > > value of PERL_THREADED which neither the Makefile nor any of the .Mk > > files defines. I assume that there was supposed to be some test of > > whether perl supports threading that never quite made it. > Tried the /etc/make.conf PERL_THREADED=true > but still get the same result in graphics/ImageMagick: > > dns1# make clean > ===> Cleaning for perl-threaded-5.8.9_4 > ===> Cleaning for ImageMagick-6.6.5.10 > dns1# make > ===> ImageMagick-6.6.5.10 OpenEXR requires threads. . Perl is non-threaded. > Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL. > *** Error code 1 I don't know why it is happening, but /etc/make.conf did not help. I had to define it on the command lines: $ make PERL_THREADED=true $ make deinstall PERL_THREADED=true $ make reinstall PERL_THREADED=true This worked fine, but I don't see why it is different from putting it in /etc/make.conf. Then again, I am way way far from being a make(1) expert. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101123223042.1C8D41CC0C>