labrocca
Verified User
- Joined
- Mar 12, 2006
- Messages
- 130
Still having major issues on this. I can't build php with Freetype.
I removed in configure/ap2/configure.php5 the line:
--with-freetype-dir=/usr/local/lib
..and it builds. I tried to change the dir to /usr/local/include/freetype2 which is where ft2build.h is located. Still not building. Same error as above.
Any help is appreciated. I've tried all options besides forcing an old and vulnerable version of Freetype.
EDIT: Finally after a few hours of toying around I got it. I removed freetype from pkg with a deinstall from ports. I then updated my ports tree (portsnap). I was then able to build php with Freetype 2.5.3 and php 5.4.26. Oh I also installed the libXpm libs from ports too. Unsure if that helped but it did help get rid of the error during a build even though it still failed.
I removed in configure/ap2/configure.php5 the line:
--with-freetype-dir=/usr/local/lib
..and it builds. I tried to change the dir to /usr/local/include/freetype2 which is where ft2build.h is located. Still not building. Same error as above.
Any help is appreciated. I've tried all options besides forcing an old and vulnerable version of Freetype.
EDIT: Finally after a few hours of toying around I got it. I removed freetype from pkg with a deinstall from ports. I then updated my ports tree (portsnap). I was then able to build php with Freetype 2.5.3 and php 5.4.26. Oh I also installed the libXpm libs from ports too. Unsure if that helped but it did help get rid of the error during a build even though it still failed.
Last edited: