#32007 [Opn->Fbk]: problem with GD + freetype2
| From: | sniper@php.net | Date: | Thu, 17 Feb 2005 12:46:53 +0000 |
| Subject: | #32007 [Opn->Fbk]: problem with GD + freetype2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74221@lists.php.net to get a copy of this message | ||
ID: 32007
Updated by: sniper@php.net
Reported By: bernard dot prevosto at ifremer dot fr
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: solaris 5.8
-PHP Version: 4.3.10
+PHP Version: 4CVS-2005-02-17
New Comment:
Does this work:
# rm config.cache
# ./configure \
--with-gd \
--with-zlib-dir=/home/services/bibli/zlib \
--with-jpeg-dir=/home/services/bibli/jpeglib \
--with-png-dir=/home/services/bibli/pnglib \
--with-tiff-dir=/home/services/bibli/tifflib \
--with-freetype-dir=/home/services/bibli/freetype2
# make clean && make
Previous Comments:
------------------------------------------------------------------------
[2005-02-17 10:45:28] bernard dot prevosto at ifremer dot fr
Sorry but it's no good with this CVS snapshot
the same errors occurs
------------------------------------------------------------------------
[2005-02-17 10:33:56] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2005-02-17 10:29:51] bernard dot prevosto at ifremer dot fr
end of bad config.log
-----------------------
configure:41276: checking whether IMAP works
configure:41309: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS
-R/usr/ucblib -L/usr/ucblib
-R/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
-L/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
-R/home/services/bibli/zlib/lib -L/home/services/bibli/zlib/lib
-R/home/services/bibli/jpeglib/lib -L/home/services/bibli/jpeglib/lib
-R/home/services/bibli/pnglib/lib -L/home/services/bibli/pnglib/lib
-R/home/services/bibli/freetype2/lib
-L/home/services/bibli/freetype2/lib
-R/home1/iletudy/www/httpd/imap/lib -L/home1/iletudy/www/httpd/imap/lib
conftest.c -lc-client -lcrypt -lpam -lfreetype -lpng -lz -ljpeg -lz
-lresolv -lm -ldl -lnsl -lsocket -lgcc 1>&5
configure: failed program was:
#line 41284 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_newbody();
int main() {
mail_newbody();
return 0;
}
good config.log (without freetype2)
-------------------------------------
configure:41276: checking whether IMAP works
configure:41309: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS
-R/usr/ucblib -L/usr/ucblib
-R/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
-L/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
-R/home/services/bibli/zlib/lib -L/home/services/bibli/zlib/lib
-R/home/services/bibli/jpeglib/lib -L/home/services/bibli/jpeglib/lib
-R/home/services/bibli/pnglib/lib -L/home/services/bibli/pnglib/lib
-R/home1/iletudy/www/httpd/imap/lib -L/home1/iletudy/www/httpd/imap/lib
conftest.c -lc-client -lcrypt -lpam -lpng -lz -ljpeg -lz -lresolv -lm
-ldl -lnsl -lsocket -lgcc 1>&5
configure:41339: checking for Informix support
configure:41927: checking for Ingres II support
etc...etc.....
------------------------------------------------------------------------
[2005-02-17 09:39:10] derick@php.net
And what does config.log say?
------------------------------------------------------------------------
[2005-02-17 09:32:54] bernard dot prevosto at ifremer dot fr
Description:
------------
When I configure PHP with GD + freetype2
configure stop with an error upon IMAP
with only GD, it's good
with only freetype2, il's good
Reproduce code:
---------------
./configure \
--with-apache=/home2/beniguet/tmsiric/bpre/anonymous/apache/apache_1.3.33
\
--with-gd \
--with-zlib-dir=/home/services/bibli/zlib \
--with-jpeg-dir=/home/services/bibli/jpeglib \
--with-png-dir=/home/services/bibli/pnglib \
--with-tiff-dir=/home/services/bibli/tifflib \
--with-freetype-dir=/home/services/bibli/freetype2 \
--with-imap=/home1/iletudy/www/httpd/imap \
--without-pear \
--disable-cli \
--with-config-file-path=/home1/iletudy/www/httpd/php
Expected result:
----------------
configure work good without freetype2 or gd
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... yes
Actual result:
--------------
result with freetyp2 + gd
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32007&edit=1