Re: php4 with gd?
Thanks to all who replied! Here a compined reply... Haulmark, Chris [EMAIL PROTECTED] wrote... I must be totally dense, but after trying a number of things, searching the mailing lists, searching google, reading the freebsd ports doc, searching the php web - I still can not get php4 to build with gdlib support using the ports collection. We already had a working mod_php4 built and installed, and just want to add gdlib support. None of the following (as well as other incantations) work in either the www/mod_php4 port nor the lang/php4 port: make deinstall; make reinstall make deinstall; make clean; make install make deinstall; make WITH_GD=YES reinstall make deinstall; make clean; make WITH_GD=YES install Can someone please give me a clue? I thought I remembered that there was a text gui asking what options we want, but it doesn't appear anymore. Have you looked in the ports collection of lang/php4-extensions? Bingo! This seems to be the correct answer! cd /usr/ports/lang/php4-extensions make WITH_GD=yes WITH_GETTEXT=yes install does the trick! Or one can leave off the WITH_* vars and select them in the text gui. Life would be so much easier if the php4 make and pkg-descr would mention where to look for extentions. How is someone supposed to know this exists (without monitoring all freebsd mailing lists)? Benjamin Walkenhorst [EMAIL PROTECTED] wrote... Look at the Makefile and the CONFIGURE_ARGS variable. I don't know the option for php, but something like --enable-gd might help. Didn't know you could set configure args at the top level make. Good to know! Alex de Kruijff [EMAIL PROTECTED] wrote... There seems to be a big gap between simply installing a port with its defaults and finding out what other options might be available via the WITH_* and WITHOUT_* options. Isn't this documented with each port somewhere? There are used in the Makefile, so you can allways look there. This is part of what was confusing me. There were lots of mailing list references to using WITH_GD, but I couldn't find it in the Makefile. Sometimes these are hiding in an included makefile somewhere outside of the port itself. But now I know it was moved to lang/php4-extentions sometime since we originally built php4! Can someone please give me a clue? I thought I remembered that there was a text gui asking what options we want, but it doesn't appear anymore. You can set this not to appear by setting BATCH in /etc/make.conf. If you rename /etc/make.conf for builing mod_php, then you'll have you're text ui. (g stands for graphical) The string batch isn't in our make.conf. The gui was hiding in the lang/php4-extentions port. Yes g stands for graphical, which is why it is a text gui. The curses based line drawing and shading is a text based form of graphics. Graphics does not imply bitmapped. Draw a box with a pencil and you have graphics. :) Cheers, Ray ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: php4 with gd?
Can someone please give me a clue? I thought I remembered that there was a text gui asking what options we want, but it doesn't appear anymore. Have you looked in the ports collection of lang/php4-extensions? Bingo! This seems to be the correct answer! cd /usr/ports/lang/php4-extensions make WITH_GD=yes WITH_GETTEXT=yes install does the trick! Or one can leave off the WITH_* vars and select them in the text gui. Life would be so much easier if the php4 make and pkg-descr would mention where to look for extentions. How is someone supposed to know this exists (without monitoring all freebsd mailing lists)? There is an entry in /usr/ports/UPDATING: 20040719: AFFECTS: users of PHP AUTHOR: [EMAIL PROTECTED] The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP, PEAR, and shared extensions to allow more flexibility and add new features. Upgrading your current PHP installation will result in a 'base' PHP installation (no PEAR and no extensions). PEAR can be found in the new devel/php4-pear and devel/php5-pear ports, while the set of PHP extensions to install can be choosen via the meta-ports lang/php4-extensions and lang/php5-extensions, or installing singular extensions individually. If you have a previous php.ini configuration file, be sure to comment out the extension_dir parameter, since the correct path is statically compiled into the PHP binary. For an overview of the modules used with the old PHP binary, use the command php -m. This is why it is always recommended for all FreeBSD users to monitor the /usr/ports/UPDATING after they do cvsup of their ports system. Any major changes in the ports tree will and should appear in the UPDATING file. -- Chris Haulmark System Admin. Freelancer In market for IT corrections for a salary. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: php4 with gd?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Davis Sent: Monday, October 04, 2004 2:59 PM To: [EMAIL PROTECTED] Subject: php4 with gd? I must be totally dense, but after trying a number of things, searching the mailing lists, searching google, reading the freebsd ports doc, searching the php web - I still can not get php4 to build with gdlib support using the ports collection. We already had a working mod_php4 built and installed, and just want to add gdlib support. None of the following (as well as other incantations) work in either the www/mod_php4 port nor the lang/php4 port: make deinstall; make reinstall make deinstall; make clean; make install make deinstall; make WITH_GD=YES reinstall make deinstall; make clean; make WITH_GD=YES install Can someone please give me a clue? I thought I remembered that there was a text gui asking what options we want, but it doesn't appear anymore. Have you looked in the ports collection of lang/php4-extensions? There seems to be a big gap between simply installing a port with its defaults and finding out what other options might be available via the WITH_* and WITHOUT_* options. Isn't this documented with each port somewhere? Thanks! Ray ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Chris Haulmark System Admin. Freelancer In market for IT corrections for a salary. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 with gd?
Ray Davis wrote: There seems to be a big gap between simply installing a port with its defaults and finding out what other options might be available via the WITH_* and WITHOUT_* options. Isn't this documented with each port somewhere? Look at the Makefile and the CONFIGURE_ARGS variable. I don't know the option for php, but something like --enable-gd might help. Kind regards, Benjamin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 with gd?
On Mon, Oct 04, 2004 at 04:11:30PM -0400, Haulmark, Chris wrote: There seems to be a big gap between simply installing a port with its defaults and finding out what other options might be available via the WITH_* and WITHOUT_* options. Isn't this documented with each port somewhere? There are used in the Makefile, so you can allways look there. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4 with gd?
On Mon, Oct 04, 2004 at 09:59:23PM +0200, Ray Davis wrote: make deinstall; make reinstall make deinstall; make clean; make install make deinstall; make WITH_GD=YES reinstall make deinstall; make clean; make WITH_GD=YES install Can someone please give me a clue? I thought I remembered that there was a text gui asking what options we want, but it doesn't appear anymore. You can set this not to appear by setting BATCH in /etc/make.conf. If you rename /etc/make.conf for builing mod_php, then you'll have you're text ui. (g stands for graphical) -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP4 with GD build problem.
On Fri, Jan 30, 2004 at 06:28:02PM -0800, Derrick MacPherson wrote: Freebsd 4.7, ports up to date. When I compile php4 with GD, I get this error: ext/gd/libgd/gdkanji.lo: In function `do_convert': ext/gd/libgd/gdkanji.lo(.text+0x57b): undefined reference to `iconv_open' ext/gd/libgd/gdkanji.lo(.text+0x5c8): undefined reference to `iconv' ext/gd/libgd/gdkanji.lo(.text+0x5f9): undefined reference to `iconv_close' *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.3.4. It compiles fine without GD. Any ideas what's wrong, and how to fix? Try installing GD on it's own first - uninstalling first if it's already installed. If that doesn't work it's probably worth checking to see if someone else has submitted a PR for this problem here: http://www.freebsd.org/cgi/query-pr-summary.cgi Perhaps submit your own PR report if you're sure it's a bug - you'd probably want to try reproducing the error on a different machine first though. Good luck :P -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP4 with GD build problem.
Freebsd 4.7, ports up to date. When I compile php4 with GD, I get this error: ext/gd/libgd/gdkanji.lo: In function `do_convert': ext/gd/libgd/gdkanji.lo(.text+0x57b): undefined reference to `iconv_open' ext/gd/libgd/gdkanji.lo(.text+0x5c8): undefined reference to `iconv' ext/gd/libgd/gdkanji.lo(.text+0x5f9): undefined reference to `iconv_close' *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.3.4. It compiles fine without GD. Any ideas what's wrong, and how to fix? Sorry, I have no solution for you, just wanted to say that I've had the same problem with 4.9. I build it without GD for now. ---Marius ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]