ID: 21339 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: Gettext related Operating System: Solaris 8 PHP Version: 4.3.0 New Comment:
I have now experienced this problem too. Found this ticket via groups.google.com and would like to point out the difference in OS: I'm running Red Hat Linux 7.3 (i386) and compiling PHP 4.3.0 also, with the same issue. I did try configure --disable-all --with-gettext and that didn't work either. I may be confused about what is supposed to go into --with-gettext=/blah - is 'blah' a pointer to the library directory (in my case /usr/local/lib) or the source tree? Also, 'make install' (in gettext) installs the gettext libs into /usr/local/lib, but oddly enough, does not install the headers into /usr/local/include and I'm wondering if that might be part of my problem. Configure params are as follows, ./configure \ --enable-discard-path \ --disable-force-cgi-redirect \ --enable-shared \ --disable-static \ --disable-debug \ --disable-rpath \ --enable-pic \ --enable-inline-optimization \ --enable-memory-limit \ --enable-magic-quotes \ --enable-debugger \ --enable-track-vars \ --with-versioning \ --with-mod_charset \ --with-regex=php \ --enable-track-vars \ --enable-trans-sid \ --enable-safe-mode \ --with-ctype \ --with-ttf \ --with-zlib \ --enable-sysvsem \ --enable-sysvshm \ --enable-yp \ --enable-ftp \ --without-aspell \ --without-kerberos \ --with-gettext=/usr \ --without-dba \ --without-db2 \ --without-db3 \ --with-mysql=/usr/mysql \ --without-gdbm (I suspect I'm pointing --with-gettext at the wrong place, but as previously mentioned, --disable-all --with-gettext with no directory didn't work either). Previous Comments: ------------------------------------------------------------------------ [2003-01-27 22:32:10] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-01-14 19:19:45] [EMAIL PROTECTED] Try this configure line: ./configure --disable-all --with-gettext=/path/to/gettext/install/prefix And if that causes the same problem, try this: ./configure --disable-all --with-gettext This way we can rule out the possibility of other extensions being the reason.. ------------------------------------------------------------------------ [2003-01-14 10:14:56] [EMAIL PROTECTED] I've tried gettext 0.10.40 but got the same unreferenced symbol. ------------------------------------------------------------------------ [2003-01-13 18:55:15] [EMAIL PROTECTED] Could you try with an older gettext version? Like 0.10.40, which I know works for sure. ------------------------------------------------------------------------ [2003-01-02 10:28:29] [EMAIL PROTECTED] Compiler: SUNWspro 5.0 (same with gcc 2.95.2) # ./configure --prefix=/lfs/web1/php-4.2.3 --with-apxs=/lfs/web1/apache-1.3.27/bin/apxs --enable-safe-mode --with-exec-dir=/lfs/web1/php-bin --with-openssl=/lfs/web1/openssl-0.9.6g --with-zlib-dir=/lfs/web1/zlib-1.1.4 --enable-calendar --with-gdbm=/lfs/web1/gdbm-1.8.0 --enable-dbx --enable-ftp --with-gd=/lfs/web1/gd-2.0.8 --with-jpeg-dir=/lfs/web1/libjpeg-6b --with-png-dir=/lfs/web1/libpng-1.2.5 --enable-gd-native-ttf --with-mysql=/lfs/web1/mysql-3.23.39 --with-oci8=/lfs/web1/oracle-8.1.7 --with-pdflib=/lfs/web1/pdflib-4.0.3 --with-mm=/lfs/web1/mm-1.1.3 --enable-sockets --enable-sysvsem --enable-sysvshm --with-zip=/lfs/web1/zziplib-0.10.27 --with-gettext=/lfs/web1/gettext-0.11.5 --with-iconv=/lfs/web1/libiconv-1.8 # make (only significant part) /bin/sh libtool --silent --mode=compile cc -Iext/gettext/ -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/ -DPHP_ATOM_INC -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/include -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/main -I/lfs/scratch/apache-1.3.27-build/php-4.3.0 -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/Zend -I/lfs/web1/openssl-0.9.6g/include -I/lfs/web1/zlib-1.1.4/include -I/lfs/web1/gdbm-1.8.0/include -I/lfs/web1/libjpeg-6b/include -I/lfs/web1/libpng-1.2.5/include -I/lfs/web1/gd-2.0.8/include -I/lfs/web1/gettext-0.11.5/include -I/lfs/web1/libiconv-1.8/include -I/lfs/web1/mysql-3.23.39/include/mysql -I/lfs/web1/oracle-8.1.7/rdbms/public -I/lfs/web1/oracle-8.1.7/rdbms/demo -I/lfs/web1/pdflib-4.0.3/include -I/lfs/web1/mm-1.1.3/include -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/xml/expat -I/lfs/web1/zziplib-0.10.27/include -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI -DEAPI -DEAPI_MM -I/lfs/scratch/apache-1.3.27-build/php-4.3.0/TSRM -fast -xtarget=ultra -xarch=v8a -prefer-pic -c /lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c -o ext/gettext/gettext.lo "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 37: undefined symbol: zif_libintl_textdomain "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 37: warning: improper pointer/integer combination: op "=" ...(stripped of a lot of look a likes)... "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 37: non-constant initializer: op "NAME" "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 282: identifier redeclared: zif_libintl_bind_textdomain_codeset current : function(int, pointer to struct _zval_struct {union _zvalue_value {..} value, uchar type, uchar is_ref, ushort refcount}, po... previous: int : "/lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c", line 53 cc: acomp failed for /lfs/scratch/apache-1.3.27-build/php-4.3.0/ext/gettext/gettext.c *** Error code 1 make: Fatal error: Command failed for target `ext/gettext/gettext.lo' I can get the compile working if I move "function_entry php_gettext_functions[]" and "zend_module_entry php_gettext_module_entry" to the end of the gettext.c file but than I get an UNREF for "zm_info_gettext"... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21339&edit=1