Re: Re-make mod_php
On Sun, Jan 04, 2004 at 08:50:23AM -0500, Marius Kirschner wrote: > 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. :) Make sure your graphics/jasper port is up-to-date? Or if you don't care about JPEG2000 support, add -DWITHOUT_IMAGEMAGICK_JPEG2000 to your make flags. Dunno really, because installing it worked perfectly well for me. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
RE: Re-make mod_php
> > 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Re-make mod_php
> 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/262/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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re-make mod_php
On Sat, Jan 03, 2004 at 09:46:48PM -0500, Marius Kirschner wrote: > I have the need to re-configire mod_php4 using the ports and add another > package (--with-imagick) that is not part of the default options. Where do I > put the imagick source (should be in /usr/src/php/ext), and which file do I > need to modify to include the "--with-imagick"? Obviously there must be a > way to do it, but after searching through the freebsd.org site I haven't > been able to find it. Thanks, 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/262/0343.php "ImageMagick support is broken and deprecated" 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. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re-make mod_php
I have the need to re-configire mod_php4 using the ports and add another package (--with-imagick) that is not part of the default options. Where do I put the imagick source (should be in /usr/src/php/ext), and which file do I need to modify to include the "--with-imagick"? Obviously there must be a way to do it, but after searching through the freebsd.org site I haven't been able to find it. Thanks, ---Marius ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"