[PHP-DEV] Bug #14553 Updated: cannot find -lX11 for GB compilation.

2001-12-16 Thread ediaz

ID: 14553
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: GD related
Operating System: linux suse 7.1
PHP Version: 4.1.0
New Comment:

This is a descripciĆ³n of the xshared-4.0.2
Since some programs were linked with the X11 libraries but do work on a text
console as well (e.g. emacs), we have put the X11 dynamic libraries into an
extra package so you can use such programs without installing the entire
X11 system.

and this is the list of files.

servidor:/usr/X11R6/lib # ls
.   libX11.so.6libXext.so.6.4   libXp.so.6 libXtst.so.6.1  
 libdps.so.1
..  libX11.so.6.2  libXfont.so.1libXp.so.6.2   libXv.so.1  
 libdps.so.1.0
X11 libXIE.so.6libXfont.so.1.3  libXpm.so.4libXv.so.1.0
 libdpstk.so.1
libICE.so.6 libXIE.so.6.0  libXft.so.1  libXpm.so.4.11 libXxf86dga.so.1
 libdpstk.so.1.0
libICE.so.6.3   libXaw.so.6libXft.so.1.0libXrender.so.1libXxf86dga.so.1.0  
 libpsres.so.1
libPEX5.so.6libXaw.so.6.1  libXi.so.6   libXrender.so.1.0  libXxf86misc.so.1   
 libpsres.so.1.0
libPEX5.so.6.0  libXaw.so.7libXi.so.6.0 libXt.so.6 libXxf86misc.so.1.0 
 libxrx.so.6
libSM.so.6  libXaw.so.7.0  libXmu.so.6  libXt.so.6.0   libXxf86vm.so.1 
 libxrx.so.6.3
libSM.so.6.0libXext.so.6   libXmu.so.6.2libXtst.so.6   libXxf86vm.so.1.0


Some people said me about disable xpm support suport, but i get the same for 
--without-xpm and ./configure always said me it is enabled.

checking for gdImageCreateFromXpm in -lgd... yes

i try too with --disable-xpm a i get the same line

Edu

Previous Comments:


[2001-12-16 19:13:23] [EMAIL PROTECTED]

ops and another cuestion..

why did not it fail the "./configure" command?



[2001-12-16 19:07:10] [EMAIL PROTECTED]

What it is the need of X11 for GD???
I didn't need for install the other version of php.
I did not need for install the rpm GD.




[2001-12-16 18:11:18] [EMAIL PROTECTED]

> Ok, i want said that the machin is a server a not have X, but it have x11 librarys.

Obviousl it has not or it is misconfigured.

Please ask support questions at [EMAIL PROTECTED]

Bogusifying.



[2001-12-16 18:07:24] [EMAIL PROTECTED]

ok, fist compile php 4.1.0 ok with this command line:

'./configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' 
'--with-imap=/programas/imap-2001a/' '--with-ftp' '--with-gettext'

It 's runing well, but

i am going to compile php 4.1.0 with GD support.
remove the old directory a make another gunzip for all.

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs 
--with-imap=/programas/imap-2001a/ --with-ftp --with-gettext --with-gd

there is a error.

i install the library of gd, 

gd-1.8.3 System Environment/Libraries An autoloadable interface module for libgd  
gd-devel-1.8.3 System Environment/Libraries An autoloadable interface module for 
libgd-devel  

ok.

i going to configure the php, some of config out.
some is cached, but the no cached version is same.

checking whether to include GD support... yes
checking whether to enable truetype string function in gd... no
checking for the location of libjpeg... no
If configure fails try --with-jpeg-dir=
checking for the location of libpng... no
If configure fails try --with-png-dir= and --with-zlib-dir=
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=
checking for freetype(2)... no
If configure fails try --with-freetype-dir=
checking whether to include include FreeType 1.x support... no
checking whether to include T1lib support... no
checking for gdImageString16 in -lgd... yes
checking for gdImagePaletteCopy in -lgd... yes
checking for gdImageCreateFromPng in -lgd... yes
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... yes
checking for gdImageCreateFromJpeg in -lgd... yes
checking for gdImageCreateFromXpm in -lgd... yes
checking for gdImageCreateFromGd2 in -lgd... yes
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... yes
checking for gdImageSetBrush in -lgd... yes
checking for gdImageStringTTF in -lgd... yes
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... yes
checking for gdImageColorResolve in -lgd... yes
checking for gdImageGifCtx in -lgd... no
checking whether to include GNU gettext support... yes

