configure errors: PHP with sablot on mac os x
| From: | Karl Long | Date: | Fri, 21 Sep 2001 21:57:55 +0000 |
| Subject: | configure errors: PHP with sablot on mac os x | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68226@lists.php.net to get a copy of this message | ||
Hi,
I'm configuring PHP on my mac os X box and have been working for days
reading all the lists and articles that have been written about this and I
have got through a lot of issues so far but now I'm at an impass.
I've compiled all the extentions that I need (expat, sablotron etc.) but now
in the home stretch I'm configuring PHP and I'm getting some errors related
to "iconv".
If I remove the --with-sablot flag the configure runs fine, I'm baffled,
thanks for any help,
karl
so these are my config flags
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--mandir=/usr/share/man --with-sablot --with-mysql --with-apxs
--with-zlib-dir=/usr/local --disable-pear
and when it gets to configuring extentions:
checking for recode support... no
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... yes
checking for iconv_open in -lc... no
configure: error: iconv not found
So I found out what iconv was and downloaded it from :
http://freshmeat.net/redir/libiconv/5664/url_tgz/libiconv-1.7.tar.gz
went through the config, make, make install etc
so just for fun I thought I'd try --with-iconv=/usr/local:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--mandir=/usr/share/man --with-sablot --with-mysql --with-apxs
--with-zlib-dir=/usr/local --disable-pear --with-iconv=/usr/local
<snip>
checking for Hyperwave support... no
checking for ICAP support... no
checking for iconv support... yes
checking for iconv_open in -lc... no
checking for IMAP support... no
<snip>
checking whether to include pspell support... no
checking whether to include QDOM support... no
checking for libedit readline replacement... no
checking for readline support... no
checking for recode support... no
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... yes
checking for iconv_open in -lc... (cached) no
configure: error: iconv not found