#32007 [Fbk-Opn]: problem with GD + freetype2

2005-02-21 Thread bernard dot prevosto at ifremer dot fr
 ID:   32007
 User updated by:  bernard dot prevosto at ifremer dot fr
 Reported By:  bernard dot prevosto at ifremer dot fr
-Status:   Feedback
+Status:   Open
 Bug Type: GD related
 Operating System: solaris 5.8
 PHP Version:  4CVS-2005-02-17
 New Comment:

The debug.log file:
--

CONFIGURE:   './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'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:-D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:   
INCLUDES:-I$(top_builddir)/Zend -I/home/services/bibli/zlib/include
-I/home/services/bibli/jpeglib/include
-I/home/services/bibli/pnglib/include
-I/home/services/bibli/freetype2/include
-I/home/services/bibli/freetype2/include/freetype2
LDFLAGS: -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
LIBS:   -lfreetype -lpng -lz -ljpeg -lz -lresolv -lm -ldl -lnsl
-lsocket  -lgcc
DLIBS:  
SAPI:   cgi
PHP_RPATHS:  /usr/ucblib
/home/services/logiciels/compilateurs/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.7/3.3
/home/services/bibli/zlib/lib /home/services/bibli/jpeglib/lib
/home/services/bibli/pnglib/lib /home/services/bibli/freetype2/lib
uname -a:   SunOS iletudy 5.8 Generic_108528-29 sun4u sparc
SUNW,Sun-Fire-880

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 conftest.c -lfreetype -lpng -lz
-ljpeg -lz -lresolv -lm -ldl -lnsl -lsocket  -lgcc 15
ld.so.1: ./conftest: fatal: libgcc_s.so.1: open failed: No such file or
directory


Previous Comments:


[2005-02-21 19:43:31] [EMAIL PROTECTED]

Well, what was in the debug.log file...?




[2005-02-17 14:19:12] bernard dot prevosto at ifremer dot fr

Sorry

without IMAP i have:

checking for extended DES crypt... no
checking for MD5 crypt... no
Killed
checking for Blowfish crypt... no
checking whether flush should be called explicitly after a buffered
io... yes

without freetype2 or GD i have not tke ligne KILLED

at the end of configure in this case i have:
++
|   *** ATTENTION ***|
||
| Something is likely to be messed up here, because the configure|
| script was not able to detect a simple feature on your platform.   |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
||
| If you are unable to fix this, send the file debug.log to the  |
| php-install@lists.php.net mailing list and include appropiate  |
| information about your setup.  |

i have not without freetype2 or  GD



but the make work fine



[2005-02-17 14:05:59] [EMAIL PROTECTED]

I asked you to compile WITHOUT imap!!
Please do that..




[2005-02-17 14:01:17] bernard dot prevosto at ifremer dot fr

NO

always the same error with configure

./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-imap=/home1/iletudy/www/httpd/imap \
--with-freetype-dir=/home/services/bibli/freetype2



checking for Hyperwave support... no
checking for iconv support... no
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: 

#32007 [Fbk-Opn]: problem with GD + freetype2

2005-02-17 Thread bernard dot prevosto at ifremer dot fr
 ID:   32007
 User updated by:  bernard dot prevosto at ifremer dot fr
 Reported By:  bernard dot prevosto at ifremer dot fr
-Status:   Feedback
+Status:   Open
 Bug Type: *Configuration Issues
 Operating System: solaris 5.8
 PHP Version:  4.3.10
 New Comment:

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 15
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 15
configure:41339: checking for Informix support
configure:41927: checking for Ingres II support
etc...etc.


Previous Comments:


[2005-02-17 09:39:10] [EMAIL PROTECTED]

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=32007edit=1


#32007 [Fbk-Opn]: problem with GD + freetype2

2005-02-17 Thread bernard dot prevosto at ifremer dot fr
 ID:   32007
 User updated by:  bernard dot prevosto at ifremer dot fr
 Reported By:  bernard dot prevosto at ifremer dot fr
-Status:   Feedback
+Status:   Open
 Bug Type: GD related
 Operating System: solaris 5.8
 PHP Version:  4.3.10
 New Comment:

Sorry but it's no good with this CVS snapshot

the same errors occurs


Previous Comments:


[2005-02-17 10:33:56] [EMAIL PROTECTED]

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 15
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 15
configure:41339: checking for Informix support
configure:41927: checking for Ingres II support
etc...etc.



[2005-02-17 09:39:10] [EMAIL PROTECTED]

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=32007edit=1


#32007 [Fbk-Opn]: problem with GD + freetype2

2005-02-17 Thread bernard dot prevosto at ifremer dot fr
 ID:   32007
 User updated by:  bernard dot prevosto at ifremer dot fr
 Reported By:  bernard dot prevosto at ifremer dot fr
-Status:   Feedback
+Status:   Open
 Bug Type: GD related
 Operating System: solaris 5.8
 PHP Version:  4CVS-2005-02-17
 New Comment:

NO

always the same error with configure

./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-imap=/home1/iletudy/www/httpd/imap \
--with-freetype-dir=/home/services/bibli/freetype2



checking for Hyperwave support... no
checking for iconv support... no
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.


Previous Comments:


[2005-02-17 13:46:52] [EMAIL PROTECTED]

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





[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] [EMAIL PROTECTED]

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 15
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 15
configure:41339: checking for Informix support
configure:41927: checking for Ingres II support
etc...etc.



[2005-02-17 09:39:10] [EMAIL PROTECTED]

And what does config.log say?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32007

-- 
Edit this bug report at http://bugs.php.net/?id=32007edit=1


#32007 [Fbk-Opn]: problem with GD + freetype2

2005-02-17 Thread bernard dot prevosto at ifremer dot fr
 ID:   32007
 User updated by:  bernard dot prevosto at ifremer dot fr
 Reported By:  bernard dot prevosto at ifremer dot fr
-Status:   Feedback
+Status:   Open
 Bug Type: GD related
 Operating System: solaris 5.8
 PHP Version:  4CVS-2005-02-17
 New Comment:

Sorry

without IMAP i have:

checking for extended DES crypt... no
checking for MD5 crypt... no
Killed
checking for Blowfish crypt... no
checking whether flush should be called explicitly after a buffered
io... yes

without freetype2 or GD i have not tke ligne KILLED

at the end of configure in this case i have:
++
|   *** ATTENTION ***|
||
| Something is likely to be messed up here, because the configure|
| script was not able to detect a simple feature on your platform.   |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
||
| If you are unable to fix this, send the file debug.log to the  |
| php-install@lists.php.net mailing list and include appropiate  |
| information about your setup.  |

i have not without freetype2 or  GD



but the make work fine


Previous Comments:


[2005-02-17 14:05:59] [EMAIL PROTECTED]

I asked you to compile WITHOUT imap!!
Please do that..




[2005-02-17 14:01:17] bernard dot prevosto at ifremer dot fr

NO

always the same error with configure

./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-imap=/home1/iletudy/www/httpd/imap \
--with-freetype-dir=/home/services/bibli/freetype2



checking for Hyperwave support... no
checking for iconv support... no
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.



[2005-02-17 13:46:52] [EMAIL PROTECTED]

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





[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] [EMAIL PROTECTED]

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





The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32007

-- 
Edit this bug report at http://bugs.php.net/?id=32007edit=1