php-install Digest 18 Apr 2002 05:45:25 -0000 Issue 794

Topics (messages 6664 through 6665):

FreeBSD + gd + PHP4.1.2
        6664 by: Kasper

Query about php4.2 cr4 and apache 2.0.35
        6665 by: Tib

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
I have some problems with GD and php4.1.2.

I have FreeBSD and i have gd zlib freetype jpeg and all that is required
installed.

My line is like this,

/configure --with-pgsql --with-apxs=/usr/local/apache/bin/apxs --with-gd-dir
=/usr/local/lib/gd --with-zlib --with-png-dir=/usr/local/lib --with-jpeg-dir
=/usr/local/lib --with-freetype-dir=/usr/local/lib

I have also tried

/configure --with-pgsql --with-apxs=/usr/local/apache/bin/apxs --with-gd --w
ith-zlib --with-png --with-jpeg

--with-freetype

And the error i get is this one,

In file included from internal_functions.c:33:

/home/miffo/php/ext/gd/php_gd.h:33: gd.h: No such file or directory

*** Error code 1

Stop in /home/miffo/php/main.

*** Error code 1

Stop in /home/miffo/php/main.

*** Error code 1

Stop in /home/miffo/php.

And when configuring php says,

checking whether to include GD support... yes

checking whether to enable truetype string function in gd... no

checking for the location of libjpeg... yes

checking for jpeg_read_header in -ljpeg... (cached) yes

checking for the location of libpng... yes

checking for png_info_init in -lpng... (cached) yes

checking for the location of libXpm... no

If configure fails try --with-xpm-dir=<DIR>

checking for freetype(2)... yes

checking whether to include include FreeType 1.x support... no

checking whether to include T1lib support... no

checking for gdImageString16 in -lgd... (cached) yes

checking for gdImagePaletteCopy in -lgd... (cached) yes

checking for gdImageCreateFromPng in -lgd... (cached) yes

checking for gdImageCreateFromGif in -lgd... (cached) yes

checking for gdImageGif in -lgd... (cached) no

checking for gdImageWBMP in -lgd... (cached) yes

checking for gdImageCreateFromJpeg in -lgd... (cached) yes

checking for gdImageCreateFromXpm in -lgd... (cached) yes

checking for gdImageCreateFromGd2 in -lgd... (cached) yes

checking for gdImageCreateTrueColor in -lgd... (cached) no

checking for gdImageSetTile in -lgd... (cached) yes

checking for gdImageSetBrush in -lgd... (cached) yes

checking for gdImageStringTTF in -lgd... (cached) yes

checking for gdImageStringFT in -lgd... (cached) yes

checking for gdImageStringFTEx in -lgd... (cached) no

checking for gdImageColorClosestHWB in -lgd... (cached) yes

checking for gdImageColorResolve in -lgd... (cached) yes

checking for gdImageGifCtx in -lgd... (cached) no



Whats wrong ??

/K



--- End Message ---
--- Begin Message ---
I configured/compiled apache2 with the following options:

--enable-ssl --enable-so --enable-rewrite --enable-modules=info

I then configured/compiled php with these options:

--enable-track-vars --enable-force-cgi-redirect --with-gettext 
--with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl

I received no errors during compilation of either part, but when I try to 
load the libphp4.so module, apache says it starts but bombs out and I 
can't figure out why since it doesn't write to a log file and doesn't 
complain about anything at startup.

I've checked and made sure that the apache2 installation runs fine without 
the php module, so it's just the php module that's doing it. Ideas? Is 
there any way I can get some sort of debug info out of apache?

<EOL>
Tib

--- End Message ---

Reply via email to