his config.log zone..

configure:19304: checking whether to include GD support
configure:19491: 

[PHP-DEV] Bug #14553 Updated: cannot find -lX11 for GB compilation.

2001-12-16 Thread ediaz

ID: 14553
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: GD related
Operating System: linux suse 7.1
PHP Version: 4.1.0
New Comment:

ops and another cuestion..

why did not it fail the "./configure" command?

Previous Comments:


[2001-12-16 19:07:10] [EMAIL PROTECTED]

What it is the need of X11 for GD???
I didn't need for install the other version of php.
I did not need for install the rpm GD.




[2001-12-16 18:11:18] [EMAIL PROTECTED]

> Ok, i want said that the machin is a server a not have X, but it have x11 librarys.

Obviousl it has not or it is misconfigured.

Please ask support questions at [EMAIL PROTECTED]

Bogusifying.



[2001-12-16 18:07:24] [EMAIL PROTECTED]

ok, fist compile php 4.1.0 ok with this command line:

'./configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' 
'--with-imap=/programas/imap-2001a/' '--with-ftp' '--with-gettext'

It 's runing well, but

i am going to compile php 4.1.0 with GD support.
remove the old directory a make another gunzip for all.

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs 
--with-imap=/programas/imap-2001a/ --with-ftp --with-gettext --with-gd

there is a error.

i install the library of gd, 

gd-1.8.3 System Environment/Libraries An autoloadable interface module for libgd  
gd-devel-1.8.3 System Environment/Libraries An autoloadable interface module for 
libgd-devel  

ok.

i going to configure the php, some of config out.
some is cached, but the no cached version is same.

checking whether to include GD support... yes
checking whether to enable truetype string function in gd... no
checking for the location of libjpeg... no
If configure fails try --with-jpeg-dir=
checking for the location of libpng... no
If configure fails try --with-png-dir= and --with-zlib-dir=
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=
checking for freetype(2)... no
If configure fails try --with-freetype-dir=
checking whether to include include FreeType 1.x support... no
checking whether to include T1lib support... no
checking for gdImageString16 in -lgd... yes
checking for gdImagePaletteCopy in -lgd... yes
checking for gdImageCreateFromPng in -lgd... yes
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... yes
checking for gdImageCreateFromJpeg in -lgd... yes
checking for gdImageCreateFromXpm in -lgd... yes
checking for gdImageCreateFromGd2 in -lgd... yes
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... yes
checking for gdImageSetBrush in -lgd... yes
checking for gdImageStringTTF in -lgd... yes
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... yes
checking for gdImageColorResolve in -lgd... yes
checking for gdImageGifCtx in -lgd... no
checking whether to include GNU gettext support... yes

his config.log zone..

configure:19304: checking whether to include GD support
configure:19491: checking whether to enable truetype string function in gd
configure:19544: checking for the location of libjpeg
configure:19740: checking for the location of libpng
configure:20034: checking for the location of libXpm
configure:20323: checking for freetype(2)
configure:20518: checking whether to include include FreeType 1.x support
configure:20717: checking whether to include T1lib support
configure:20977: checking for gdImageString16 in -lgd
configure:20996: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT 
-DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
-lcrypt 1>&5
configure:21020: checking for gdImagePaletteCopy in -lgd
configure:21039: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT 
-DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
-lcrypt 1>&5
configure:21063: checking for gdImageCreateFromPng in -lgd
configure:21082: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT 
-DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
-lcrypt 1>&5
configure:21106: checking for gdImageCreateFromGif in -lgd
configure:21125: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT 
-DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
-lcrypt 1>&5
/tmp/ccVzH6zk.o: In function `main':
/datos/programas/programacion/php-4.1.0/configure:21121: undefined reference to 
`gdImageCreateFromGif'
collect2: ld returned 1 exit status
configure: failed program was:
#line 21114 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an 

