Hello php-install,

I try to set up php with gd.
my configuration scrips is:

./configure     --prefix=/usr/local/httpd/php --with-mysql \
                --with-apxs=/usr/local/httpd/bin/apxs \
                --with-exec-dir=/usr/local/httpd/php \
                --with-openssl=/usr/ \
                --with-zlib  \
                --with-gd=/usr/local \
                --with-jpeg-dir=/usr/local/ --with-png-dir=/usr/local/ \
                --with-tiff-dir=/usr/local/ --with-regex=system  \
                --with-freetype \
                --enable-gd-native-ttf \
                --with-ttf

it outputs:

-------------------- output --------------------------------------
[..skiped..]

checking for GD support... yes
checking for the location of libjpeg... /usr/local/
checking for the location of libpng... /usr/local/
checking for the location of libXpm... no
checking for FreeType 1.x support... yes
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateFromGd2 in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageEllipse in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking for gdImageStringTTF in -lgd... no
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageGifCtx in -lgd... no
checking for gdCacheCreate in -lgd... no
checking for gdImageCreate in -lgd... no
configure: error: GD build test failed. Please check the config.log for details.

-------------------- /output ------------------------------------

and dies.

in config.log there are a lot of messages like this one:

-------------------- config.log ---------------------------------
[..skipped..]
/tmp/cc9M5RXA.o: In function `main':
/usr/local/src/php-4.3.4/configure(.text+0x7): undefined reference to `cuserid'
configure: failed program was:
#line 14408 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char cuserid(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char cuserid();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_cuserid) || defined (__stub___cuserid)
choke me
#else
cuserid();
#endif

; return 0; }
[..skipped..]
-------------------- /config.log ---------------------------------

Please, help me to dial with it!


-- 
Best regards,
 Almi                          mailto:[EMAIL PROTECTED]

Reply via email to