ID: 24402
Comment by: jh at twiddle dot com
Reported By: beckett at beckettmw dot com
Status: Open
Bug Type: Gettext related
Operating System: Mac OS X/Darwin
PHP Version: 5.0.0b1 (beta1)
New Comment:
Perhaps the _INTL_REDIRECT_INLINE in libintl.h?
If it's defined, try to undef it and see if it solves
your problem.
Best regards,
Jeroen
Previous Comments:
------------------------------------------------------------------------
[2003-07-05 13:53:20] page at sca dot uqam dot ca
Also, I tried the config.nice, and configure does its
jobs correctly, and in the compilation, it fails with
the same errors.
Christian Pag�
------------------------------------------------------------------------
[2003-07-05 13:49:11] page at sca dot uqam dot ca
I got:
% grep LIBINTL main/php_config.h
#define HAVE_LIBINTL 1
So everything seems fine for that variable in my
case...
Christian Pag�
------------------------------------------------------------------------
[2003-07-02 20:32:50] beckett at beckettmw dot com
> Can you please post the output of
>
> grep LIBINTL main/php_config.h
#define HAVE_LIBINTL 1
> If it does not say "#define HAVE_LIBINTL 1", can you
> please try:
>
> export LDFLAGS="$LDFLAGS -lintl"
> make distclean
> ./config.nice
Well, grep *did* return that line as expected, but
trying this altenative didn't work. Configure gets this
far:
| checking host system type... powerpc-apple-darwin6.6
| checking for gcc... gcc
| checking whether the C compiler (gcc -lintl)
works... no
| configure: error: installation or configuration
problem: C compiler cannot create executables.
Please let me know if I can run any further tests, or
if you can suggest a way to narrow down the problem.
Thanks for your time!!
------------------------------------------------------------------------
[2003-07-02 15:20:48] [EMAIL PROTECTED]
Can you please post the output of
grep LIBINTL main/php_config.h
(in the php directory). If it does not say "#define HAVE_LIBINTL 1",
can you please try:
export LDFLAGS="$LDFLAGS -lintl"
make distclean
./config.nice
------------------------------------------------------------------------
[2003-07-02 12:13:09] page at sca dot uqam dot ca
I have the same problem using php 4.3.2 with gettext
0.11.5 (from freeware.sgi.com). I am on SGI
IRIX64 6.5.14m. Compilation fails with:
/bin/sh /io/httpd/httpd-2.0.46/php-4.3.2/libtool --
silent --preserve-dup-deps --mode=compile cc -Iext/
gettext/ -I/io/httpd/httpd-2.0.46/php-4.3.2/ext/
gettext/ -DPHP_ATOM_INC -I/io/httpd/httpd-2.0.46/php-
4.3.2/include -I/io/httpd/httpd-2.0.46/php-4.3.2/main -
I/io/httpd/httpd-2.0.46/php-4.3.2 -I/io/httpd/
apache_2.0.46/include -I/io/httpd/httpd-2.0.46/php-
4.3.2/Zend -I/usr/freeware/include -I/usr/freeware/
include/libxml2 -I/usr/local/mysql/include -I/io/httpd/
httpd-2.0.46/php-4.3.2/ext/xml/expat -D_XPG_IV -I/io/
httpd/httpd-2.0.46/php-4.3.2/TSRM -O2 -prefer-pic -c
/io/httpd/httpd-2.0.46/php-4.3.2/ext/gettext/gettext.c
-o ext/gettext/gettext.lo
cc-1020 cc: ERROR File = /io/httpd/httpd-2.0.46/php-
4.3.2/ext/gettext/gettext.c, Line = 37
The identifier "zif_libintl_textdomain" is undefined.
PHP_FE(textdomain, NULL)
^
cc-1020 cc: ERROR File = /io/httpd/httpd-2.0.46/php-
4.3.2/ext/gettext/gettext.c, Line = 38
The identifier "zif_libintl_gettext" is undefined.
PHP_FE(gettext, NULL)
^
cc-1020 cc: ERROR File = /io/httpd/httpd-2.0.46/php-
4.3.2/ext/gettext/gettext.c, Line = 40
The identifier "zif_libintl_dgettext" is undefined.
PHP_FE(dgettext, NULL)
^
cc-1020 cc: ERROR File = /io/httpd/httpd-2.0.46/php-
4.3.2/ext/gettext/gettext.c, Line = 41
The identifier "zif_libintl_dcgettext" is undefined.
PHP_FE(dcgettext, NULL)
^
cc-1020 cc: ERROR File = /io/httpd/httpd-2.0.46/php-
4.3.2/ext/gettext/gettext.c, Line = 42
The identifier "zif_libintl_bindtextdomain" is
undefined.
PHP_FE(bindtextdomain, NULL)
^
cc-1020 cc: ERROR File = /io/httpd/httpd-2.0.46/php-
4.3.2/ext/gettext/gettext.c, Line = 44
The identifier "zif_libintl_ngettext" is undefined.
PHP_FE(ngettext, NULL)
^
cc-1020 cc: ERROR File = /io/httpd/httpd-2.0.46/php-
4.3.2/ext/gettext/gettext.c, Line = 47
The identifier "zif_libintl_dngettext" is undefined.
PHP_FE(dngettext, NULL)
^
cc-1020 cc: ERROR File = /io/httpd/httpd-2.0.46/php-
4.3.2/ext/gettext/gettext.c, Line = 50
The identifier "zif_libintl_dcngettext" is undefined.
PHP_FE(dcngettext, NULL)
^
cc-1020 cc: ERROR File = /io/httpd/httpd-2.0.46/php-
4.3.2/ext/gettext/gettext.c, Line = 53
The identifier "zif_libintl_bind_textdomain_codeset"
is undefined.
PHP_FE(bind_textdomain_codeset, NULL)
^
9 errors detected in the compilation of "/io/httpd/
httpd-2.0.46/php-4.3.2/ext/gettext/gettext.c".
gnumake: *** [ext/gettext/gettext.lo] Error 1
------------------------------------------------------------------------
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/24402
--
Edit this bug report at http://bugs.php.net/?id=24402&edit=1