[Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

Rich Shepard rshepard at appl-ecosys.com
Fri Aug 4 15:31:14 UTC 2017


   I'm trying to upgrade scribus from 1.4.4. to 1.4.6, but the build fails
here:

[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o
[  0%] Building CXX object
scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o
In file included from
/tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp:10:0:
/tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No
/ such file or directory
  #include FT_FREETYPE_H
                        ^
compilation terminated.
make[2]: ***
[scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o] Error 1
make[1]: *** [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/all] Error 2
make: *** [all] Error 2

   However, that header file is on the system
(/usr/include/freetype2/freetype.h) and, I assume, the build script is
looking for it in /usr/include/freetype/. I created a softlink so
/usr/include/freetype points to /usr/include/freetype2, but that's not
working. I see nothing in the build script where I can point to the
directory containing freetype.h.

   Please advise me how to remedy this situation.

TIA,

Rich


More information about the SlackBuilds-users mailing list