Re: [PHP-DEV] 4.0.6 and gd 2

2001-04-18 Thread Wez Furlong

On 2001-04-18 15:25:19, "Kurth Bemis" <[EMAIL PROTECTED]> wrote:
> Now i'm getting all sorts of problems.loook

As a hint, you might want to make sure that you have only one set of gd headers 
installed, and only one libgd.so.

Try setting --with-gd=/path/to/libgd.so

I would like to see the config.log file from the build you described.

If you still have problems, open a bug report.


--Wez.


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.0.6 and gd 2

2001-04-18 Thread Kurth Bemis

Now i'm getting all sorts of problems.loook

my config line

./configure --with-mysql=/usr/local/mysql 
--with-apache=/usr/src/apache_1.3.19 --enable-ftp --with-gd 
--with-jpeg-dir=/usr/src/jpeg-6b --with-png-dir=/usr/local/lib 
--with-freetype-dir

yields

...
checking whether to enable FTP support... yes
checking whether to enable truetype string function in gd... no
checking for libjpeg (needed by gd-1.8+)... yes
checking for jpeg_read_header in -ljpeg... yes
checking for libpng (needed by gd-2.0)... yes
checking for png_info_init in -lpng... yes
checking for libXpm (needed by gd-1.8+)... no
configure: warning: If configure fails try --with-xpm-dir=
checking for freetype(2) (needed by gd 2.0+)... yes
checking whether to include GD support... yes (static)
checking for compress in -lz... no
checking for png_info_init in -lpng... (cached) yes
checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking whether to include FreeType 1.x support... no - FreeType 2.x is to 
be used instead
checking for T1lib support... no
..

lets attempt a make

..
Making all in gd
make[2]: Entering directory `/usr/src/php4-200104171745/ext/gd'
make[3]: Entering directory `/usr/src/php4-200104171745/ext/gd'
gcc  -I. -I/usr/src/php4-200104171745/ext/gd 
-I/usr/src/php4-200104171745/main -I/usr/src/php4-200104171745 
-I/usr/src/apache_1.3.19/src/include -I/usr/src/apache_1.3.19/src/os/unix 
-I/usr/src/php4-200104171745/Zend -I/usr/local/include/freetype2/freetype 
-I/usr/local/mysql/include/mysql 
-I/usr/src/php4-200104171745/ext/xml/expat/xmltok 
-I/usr/src/php4-200104171745/ext/xml/expat/xmlparse 
-I/usr/src/php4-200104171745/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g 
-O2  -c gd.c && touch gd.lo
gd.c:91: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php4-200104171745/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php4-200104171745/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php4-200104171745/ext'
make: *** [all-recursive] Error 1
.

any thoughts?  I'm thinking that i may rebuild gd and see if that clears up 
the problem.

~kurth


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] 4.0.6 and gd 2

2001-04-18 Thread Wez Furlong

On 2001-04-18 06:43:33, "Kurth Bemis" <[EMAIL PROTECTED]> wrote:
> configure: warning: If configure fails try --with-xpm-dir=
> checking for freetype(2) (needed by gd 2.0+)... no
> ...

> heres my config line
> ./configure --with-mysql=/usr/local/mysql 
> --with-apache=/usr/src/apache_1.3.19 --enable-ftp --with-gd 
> --enable-freetype-4bit-antialias-hack --with-jpeg-dir=/usr/src/jpeg-6b 
> --enable-gd-native-ttf --with-png-dir=/usr/local/lib

Try this instead:

./configure --with-mysql=/usr/local/mysql 
 --with-apache=/usr/src/apache_1.3.19 --enable-ftp --with-gd 
 --with-jpeg-dir=/usr/src/jpeg-6b 
 --with-png-dir=/usr/local/lib
 --with-freetype-dir

This implies --enable-gd-native-ttf, so you don't need to specify it.
There is no such option as --enable-freetype-4bit-antialias-hack (anymore).

> checking whether to include FreeType 1.x support... no - FreeType 2.x is to 
> be used instead

I'm concerned by this message.

If this doesn't work for you, please file a bug report at http://bugs.php.net, and 
email me (personally) your config.log.

--Wez.


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] 4.0.6 and gd 2

2001-04-17 Thread Kurth Bemis

hey all - please reply to me off list - i'm not subscribed to this list. :-)

I'm working on building the 04171745 build with gd.  I have freetype2 
compiled and installed however configure fails to find them...

here look:

configure: warning: If configure fails try --with-xpm-dir=
checking for freetype(2) (needed by gd 2.0+)... no
If configure fails
checking whether to include GD support... yes (static)
checking for compress in -lz... no
checking for png_info_init in -lpng... (cached) yes
checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking whether to include FreeType 1.x support... no - FreeType 2.x is to 
be used instead
checking for T1lib support... no


heres my config line
./configure --with-mysql=/usr/local/mysql 
--with-apache=/usr/src/apache_1.3.19 --enable-ftp --with-gd 
--enable-freetype-4bit-antialias-hack --with-jpeg-dir=/usr/src/jpeg-6b 
--enable-gd-native-ttf --with-png-dir=/usr/local/lib


any ideas?

~kurth


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]