Re: Iconv
| From: | Masaki Fujimoto | Date: | Thu, 08 Aug 2002 06:48:03 +0000 |
| Subject: | Re: Iconv | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86621@lists.php.net to get a copy of this message | ||
maybe this patch will do (although not so sophisticated):
[masaki-f@nxweb.dyndns.org] cvs diff -u Makefile.global
Index: Makefile.global
===================================================================
RCS file: /repository/php4/Makefile.global,v
retrieving revision 1.22
diff -u -r1.22 Makefile.global
--- Makefile.global 6 Aug 2002 22:05:38 -0000 1.22
+++ Makefile.global 8 Aug 2002 06:42:13 -0000
@@ -68,6 +68,7 @@
distclean: clean
rm -f config.cache config.log config.status Makefile.objects Makefile.fragments libtool
main/php_config.h stamp-h php4.spec sapi/apache/libphp4.module buildmk.stamp
+ egrep define'.*include/php' configure|sed 's/.*>//'|xargs rm -f
find . -name Makefile | xargs rm -f
.PHONY: all clean install distclean test
if someone w/ karma would evaluate this one and commit, i do not need
karma:)
Regards,
Masaki Fujimoto
fujimoto@php.net
On Thu, 08 Aug 2002 13:27:39 +0900
Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> Could anyone give him a karma for php4 tree?
> His account is
>
> fujimoto
>
> Thank you.
>
> --
> Yasuo Ohgaki
>
> Masaki Fujimoto wrote:
> > yes, an empty include/php_iconv_supports_errno.h should be created at
> > the first point of the configure script, so if there does not exist one,
> > something should be wrong...
> >
> > BTW, iconv could causes another (trivial) problem.
> >
> > 1) ./configure --with-iconv;make;
> > [changing mind...]
> > 2) make distclean;./configure;make
> >
> > second "make" causes a following error:
> >
> > ext/standard/info.o: In function `php_print_info':
> > /home/masaki-f/cvs/php4/ext/standard/info.c:233: undefined reference to
> > `iconv_globals'
> > collect2: ld returned 1 exit status
> >
> > this may be because "make distclean" does not clear the value of
> > include/php_have_iconv.h. but, i do not have karma to fix this:(
> >
> > Regards,
> >
> > Masaki Fujimoto
> > fujimoto@php.net
> >
> > On Wed, 07 Aug 2002 17:38:01 +0200
> > marcus.boerger@t-online.de (Marcus Bvrger) wrote:
> >
> >
> >>At 16:39 07.08.2002, James Cox wrote:
> >>
> >>>Joey (TML) pointed out to me that iconv is not currently building on head.
> >>>
> >>>Apparently iconv.c includes "php_iconv_supports_errno.h" which
> >>>doesn't
> >>>exist or get made at any point.
> >>>
> >>>Yasuo, this was your last commit here that broke it...
> >>>
> >>> -- James
> >>
> >>The file is in include and iconv works just fine.
> >>
> >>marcus