ID:               48195
 Comment by:       crackinggear at hotmail dot com
 Reported By:      rickdunn at chez dot com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: MacOSX 10.6.2
 PHP Version:      5.3.1
 Assigned To:      scottmac
 New Comment:

Having the same problem I thought it might help if I posted my results
of those two commands too:

PHP-version: php5.3-200912221930
OS: Mac OS X 10.6.2
System iconv: 1.11

---cat php_have_bsd_iconv.h \ (etc...)---
#define HAVE_ICONV 1
#define HAVE_LIBICONV 1
#define ICONV_SUPPORTS_ERRNO 1
#define PHP_ICONV_H_PATH </usr/local/include/iconv.h>
#define PHP_ICONV_IMPL "libiconv"

---grep ICONV main/php_config.h | grep define---
#define HAVE_LIBICONV 1
#define HAVE_LIBICONV 1
#define HAVE_ICONV 1
#define PHP_ICONV_IMPL "libiconv"
#define PHP_ICONV_IMPL "libiconv"
#define PHP_ICONV_IMPL "libiconv"
#define PHP_ICONV_IMPL "libiconv"
#define ICONV_SUPPORTS_ERRNO 1
#define ICONV_SUPPORTS_ERRNO 1
#define ICONV_SUPPORTS_ERRNO 1
#define PHP_ICONV_H_PATH </usr/local/include/iconv.h>
#define HAVE_LIBICONV 1
#define HAVE_LIBICONV 1
#define HAVE_ICONV 1

Hope it helps in some way to resolve the problem...


Previous Comments:
------------------------------------------------------------------------

[2009-12-22 15:10:49] rickdunn at chez dot com

I don't use 5.2.*, so this is just a 5.3.* issue for me.  Here's the 
output requested:

The grep results...

#define HAVE_ICONV 1
#define PHP_ICONV_IMPL "libiconv"
#define PHP_ICONV_IMPL "libiconv"
#define PHP_ICONV_IMPL "libiconv"
#define PHP_ICONV_IMPL "libiconv"
#define ICONV_SUPPORTS_ERRNO 1
#define ICONV_SUPPORTS_ERRNO 1
#define ICONV_SUPPORTS_ERRNO 1
#define PHP_ICONV_H_PATH </usr/include/iconv.h>
#define HAVE_ICONV 1

And the cat results...

#define HAVE_ICONV 1
#define HAVE_LIBICONV 1
#define ICONV_SUPPORTS_ERRNO 1
#define PHP_ICONV_H_PATH </usr/include/iconv.h>
#define PHP_ICONV_IMPL "libiconv"

------------------------------------------------------------------------

[2009-12-22 14:37:33] [email protected]

I deleted the irrelevant comments from this report, it was getting too
noisy. Now, is it still so that compiling PHP 5.2.12 works and only 5.3
fails?

Please show the output of these commands after running configure (for
the failed build :)

# grep ICONV main/php_config.h | grep define

and 

# cat php_have_bsd_iconv.h \
php_have_glibc_iconv.h \
php_have_ibm_iconv.h \
php_have_iconv.h \
php_have_libiconv.h \
php_iconv_supports_errno.h \
php_php_iconv_h_path.h \
php_php_iconv_impl.h


------------------------------------------------------------------------

[2009-12-22 12:22:22] rickdunn at chez dot com

The snapshot make failed with the usual message. "Undefined symbols:
  "_libiconv", referenced from:", etc.

------------------------------------------------------------------------

[2009-12-16 08:31:02] [email protected]

That's just fixing a symptom, not the bug.

------------------------------------------------------------------------

[2009-12-15 22:32:37] rickdunn at chez dot com

Apple has a patch for the PHP source iconv.c file that fixes this 
problem:

http://www.opensource.apple.com/source/apache_mod_php/apache_mod_php-
53/patches/iconv.patch

------------------------------------------------------------------------

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/48195

-- 
Edit this bug report at http://bugs.php.net/?id=48195&edit=1

Reply via email to