Bug #18369: gettext.c: Compile problem
| From: | mehran at sonra dot net | Date: | Tue, 16 Jul 2002 14:33:42 +0000 |
| Subject: | Bug #18369: gettext.c: Compile problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14315@lists.php.net to get a copy of this message | ||
From: mehran@sonra.net
Operating system: RedHat Linux 7.0 (2.2.16)
PHP version: 4.2.1
PHP Bug Type: Gettext related
Bug description: gettext.c: Compile problem
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 bug report at http://bugs.php.net/?id=18369&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18369&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18369&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18369&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18369&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18369&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18369&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18369&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18369&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18369&r=globals