Bug #15248 Updated: xslt and iconv option cause errors

From: Date: Sat, 09 Mar 2002 18:31:22 +0000
Subject: Bug #15248 Updated: xslt and iconv option cause errors
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2117@lists.php.net to get a copy of this message
ID: 15248 Updated by: sniper@php.net Reported By: ust@online.marine.su -Status: Analyzed +Status: Assigned Bug Type: Compile Failure Operating System: Mac OS X 10.1.2 PHP Version: 4.1.1 Assigned To: markonen New Comment: Making this assigned so Marko won't forget to close this when he fixes this. :) Previous Comments: ------------------------------------------------------------------------ [2002-01-28 02:28:26] ust@online.marine.su guess, you mean issue, which occured because of apple libtool has -twolevel_namespace enabled by default, with can be overriden in prev. PHP build, changing ltconfig. There is another problem, which also have place on PHP 4.0.6 (I don't know whether it true for another versions or not)It's enough to set only one configure otion --enable- xslt and you will get an error. I don't familiar with all this compilation stuff and C, but looks like PHP can not find iconv header or dynlib or static lib and stacks. (I dled and installed libiconv1.7.tar.gz which produce libiconv***.dylib. I also configure libiconv with --enable- -static, but it doesn't help. Any way didn't find a solution to configure PHP with XSLT support. I think that XSLT support is critical for reach content sites driven by PHP... ------------------------------------------------------------------------ [2002-01-27 21:29:22] markonen@php.net This is a known issue and will be corrected in the CVS within the next couple of days. ------------------------------------------------------------------------ [2002-01-27 15:02:16] ust@online.marine.su I need Iconvlib for XSLT suppot in PHP. I build iconvlib without any problems, but when I tried to configure PHP (4.0.6/4.1.0) I got the error messaches checking whether to enable the XSLT Sablotron backend... yes checking libexpat dir for Sablotron XSL support... no checking for iconv_open in -lc... no configure: error: iconv not found Configure options ./configure -with-apxs --with-mysql=/usr/local/mysql -- with-gd=/usr/local --with-jpeg-dir=/usr/local --with-png- dir=/usr/local --with-freetype-dir=/usr/local --with-zlib- dir=/usr --with-xml --enable-xslt --with-xslt-sablot=/usr/ local --with-zlib=/usr --with-pdflib=/usr/lib --enable-wddx --enable-trans-sid --enable-ftp --with-gnu-ld If I run configure without XSLT support I get an error when ran Apache with compiled PHP module [osxserver:/usr/src/php-4.0.6] root# apachectl configtest dyld: /usr/sbin/httpd Undefined symbols: _iconv_module_entry Does it iconv compatibility issues? Or it's bug in PHP sources? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15248&edit=1

« previous php.bugs (#2117) next »