Re: PHP 5 Compile error
| From: | Brian V Bonini | Date: | Mon, 31 Jan 2005 19:53:27 +0000 |
| Subject: | Re: PHP 5 Compile error | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207802@lists.php.net to get a copy of this message | ||
On Mon, 2005-01-31 at 12:56, Richard Lynch wrote:
> Brian V Bonini wrote:
> > %cat config.txt | tr -s "\n" " "
> > --enable-versioning --enable-memory-limit --with-layout=GNU
> > --with-zlib-dir=/usr --with-imap=/usr/local --disable-all
> > --with-regex=php --disable-cli --enable-ctype --with-gd
> > --enable-gd-native-ttf --with-freetype-dir=/usr/local
> > --with-jpeg-dir=/usr/local --with-png-dir=/usr/local
> > --with-mysql=/usr/local --enable-overload --with-pcre-regex=yes
> > --enable-posix --enable-session --enable-tokenizer
> > --with-expat-dir=/usr/local --enable-xml --with-zlib=yes
> > --with-apxs2=/usr/local/www/bin/apxs --prefix=/usr/local
> >
> > /usr/src/php5-STABLE-200501311330/ext/gd/gd.c: In function `zm_info_gd':
> > /usr/src/php5-STABLE-200501311330/ext/gd/gd.c:504: `FREETYPE_MAJOR'
>
> WILD GUESS
>
> You've asked for a bunch of TTF-related stuff, but didn't ask for TTF
> itself...
>
> Or don't have FreeType installed, or, at least, not where configure can
> FIND it.
Something to do with having both freetype and freetype2 on the same
machine. In this case it looks to freetype/ rather than freetype2/. Was
able to circumvent by moving the freetype dir.
--
s/:-[(/]/:-)/g
Brian GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
======================================================================
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
Key Info: http://gfx-design.com/keys
Linux Registered User #339825 at http://counter.li.org