Ubuntu 14.04 - компиляция php 5.3 - ошибка configure: error: freetype.h not found.

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Версия от 16:01, 17 января 2017; Admin iph (обсуждение | вклад) (Новая страница: «link=https://bit.ly/3tbFsd6| Доступная цена === Ubuntu 14.04 - компиляция php 5.3 - ошибка configur…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

Доступная цена

Ubuntu 14.04 - компиляция php 5.3 - ошибка configure: error: freetype.h not found.

При ./configure --prefix=/opt/php53 ошибка:

checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype.h not found.

Решение:

# mkdir /usr/include/freetype2/freetype
# ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h