Hello everyone,

First, since I was hoping not to get a barrage of e-mails regarding PHP
just quite yet I have decided not to subscribe to the list.  So if you
would please, cc me on your reply.  My e-mail is [EMAIL PROTECTED]
Thanks in advance.

I'm still a PHP newbie.  However, my problem warrants some help maybe
with versions working with each other since the compilations all went
through nicely.  

Here's what I have :

Solaris 8
PHP 4.0.6
Apache 1.3.23
GD 1.8.3
Freetype 1.3.1
JPEG 6b
PNG 1.2.2
ZLIB 1.1.4


When I do a phpinfo, I see

Build Date May  9 2002 
Configure Command  './configure'
'--with-mysql=/usr/local/contrib/mysql/mysql-3.23.49'
'--with-apache=../apache_1.3.23' '--with-gd-dir=/usr/local/lib'
'--with-gd' '--with-jpeg-dir=/usr/local/lib' '--with-jpeg'
'--with-png-dir=/usr/local/lib' '--with-png'
'--with-zlib-dir=/usr/local/lib' '--with-zlib' '--enable-gd-native-tt'
'--with-ttf-dir=/usr/local/contrib/freetype1.3.1/lib' '--with-ttf'
'--enable-track-vars' 

which are the correct build date and configure options but when I scroll
down to the GD section, I'm hoping to find Freetype Support enabled and
Freetype Linkage = with TTF library like the Linux system my colleague
has but I see none on my Solaris build.

What have I missed, I've skimmed through a bit of the archives and
determined that gd1.8.3 would work with Freetype 1.3.1 and that in 4.0.6
it was "--enalbe-gd-native-tt"  but other than that I can't figure what
might be missing that Freetype Support is not linked in.

I did this [Also, I do a make clean on each item just to be sure it's
clean] :

configure/install JPEG/PNG/ZLIB/Freetype [Freetype I did
--disable-shared flag]
configure/install gd-1.8.3 [w/ LIBS=-lm -lttf -lgd -lpng -lz -ljpeg]

[for some reason 1.8.4 messes up trying to compile with -DHAVE_LIBTTF
and -lttf so I went back one version which compiled nicely I think]

Then I configure PHP ... (if necessary, I can post the entire transcript
but for now, I think maybe snippet of the configure and section on gd
would suffice.

php-4.0.6
./configure  --with-mysql=/usr/local/contrib/mysql/mysql-3.23.49
--with-apache=../apache
 ^H_1.3.23 --with-gd-dir=/usr/local/lib --with-gd
--with-jpeg-dir=/usr/local/lib --with-jp
eg  ^H--with-png-dir=/usr/local/lib --with-png
--with-zlib-dir=/usr/local/lib --with-zlib
--enab ^Hle-gd-native-tt
--with-ttf-dir=/usr/local/contrib/freetype1.3.1/lib --with-ttf --
enable-track- ^Hvars
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles...
no
checking host system type... sparc-sun-solaris2.8
checking for gawk... (cached) nawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the
PHP parsers.
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E

<snip>

checking whether to include GD support... yes
checking whether to enable truetype string function in gd... yes
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)... no
If configure fails try --with-freetype-dir=<DIR>
checking whether to include include FreeType 1.x support... yes
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) no
checking for gdImageWBMP in -lgd... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) yes
checking for gdImageCreateFromXpm 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 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
checking whether to include GNU gettext support... no
checking for gmp support... no
checking for Hyperwave support... no

<snip>

[no errors reported]
creating main/internal_functions.c
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

So I do a make; make install.

I go to Apache_1.3.23 and do a config/make/install and all goes well.

Ciao ?:-)
Shirlyn

"In times of change,
there is no incentive so great,
and no medicine so powerful
as the hope for a better tomorrow."


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to