pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/graphite2 cmake build failure



Matthias Ferdinand <mf+ml.pkgsrc-users%netzwerkagentursaarland.de@localhost>
writes:

> on Linux (Ubuntu 10.04, Ubuntu 12.04), configure fails for
> graphics/graphite2:
[...]
> the recent patches/patch-src_CMakeLists.txt removed two lines containing
>     include(Graphite)
> in src/CMakeLists.txt. nolib_test is defined in Graphite.cmake, the
> include is needed.
>
> When I re-add these lines, the package compiles.

Reinserting the include lines almost got me there, however,

-------------------------
Scanning dependencies of target freetype
[ 79%] Building C object
tests/examples/CMakeFiles/freetype.dir/freetype.c.o
/usr/pkgsrc-git/graphics/graphite2/work/graphite2-1.2.4/tests/examples/freetype.c:5:22:
fatal error: ft2build.h: No such file or directory
 #include "ft2build.h"
-------------------------

After some trial and error, a simple symbolic link seems to fix that:

root@debian:/usr/pkgsrc/graphics/graphite2/work/.buildlink/include#
ln -s /usr/pkg/include/freetype2/ .

When I add that, the package compiles on my Debian Gnu/Linux box.

Memnon
-- 
/-------------------------------------------\
| SDF and SDF-EU Public Access UNIX System  |
| http://sdf.org   ||   http://sdf-eu.org   |
=============================================



Home | Main Index | Thread Index | Old Index