Bug #18524 Updated: gettext compile error while upgrading 4.1.2 to 4.2.2

From: Date: Fri, 26 Jul 2002 00:04:17 +0000
Subject: Bug #18524 Updated: gettext compile error while upgrading 4.1.2 to 4.2.2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15251@lists.php.net to get a copy of this message
ID: 18524 Updated by: sniper@php.net Reported By: achaux@ucar.edu -Status: Open +Status: Feedback Bug Type: Gettext related Operating System: RedHat 7.0 PHP Version: 4.2.2 New Comment: Please try this snapshot: http://snaps.php.net/php4-latest.tar.gz Previous Comments: ------------------------------------------------------------------------ [2002-07-25 16:08:42] achaux@ucar.edu Originally tried without dir path for gettext. php.net online documentation for config options states: --with-gettext[=DIR] Include GNU gettext support. DIR is the gettext install directory, defaults to /usr/local. Either way, received idential error message "too many arguments for macro "ngettext"". Thx -ac ------------------------------------------------------------------------ [2002-07-24 19:38:13] sniper@php.net Why do you use such path for --with-gettext? Try without ANY path.. ------------------------------------------------------------------------ [2002-07-24 02:15:20] achaux@ucar.edu Currently running Horde IMP, gettext 0.11.1, PHP 4.1.2 on Apache 1.3.12 Trying to upgrade to PHP 4.2.2 using --with-gettext=/usr/bin/ and getting the following make error: ############################### Making all in gettext make[2]: Entering directory `/usr/local/php-4.2.2/ext/gettext' make[3]: Entering directory `/usr/local/php-4.2.2/ext/gettext' /bin/sh /usr/local/php-4.2.2/libtool --silent --mode=compile gcc -I. -I/usr/local/php-4.2.2/ext/gettext -I/usr/local/php-4.2.2/main -I/usr/local/php-4.2.2 -I/usr/include/apache -I/usr/local/php-4.2.2/Zend -I/usr/local/include -I/usr/local/php-4.2.2/ext/mysql/libmysql -I/usr/local/php-4.2.2/ext/xml/expat -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT -I/usr/local/php-4.2.2/TSRM -g -O2 -prefer-pic -c gettext.c gettext.c:210:93: too many arguments for macro "ngettext" gettext.c:238:115: too many arguments for macro "dngettext" make[3]: *** [gettext.lo] Error 1 make[3]: Leaving directory `/usr/local/php-4.2.2/ext/gettext' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/php-4.2.2/ext/gettext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php-4.2.2/ext' make: *** [all-recursive] Error 1 ############################### Thanks for the help. -ac ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18524&edit=1

« previous php.bugs (#15251) next »