php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18369 gettext.c: Compile problem
Submitted: 2002-07-16 10:33 UTC Modified: 2002-09-09 01:00 UTC
Votes:6
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:5 (100.0%)
From: mehran at sonra dot net Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.2.1 & 4.2.2 OS: RedHat Linux 7.0 (2.2.16)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-07-16 10:33 UTC] mehran at sonra dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-31 03:15 UTC] mehran at sonra dot 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-08-02 08:20 UTC] iliaa@php.net
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
 [2002-08-04 00:35 UTC] mehran at sonra dot net
I'm using gettext-0.10.35-23
 [2002-09-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 16:01:27 2024 UTC