#18369 [Opn]: gettext.c: Compile problem

From: Date: Wed, 31 Jul 2002 07:15:25 +0000
Subject: #18369 [Opn]: gettext.c: Compile problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15646@lists.php.net to get a copy of this message
ID: 18369 User updated by: mehran@sonra.net Reported By: mehran@sonra.net Status: Open -Bug Type: Gettext related +Bug Type: Compile Failure Operating System: RedHat Linux 7.0 (2.2.16) -PHP Version: 4.2.1 +PHP Version: 4.2.1 & 4.2.2 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#15646) next »