#18369 [Opn->Fbk]: gettext.c: Compile problem

From: Date: Fri, 02 Aug 2002 12:20:21 +0000
Subject: #18369 [Opn->Fbk]: gettext.c: Compile problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15810@lists.php.net to get a copy of this message
ID: 18369 Updated by: iliaa@php.net Reported By: mehran@sonra.net -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: RedHat Linux 7.0 (2.2.16) PHP Version: 4.2.1 & 4.2.2 New Comment: What is the version of gettext that you are using? I am unable to replicate the error you are seeing with 4.3.0 CVS and gettext version 0.10.35 Previous Comments: ------------------------------------------------------------------------ [2002-07-31 03:15:24] mehran@sonra.net When I trying to compile PHP-4.2.1 or PHP-4.2.2 on a RedHat 7.0 with following commands: $ ./configure --with-mysql --with-imap=/utils/imap-2000a --with-apxs=/apache/bin/apxs --with-gettext $ make It stops with the following errors: . . . Making all in gettext make[2]: Entering directory `/utils/php-4.2.1/ext/gettext' make[3]: Entering directory `/utils/php-4.2.1/ext/gettext' /bin/sh /utils/php-4.2.1/libtool --silent --mode=compile gcc -I. -I/utils/php-4.2.1/ext/gettext -I/utils/php-4.2.1/main -I/utils/php-4.2.1 -I/apache/include -I/utils/php-4.2.1/Zend -I/utils/imap-2000a/c-client -I/utils/php-4.2.1/ext/mysql/libmysql -I/utils/php-4.2.1/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I/utils/php-4.2.1/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 `/utils/php-4.2.1/ext/gettext' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/utils/php-4.2.1/ext/gettext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/utils/php-4.2.1/ext' make: *** [all-recursive] Error 1 ------------------------------------------------------------------------ [2002-07-16 10:33:41] mehran@sonra.net When I trying to compile PHP-4.2.1 on a RedHat 7.0 it stops with the following errors: $ ./configure --with-mysql --with-imap=/utils/imap-2000a --with-apxs=/apache/bin/apxs --with-gettext $ make . . . Making all in gettext make[2]: Entering directory `/utils/php-4.2.1/ext/gettext' make[3]: Entering directory `/utils/php-4.2.1/ext/gettext' /bin/sh /utils/php-4.2.1/libtool --silent --mode=compile gcc -I. -I/utils/php-4.2.1/ext/gettext -I/utils/php-4.2.1/main -I/utils/php-4.2.1 -I/apache/include -I/utils/php-4.2.1/Zend -I/utils/imap-2000a/c-client -I/utils/php-4.2.1/ext/mysql/libmysql -I/utils/php-4.2.1/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I/utils/php-4.2.1/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 `/utils/php-4.2.1/ext/gettext' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/utils/php-4.2.1/ext/gettext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/utils/php-4.2.1/ext' make: *** [all-recursive] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18369&edit=1

« previous php.bugs (#15810) next »