freetype.h not found при сборке php52-gd - lissyara?

Проблемы с установкой, настройкой и работой системных и сетевых программ.

Модераторы: GRooVE, alexco

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
iltmpz
ефрейтор
Сообщения: 58
Зарегистрирован: 2008-11-10 13:10:56

freetype.h not found при сборке php52-gd - lissyara?

Непрочитанное сообщение iltmpz » 2014-08-13 11:05:43

Собираю порт /usr/ports/graphics/php52-gd - замучился с ним: почему-то зависимости как-то не так цепляет как остальные порты: то на autoconf ругался, не хотел его сам ставить, то другие порты пришлось ставить вручную.

Застрял кажется наглухо на следующем:
#cd /usr/ports/graphics/php52-gd
# make reinstall clean

Код: Выделить всё

...
checking for the location of libz... /usr
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... /usr/local
checking for T1lib support... /usr/local
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... no
checking for floorf... no
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.
===>  Script "configure" failed unexpectedly.
Please report the problem to admin@lissyara.su [maintainer] and attach the
"/usr/ports/graphics/php52-gd/work/php-5.2.17/ext/gd/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/php52-gd
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/php52-gd
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/php52-gd
При этом нагуглил советы для убунты поставить freetype-devel.x86_64 - на freebsd такого нету:

Код: Выделить всё

# make search name='freetype'
Port:   freetype-1.3.1_4
Path:   /usr/ports/print/freetype
Info:   Free and portable TrueType font rendering engine
Maint:  doceng@FreeBSD.org
B-deps:
R-deps:
WWW:    http://www.freetype.org/

Port:   freetype2-2.5.3_2
Path:   /usr/ports/print/freetype2
Info:   Free and portable TrueType font rendering engine
Maint:  gnome@FreeBSD.org
B-deps: gettext-0.18.3.1_1 gmake-3.82_1 indexinfo-0.2 libiconv-1.14_3
R-deps:
WWW:    http://freetype.sourceforge.net/

Port:   p5-Font-FreeType-0.03_1
Path:   /usr/ports/print/p5-Font-FreeType
Info:   Perl extension to read font files and render glyphs using FreeType2
Maint:  kuriyama@FreeBSD.org
B-deps: freetype2-2.5.3_2 perl5-5.16.3_11 pkgconf-0.9.6_1
R-deps: freetype2-2.5.3_2 perl5-5.16.3_11
WWW:    http://search.cpan.org/dist/Font-FreeType/

Port:   print/freetype-tools
Moved:  print/texlive-texmf
Date:   2014-08-01
Reason: Has been incorporated in TeXLive
Поставил все кроме freetype-tools (потому как он уж больно много постороннего мусора за собой тянет)

При этом freetype.h у меня есть, на выбор:

Код: Выделить всё

# find /usr/local/ -name freetype.h
/usr/local/include/freetype2/freetype.h
/usr/local/include/freetype1/freetype/freetype.h
# pkg info | grep freetype
freetype-1.3.1_4               Free and portable TrueType font rendering engine
freetype2-2.5.3_2              Free and portable TrueType font rendering engine
В самом порту нигде упоминаний про freetype.h не нашел. При этом при сборке gd при make reinstall он собирается.

Что делать? Говорят, Лисяру спрашивать надо как мейнтенера, что я и делаю.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35420
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: freetype.h not found при сборке php52-gd - lissyara?

Непрочитанное сообщение Alex Keda » 2014-08-23 17:56:16

порты где взяли-то?
ОС какой?
Убей их всех! Бог потом рассортирует...