Re-make mod_php

Marius Kirschner marius at agoron.net
Sun Jan 4 06:16:08 PST 2004


> > 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. :)

Ahh, found the problem.....I had to upgrade the jasper port first and then
ImageMagick build just fine.  

---Marius



More information about the freebsd-questions mailing list