Please try latest CVS. Let me know if it works for you.
Get a fresh checkout. And don't apply any patches..
--Jani
On Fri, 17 Aug 2001, Caffeinate The World wrote:
>
>--- Jani Taskinen <sniper@iki.fi> wrote:
>> On 17 Aug 2001 mochaexpress@yahoo.com wrote:
>>
>> >then i applied this patch i sent in before, but it looks like it
>> didn't make it to cvs yet:
>> >
>> > --- iconv/config.m4.orig Mon Jun 25 08:42:44 2001
>> > +++ iconv/config.m4 Mon Jun 25 09:30:37 2001
>> > @@ -29,7 +29,7 @@
>> >
>> > if test -e $ICONV_DIR/lib/libconv.a -o -e
>> $ICONV_DIR/lib/libiconv.so ; then
>> > PHP_ADD_LIBRARY_WITH_PATH(iconv, $ICONV_DIR/lib,
>> ICONV_SHARED_LIBADD)
>> > - AC_CHECK_LIB(iconv, iconv_open, AC_DEFINE(HAVE_ICONV, 1, [
>> ]))
>> > + AC_CHECK_LIB(iconv, libiconv_open, AC_DEFINE(HAVE_LIBICONV,
>> 1, [ ]))
>> > else
>> > AC_CHECK_LIB(c, iconv_open, AC_DEFINE(HAVE_ICONV, 1, [ ]))
>> > fi
>>
>> I changed this.
>>
>> > --- sablot/config.m4.orig Mon Jun 25 10:10:56 2001
>> > +++ sablot/config.m4 Mon Jun 25 10:10:22 2001
>> > @@ -49,7 +49,11 @@
>> > fi
>> >
>> > found_iconv=no
>> > - AC_CHECK_LIB(c, iconv_open, found_iconv=yes)
>> > + if test -e $ICONV_DIR/lib/libconv.a -o -e
>> $ICONV_DIR/lib/libiconv.so ; then
>> > + AC_CHECK_LIB(iconv, libiconv_open, found_iconv=yes)
>> > + else
>> > + AC_CHECK_LIB(c, iconv_open, found_iconv=yes)
>> > + fi
>> > if test "$found_iconv" = "no"; then
>> > if test "$PHP_ICONV" = "no"; then
>> > for i in /usr /usr/local; do
>> > --- xslt/config.m4.orig Mon Jun 25 10:11:57 2001
>> > +++ xslt/config.m4 Mon Jun 25 10:13:13 2001
>> > @@ -65,7 +65,11 @@
>> > fi
>> >
>> > found_iconv=no
>> > - AC_CHECK_LIB(c, iconv_open, found_iconv=yes)
>> > + if test -e $ICONV_DIR/lib/libconv.a -o -e
>> $ICONV_DIR/lib/libiconv.so ; then
>> > + AC_CHECK_LIB(iconv, libiconv_open, found_iconv=yes)
>> > + else
>> > + AC_CHECK_LIB(c, iconv_open, found_iconv=yes)
>> > + fi
>> > if test "$found_iconv" = "no"; then
>> > if test "$PHP_ICONV" = "no"; then
>> > for i in /usr /usr/local; do
>> >
>>
>> why would you need these two config.m4 to be changed ??
>
>the reason was xslt and sablot need to find iconv. on my system the
>functions preceeds with 'lib...' so w/o my patch above it will fail to
>detect the existence of iconv. consequently, if i configure with sablot
>and/or xslt, it will fail during the configure phase giving the error
>that it couldn't find iconv.
>
>> What errors do you get if you don't apply the patch?
>see above.
>
>>
>> --Jani
>>
>> p.s. GD problem: Something is causing the configure to detect that
>> you
>> have freetype support in your gd-lib, but it doesn't have it..
>
>yes i got that figured out. my package version of gd was compiled with
>ft1.8x instead of ft2.x, but ft2.x is installed on my system. as a
>result php detected it and decided to use it.. via my configure option
>to it. i've since removed the ft/ttf options and was able to finish
>with the make process.
>
>IMPORTANT: i submited another bug # 11707 a while back, it was
>critical. testing the snap, it seems as though that bug has been fixed.
>you may want to close it. however, i've yet to verify compile from CVS,
>just the snap thus far.
>
>> >./.libs/libphp4.a(gd.o): In function `php_imagettftext_common':
>>
>>/home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235/ext/gd/gd.c:2748:
>> undefined refer
>> >ence to `gdImageStringFT'
>>
>>/home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235/ext/gd/gd.c:2748:
>> undefined refer
>> >ence to `gdImageStringFT'
>> >collect2: ld returned 1 exit status
>> >gmake[1]: *** [php] Error 1
>> >gmake[1]: Leaving directory
>> `/home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235'
>> >gmake: *** [all-recursive] Error 1
>> >
>> >--- but i think that is a diff problem altoghether. you probably
>> could
>> >close this now. we can open a new one for gd :)
>> >
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! Messenger
>http://phonecard.yahoo.com/
>
>