Застрял кажется наглухо на следующем:
#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
Код: Выделить всё
# 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.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
Что делать? Говорят, Лисяру спрашивать надо как мейнтенера, что я и делаю.