I managed to install php with no problems on several boxes, but one machine has an issue (solaris 7 on sparc) using the build in GD library. It is odd in that if I compare the output from "configure" between this particular box, and another which had a successfull "make" there is no issue.
Configure was run with these options. ./configure --enable-force-cgi-redirect=yes --enable-memory-limit=yes --enable-safe-mode=yes --enable-sysvsem=yes --enable-sysvshm=yes --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-zlib=/usr/local --enable-wddx --enable-calendar --enable-ftp --with-db --enable-gdbm=/usr/local/lib --with-freetype-dir=/usr/local/lib --with-ttf=/usr/local/lib --with-png-dir=/usr/local Thoughts as to whats going on? make gcc -I/home/gregstew/php-4.3.0/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -Iext/gd/ -I/home/gregstew/php-4.3.0/ext/gd/ -DPHP_ATOM_INC -I/home/gregstew/php-4.3.0/include -I/home/gregstew/php-4.3.0/main -I/home/gregstew/php-4.3.0 -I/home/gregstew/php-4.3.0/Zend -I/usr/local/include -I/usr/local/include/freetype2 -I/home/gregstew/php-4.3.0/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/home/gregstew/php-4.3.0/TSRM -g -O2 -c /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c -o ext/gd/libgd/gdft.o && echo > ext/gd/libgd/gdft.lo In file included from /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:50: /usr/local/include/freetype2/freetype/ftglyph.h:104: parse error before `FT_Library' /usr/local/include/freetype2/freetype/ftglyph.h:104: warning: no semicolon at end of struct or union /usr/local/include/freetype2/freetype/ftglyph.h:106: parse error before `format' /usr/local/include/freetype2/freetype/ftglyph.h:106: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:107: parse error before `advance' /usr/local/include/freetype2/freetype/ftglyph.h:107: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:109: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:156: parse error before `FT_GlyphRec' /usr/local/include/freetype2/freetype/ftglyph.h:156: warning: no semicolon at end of struct or union /usr/local/include/freetype2/freetype/ftglyph.h:157: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:158: parse error before `top' /usr/local/include/freetype2/freetype/ftglyph.h:158: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:159: parse error before `bitmap' /usr/local/include/freetype2/freetype/ftglyph.h:159: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:161: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:204: parse error before `FT_GlyphRec' /usr/local/include/freetype2/freetype/ftglyph.h:204: warning: no semicolon at end of struct or union ---- snip ---- /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c: In function `fontTest': /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:327: `a' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:327: (Each undeclared identifier is reported only once /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:327: for each function it appears in.) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:327: parse error before `)' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:328: `b' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:328: parse error before `)' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c: In function `fontFetch': /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:336: `a' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:337: `b' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:337: parse error before `)' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:345: `FT_Error' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:346: `FT_CharMap' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:349: parse error before `)' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:356: `fontsearchpath' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:359: `fontlist' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:364: `name' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:364: `strtok_ptr' undeclared (first use in this function) --- snip --- /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:637: request for member `pitch' in something not a structure or union /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:638: request for member `pixel_mode' in something not a structure or union /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:647: request for member `width' in something not a structure or union /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:649: request for member `pixel_mode' in something not a structure or union /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:656: request for member `buffer' in something not a structure or union /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:657: request for member `num_grays' in something not a structure or union /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:658: request for member `num_grays' in something not a structure or union /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:660: request for member `pixel_mode' in something not a structure or union /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:662: request for member `buffer' in something not a structure or union /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:690: `tc_cache' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c: At top level: /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:700: parse error before `v1' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c: In function `gdroundupdown': /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:702: `updown' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:703: `v1' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c: At top level: /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:712: parse error before `library' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:712: warning: data definition has no type or storage class /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c: In function `gdImageStringFTEx': /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:738: `FT_BBox' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:738: parse error before `bbox' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:739: `FT_Matrix' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:740: `FT_Vector' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:743: `FT_GlyphSlot' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:743: parse error before `slot' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:744: `FT_Error' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:745: `FT_Bool' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:746: `FT_UInt' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:751: `font' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:752: `fontkey_t' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:752: parse error before `fontkey' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:771: `tc_cache' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:789: `fontkey' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:791: parse error before `)' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:798: `slot' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:798: invalid type argument of `->' /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:800: `FT_F26Dot6' undeclared (first use in this function) --- snip --- /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:1001: `bm' undeclared (first use in this function) /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:1011: dereferencing pointer to incomplete type /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:1012: dereferencing pointer to incomplete type make: *** [ext/gd/libgd/gdft.lo] Error 1 root@gregbox:~gregstew/php-4.3.0:# exit