[PHP-DEV] Re: Bug #13487: --with-sablot cannot find reference to iconv From: J Smith (dark_panda <email protected>)
Date: 09/28/01

It seems to have been fixed in the latest CVS I got today. It was messed up
for a while, though. Try using the --with-iconv=/path/to/iconv switch when
running configure. Include the entire patch, not just "--with-iconv". It
worked for me, at any rate.

J

justin <email protected> wrote:

> From: justin <email protected>
> Operating system: Mac OS 10.0.4
> PHP version: 4.0.6
> PHP Bug Type: PHP options/info functions
> Bug description: --with-sablot cannot find reference to iconv
>
> I am trying to build PHP 4.0.6 with the sablot extension on
> Mac OS X. I have been able to successfully build it without
> the --with-sablot flag. However, when I run the
> configuration script with the following flags:
>
> --prefix=/usr
> --sysconfdir=/etc
> --localstatedir=/var
> --mandir=/usr/share/man
> --with apxs=/usr/sbin/apxs
> --with-zlib
> --with-xml
> --with-mysql
> --with-iconv
> --with-sablot
>
> I get the following error:
>
> <snip>
> checking for Sablotron XSL support... yes
> checking libexpat dir for Sablotron 0.50... no
> checking for Sablotron in default path... found in /usr/
> local
> checking for SablotSetEncoding in -lsablot... no
> checking for iconv_open in -lc... no
> configure: error: iconv not found
> </snip>
>
> I have installed libiconv 1.7 and Sablotron works from the
> command line using sabcmd. Based on the bug report in
> http://bugs.php.net/bug.php?id=11654, I tried altering the
> .m4 files mentioned and running buildconf with no avail on
> a PHP snapshot released on 09/27/2001 (200109272235 from
> http://snaps.php.net). Doing this still gives me the same
> error.
>
>
> Thanks,
>
> Justin Makeig

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>