#18524 [Fbk->Csd]: gettext compile error while upgrading 4.1.2 to 4.2.2

From: Date: Thu, 12 Sep 2002 15:25:55 +0000
Subject: #18524 [Fbk->Csd]: 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-19248@lists.php.net to get a copy of this message
ID: 18524 User updated by: achaux@ucar.edu Reported By: achaux@ucar.edu -Status: Feedback +Status: Closed Bug Type: Gettext related Operating System: RedHat 7.0 PHP Version: 4.2.2 New Comment: Make successful, thanks iliia Previous Comments: ------------------------------------------------------------------------ [2002-09-11 13:27:29] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip I've just compiled PHP 4.3.0-dev with gettext support, with gettext version 0.11.5 and it worked flawlesly. ------------------------------------------------------------------------ [2002-08-02 12:02:09] achaux@ucar.edu Tried the latest snapshot, still get the "too many arguments for gettext macro" error: /bin/sh libtool --silent --mode=compile gcc -Iext/gettext/ -I/usr/local/php4-200208020733/ext/gettext/ -DPHP_ATOM_INC -I/usr/local/php4-200208020733/include -I/usr/local/php4-200208020733/main -I/usr/local/php4-200208020733 -I/usr/local/php4-200208020733/Zend -I/usr/local/include -I/usr/local/php4-200208020733/ext/xml/expat -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT -I/usr/local/php4-200208020733/TSRM -g -O2 -prefer-pic -c /usr/local/php4-200208020733/ext/gettext/gettext.c -o ext/gettext/gettext.lo /usr/local/php4-200208020733/ext/gettext/gettext.c:210:93: too many arguments for macro "ngettext" /usr/local/php4-200208020733/ext/gettext/gettext.c:238:115: too many arguments for macro "dngettext" make: *** [ext/gettext/gettext.lo] Error 1 ------------------------------------------------------------------------ [2002-07-25 20:04:17] sniper@php.net Please try this snapshot: http://snaps.php.net/php4-latest.tar.gz ------------------------------------------------------------------------ [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.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18524 -- Edit this bug report at http://bugs.php.net/?id=18524&edit=1

« previous php.bugs (#19248) next »