Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2004 08:50:23 -0500
From:      "Marius Kirschner" <marius@agoron.net>
To:        "'Matthew Seaman'" <m.seaman@infracaninophile.co.uk>
Cc:        'FreeBSD Questions' <freebsd-questions@freebsd.org>
Subject:   RE: Re-make mod_php
Message-ID:  <20040104135024.6C12643D5A@mx1.FreeBSD.org>
In-Reply-To: <20040104113145.GD14277@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hmmm... As far as I can tell, the --with-imagick option 
> doesn't exist in PHP4 or later.  Which is probably why there 
> isn't a 'WITH_IMAGICK'
> option in the port Makefile.
> 
> In fact, see this, from the principal author of PHP himself:
> 
>     http://www.phpbuilder.com/lists/php-general/2000062/0343.php
> 
>     "ImageMagick support is broken and deprecated"

Yes, I found that out after I posted my above message.
 
> You can achieve pretty much all of the graphical 
> manipulations you need by a combination of PHP's built in 
> support for the GD libraries, or by using the exec() 
> capability of PHP to call external programs.
> The netpbm library (ports: graphics/netpbm) and ImageMagick 
> have some suitable command line programs that you can work with

So I tried to build the standalone ImageMagick
(/usr/ports/graphics/ImageMagick), but after playing around with it for 2
hours I keep getting the following error:

jp2.c:778: `JAS_IMAGE_CT_OPACITY' undeclared (first use in this function)
gmake[1]: *** [jp2.lo] Error 1
gmake[1]: Leaving directory
`/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7/coders'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/graphics/ImageMagick.

And I already have netpbm installed, but one application makes use of
ImageMagick (or imagick) and while it is not critical to get it to work it
would be nice. :)

---Marius



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