Re: Bug #13487: --with-sablot cannot find reference to iconv
| From: | J Smith | Date: | Fri, 28 Sep 2001 22:41:48 +0000 |
| Subject: | Re: Bug #13487: --with-sablot cannot find reference to iconv | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66800@lists.php.net to get a copy of this message | ||
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@makeig.com wrote:
> From: justin@makeig.com
> 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