[PHP-DEV] Bug #14553 Updated: cannot find -lX11 for GB compilation.

2001-12-16 Thread ediaz

ID: 14553
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: GD related
Operating System: linux suse 7.1
PHP Version: 4.1.0
New Comment:

What it is the need of X11 for GD???
I didn't need for install the other version of php.
I did not need for install the rpm GD.


Previous Comments:


[2001-12-16 18:11:18] [EMAIL PROTECTED]

> Ok, i want said that the machin is a server a not have X, but it have x11 librarys.

Obviousl it has not or it is misconfigured.

Please ask support questions at [EMAIL PROTECTED]

Bogusifying.



[2001-12-16 18:07:24] [EMAIL PROTECTED]

ok, fist compile php 4.1.0 ok with this command line:

'./configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' 
'--with-imap=/programas/imap-2001a/' '--with-ftp' '--with-gettext'

It 's runing well, but

i am going to compile php 4.1.0 with GD support.
remove the old directory a make another gunzip for all.

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs 
--with-imap=/programas/imap-2001a/ --with-ftp --with-gettext --with-gd

there is a error.

i install the library of gd, 

gd-1.8.3 System Environment/Libraries An autoloadable interface module for libgd  
gd-devel-1.8.3 System Environment/Libraries An autoloadable interface module for 
libgd-devel  

ok.

i going to configure the php, some of config out.
some is cached, but the no cached version is same.

checking whether to include GD support... yes
checking whether to enable truetype string function in gd... no
checking for the location of libjpeg... no
If configure fails try --with-jpeg-dir=
checking for the location of libpng... no
If configure fails try --with-png-dir= and --with-zlib-dir=
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=
checking for freetype(2)... no
If configure fails try --with-freetype-dir=
checking whether to include include FreeType 1.x support... no
checking whether to include T1lib support... no
checking for gdImageString16 in -lgd... yes
checking for gdImagePaletteCopy in -lgd... yes
checking for gdImageCreateFromPng in -lgd... yes
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... yes
checking for gdImageCreateFromJpeg in -lgd... yes
checking for gdImageCreateFromXpm in -lgd... yes
checking for gdImageCreateFromGd2 in -lgd... yes
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... yes
checking for gdImageSetBrush in -lgd... yes
checking for gdImageStringTTF in -lgd... yes
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... yes
checking for gdImageColorResolve in -lgd... yes
checking for gdImageGifCtx in -lgd... no
checking whether to include GNU gettext support... yes

his config.log zone..

configure:19304: checking whether to include GD support
configure:19491: checking whether to enable truetype string function in gd
configure:19544: checking for the location of libjpeg
configure:19740: checking for the location of libpng
configure:20034: checking for the location of libXpm
configure:20323: checking for freetype(2)
configure:20518: checking whether to include include FreeType 1.x support
configure:20717: checking whether to include T1lib support
configure:20977: checking for gdImageString16 in -lgd
configure:20996: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT 
-DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
-lcrypt 1>&5
configure:21020: checking for gdImagePaletteCopy in -lgd
configure:21039: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT 
-DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
-lcrypt 1>&5
configure:21063: checking for gdImageCreateFromPng in -lgd
configure:21082: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT 
-DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
-lcrypt 1>&5
configure:21106: checking for gdImageCreateFromGif in -lgd
configure:21125: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT 
-DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
-lcrypt 1>&5
/tmp/ccVzH6zk.o: In function `main':
/datos/programas/programacion/php-4.1.0/configure:21121: undefined reference to 
`gdImageCreateFromGif'
collect2: ld returned 1 exit status
configure: failed program was:
#line 21114 "configure"
#include "confdefs.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 gdImageCreateFromGif();

