Re-make mod_php
Marius Kirschner
marius at agoron.net
Sun Jan 4 05:50:27 PST 2004
> 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
More information about the freebsd-questions
mailing list