mod_php4 build fails on fontconfig?

Nelis Lamprecht nelis at brabys.co.za
Wed Jul 23 03:06:05 PDT 2003


Hi List,

I should probably consult the mod_php mail list for this but I thought
I'd try my luck here first since this is on FreeBSD 4.7 and I've had
pretty good responses before from this list.

I see now mod_php now requires XFree86 libraries ? I am not using X on
this machine...

Anyway, I'm updating Apache and on the mod_php build I get the following
error from fontconfig which I hope someone can help me on:

===>  Applying FreeBSD patches for mod_php4-4.3.3.r1_1,1
===>   mod_php4-4.3.3.r1_1,1 depends on file: /usr/local/sbin/apxs -
found
===>   mod_php4-4.3.3.r1_1,1 depends on file:
/usr/local/libexec/libtool14/libtool - found
===>   mod_php4-4.3.3.r1_1,1 depends on executable: bison - found
===>   mod_php4-4.3.3.r1_1,1 depends on shared library: freetype.9 -
found
===>   mod_php4-4.3.3.r1_1,1 depends on shared library: png.5 - found
===>   mod_php4-4.3.3.r1_1,1 depends on shared library: jpeg.9 - found
===>   mod_php4-4.3.3.r1_1,1 depends on shared library: Xpm.4 - not
found
===>    Verifying install for Xpm.4 in
/usr/ports/x11/XFree86-4-libraries

<snip>

cc -O -pipe -o .libs/fc-cache fc-cache.o ../src/.libs/libfontconfig.so
-L/usr/local/lib -lfreetype -lexpat  -Wl,--rpath -Wl,/usr/X11R6/lib
../src/.libs/libfontconfig.so: undefined reference to
`FT_Get_PS_Font_Info'
gmake[2]: *** [fc-cache] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.2.90/fc-cache'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.2.90'
gmake: *** [all-recursive-am] Error 2
*** Error code 2
 
Stop in /usr/ports/x11-fonts/fontconfig.

</snip>

I am using ctype, gd, gettext, mysql, mcrypt, openssl, overload, pcre,
posix, session, tokenizer, xml and zlib in my configuration options
installed via /usr/ports/www/mod_php4 
Is any of the above causing mod_php4 to use XFree86 libraries or does it
use it by default now?

Thanks for your help.

Nelis




More information about the freebsd-questions mailing list