int main() {
g

[PHP-DEV] Bug #14553: cannot find -lX11 for GB compilation.

2001-12-16 Thread ediaz

From: [EMAIL PROTECTED]
Operating system: linux suse 7.1
PHP version:  4.1.0
PHP Bug Type: GD related
Bug description:  cannot find -lX11 for GB compilation.

ok, fist compile php 4.1.0 ok with this command line:

'./configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-imap=/programas/imap-2001a/' '--with-ftp' '--with-gettext'

It 's runing well, but

i am going to compile php 4.1.0 with GD support.
remove the old directory a make another gunzip for all.

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
--with-imap=/programas/imap-2001a/ --with-ftp --with-gettext --with-gd

there is a error.

i install the library of gd, 

gd-1.8.3 System Environment/Libraries An autoloadable interface module for
libgd  
gd-devel-1.8.3 System Environment/Libraries An autoloadable interface
module for libgd-devel  

ok.

i going to configure the php, some of config out.
some is cached, but the no cached version is same.

checking whether to include GD support... yes
checking whether to enable truetype string function in gd... no
checking for the location of libjpeg... no
If configure fails try --with-jpeg-dir=
checking for the location of libpng... no
If configure fails try --with-png-dir= and --with-zlib-dir=
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=
checking for freetype(2)... no
If configure fails try --with-freetype-dir=
checking whether to include include FreeType 1.x support... no
checking whether to include T1lib support... no
checking for gdImageString16 in -lgd... yes
checking for gdImagePaletteCopy in -lgd... yes
checking for gdImageCreateFromPng in -lgd... yes
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... yes
checking for gdImageCreateFromJpeg in -lgd... yes
checking for gdImageCreateFromXpm in -lgd... yes
checking for gdImageCreateFromGd2 in -lgd... yes
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... yes
checking for gdImageSetBrush in -lgd... yes
checking for gdImageStringTTF in -lgd... yes
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... yes
checking for gdImageColorResolve in -lgd... yes
checking for gdImageGifCtx in -lgd... no
checking whether to include GNU gettext support... yes

his config.log zone..

configure:19304: checking whether to include GD support
configure:19491: checking whether to enable truetype string function in
gd
configure:19544: checking for the location of libjpeg
configure:19740: checking for the location of libpng
configure:20034: checking for the location of libXpm
configure:20323: checking for freetype(2)
configure:20518: checking whether to include include FreeType 1.x support
configure:20717: checking whether to include T1lib support
configure:20977: checking for gdImageString16 in -lgd
configure:20996: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX
-DUSE_EXPAT -DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl
-lnsl  -lresolv -lcrypt 1>&5
configure:21020: checking for gdImagePaletteCopy in -lgd
configure:21039: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX
-DUSE_EXPAT -DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl
-lnsl  -lresolv -lcrypt 1>&5
configure:21063: checking for gdImageCreateFromPng in -lgd
configure:21082: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX
-DUSE_EXPAT -DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl
-lnsl  -lresolv -lcrypt 1>&5
configure:21106: checking for gdImageCreateFromGif in -lgd
configure:21125: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX
-DUSE_EXPAT -DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl
-lnsl  -lresolv -lcrypt 1>&5
/tmp/ccVzH6zk.o: In function `main':
/datos/programas/programacion/php-4.1.0/configure:21121: undefined
reference to `gdImageCreateFromGif'
collect2: ld returned 1 exit status
configure: failed program was:
#line 21114 "configure"
#include "confdefs.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 gdImageCreateFromGif();

int main() {
gdImageCreateFromGif()
; return 0; }
configure:21149: checking for gdImageGif in -lgd
configure:21168: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX
-DUSE_EXPAT -DNO_DL_NEEDED  conftest.c -lgd  -lgd -lcrypt -lresolv -lm -ldl
-lnsl  -lresolv -lcrypt 1>&5
/tmp/ccBOCCiz.o: In function `main':
/datos/programas/programacion/php-4.1.0/configure:21164: undefined
reference to `gdImageGif'
collect2: ld returned 1 exit status
configure: failed program was:
#line 21157 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int