ok now its spits the dummy about freetype

In file included from
/usr/src/sources/php/php-4.3.0RC3/ext/gd/libgd/gdft.c:49:
/usr/local/etc/freetype/include/freetype2/freetype/freetype.h:41:22:
ft2build.h: No such file or directory
/usr/local/etc/freetype/include/freetype2/freetype/freetype.h:42:10:
#include expects "FILENAME" or <FILENAME>
/usr/local/etc/freetype/include/freetype2/freetype/freetype.h:43:10:
#include expects "FILENAME" or <FILENAME>
/usr/local/etc/freetype/include/freetype2/freetype/freetype.h:44:10:
#include expects "FILENAME" or <FILENAME>

and then all these errors for 1000 lines which would be silly to post

the end looks like this

union
/usr/src/sources/php/php-4.3.0RC3/ext/gd/libgd/gdft.c:1032: request for
member `yMax' in something not a structure or
union
/usr/src/sources/php/php-4.3.0RC3/ext/gd/libgd/gdft.c:1033: request for
member `xMin' in something not a structure or
union
/usr/src/sources/php/php-4.3.0RC3/ext/gd/libgd/gdft.c:1033: request for
member `yMax' in something not a structure or
union
make: *** [ext/gd/libgd/gdft.lo] Error 1

"Ilia A." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This is a different bug (xpm) caused by a bug in the external GD library,
this
> particular bug has been solved in the CVS. Unless you've patched your GD
with
> gif write support you have nothing to gain from not using the bundled
> library, which offers more functionality and is more stable. The problem
with
> free/gd_free is likely due to you having 2 sets of the GD library on your
> computer. This confuses the check, because the headers do not correspond
with
> the library itself.
>
> Ilia
>
> On December 12, 2002 04:37 pm, electroteque wrote:
> > i'm sorry this is not fixed , i have RC03
> >
> > In file included from /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:89:
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c: In function
> > `_php_image_output_ctx':
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:73: structure has no
> > member named `free'
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:105: structure has no
> > member named `free'
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function
> > `_php_image_type':
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1156: structure has no
member
> > named `free'
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1163: structure has no
member
> > named `free'
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function
> > `_php_image_create_from':
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1345: structure has no
member
> > named `free'
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment
> > makes pointer from integer without a cast
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function
> > `zif_imagecreatefromxpm':
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433:
`gdImageCreateFromXpm'
> > undeclared (first use in this function)
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared
> > identifier is reported only once
> >
> > /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it
> > appears in.)
> >
> >
> >
> > i can honestly say checking for a particular version will not help
instead
> > check for versions less than the version that requires gd_free which is
> > gd-2.0.8
> >
> > #if HAVE_LIBGD204
> >
> > io_ctx->gd_free(io_ctx);
> >
> > #else
> >
> > io_ctx->free(io_ctx);
> >
> > #endif
> >
> > i cant see where this define is coming from HAVE_LIBGD204 ??
> >
> >
> >
> > <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> >
> > > ID:               20972
> > >  Updated by:       [EMAIL PROTECTED]
> > >  Reported By:      [EMAIL PROTECTED]
> > > -Status:           Open
> > > +Status:           Closed
> > >  Bug Type:         Compile Failure
> > >  Operating System: Linux - 2.4.18 - SuSE 7.2
> > >  PHP Version:      4.3.0RC3
> > >  New Comment:
> > >
> > > This bug has been fixed in CVS.
> > >
> > > In case this was a PHP problem, snapshots of the sources are packaged
> > > every three hours; this change will be in the next snapshot. You can
> > > grab the snapshot at http://snaps.php.net/.
> > >
> > > In case this was a documentation problem, the fix will show up soon at
> > > http://www.php.net/manual/.
> > >
> > > In case this was a PHP.net website problem, the change will show
> > > up on the PHP.net site and on the mirror sites in short time.
> > >
> > > Thank you for the report, and for helping us make PHP better.
> > >
> > >
> > >
> > >
> > > Previous Comments:
> >
> ------------------------------------------------------------------------
> > >
> > > [2002-12-12 13:46:02] [EMAIL PROTECTED]
> > >
> > > /bin/sh libtool --silent --mode=compile gcc -I/usr/local/src/gd-1.8.4/
> > > -Iext/gd/ -I/usr/local/src/apache2/php-4.3.0RC3/ext/gd/ -DPHP_ATOM_INC
> > > -I/usr/local/src/apache2/php-4.3.0RC3/include
> > > -I/usr/local/src/apache2/php-4.3.0RC3/main
> > > -I/usr/local/src/apache2/php-4.3.0RC3 -I/usr/local/apache2/include
> > > -I/usr/local/src/apache2/php-4.3.0RC3/Zend -I/usr/local/ssl/include
> > > -I/usr/local/include -I/usr/local/src/gd-1.8.4/ -I/usr/include/mysql
> > > -I/usr/local/verisign/payflowpro/linux/lib
> > > -I/usr/local/src/apache2/php-4.3.0RC3/ext/xml/expat
> > > -I/usr/local/src/apache2/php-4.3.0RC3/TSRM  -g -O2  -prefer-pic -c
> > > /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c -o ext/gd/gd.lo
> > > /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c: In function
> > > `_php_image_create_from':
> > > /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c:1363: warning:
> > > assignment makes pointer from integer without a cast
> > > /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c: In function
> > > `zif_imagecreatefromxpm':
> > > /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c:1433:
> > > `gdImageCreateFromXpm' undeclared (first use in this function)
> > > /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared
> > > identifier is reported only once
> > > /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c:1433: for each
function
> > > it appears in.)
> > > make: *** [ext/gd/gd.lo] Error 1
> > >
> >
> ------------------------------------------------------------------------
> > >
> > >
> > > --
> > > Edit this bug report at http://bugs.php.net/?id=20972&edit=1
>



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to