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

Rich Shepard rshepard at appl-ecosys.com
Mon Aug 7 15:59:22 UTC 2017

On Mon, 7 Aug 2017, Sebastien BALLET wrote:

> That's really weird. It would be better to find why cmake finds freetype
> /in usr/local/include instead of /usr/include, but, you can try this hack:
> Edit scribus.SlackBuild, then, modify the cmake block (starting at line
> #76) as below (changes are in bold) :
> 8<--------------------------------------
> cmake \
>  -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \
>  ./CMakeLists.txt
> 8<--------------------------------------


   Yes, it would be nice to learn why cmake finds freetype in
/usr/local/include/ when it's actually in /usr/include/.

   I deleted the space between -D and FREETYPE... above and with
freetype-2.5.5 installed this error is produced:

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/scribus-1.4.6
./scribus.SlackBuild: line 83:
-DFREETYPE_INCLUDE_DIRS:PATH=/usr/include/freetype2: No such file or

   /usr/include/ has freetype2/ with all the expected files, and freetype/
with this softlink:
lrwxrwxrwx 1 root root 9 Aug  7 08:45 /usr/include/freetype -> freetype2/
which was apparently generated when I tried the above build.

   For completeness, using freetype--2.6.3-i586-1, scribus-1.4.6 builds.

   Summary: On my system, scribus-1.4.6 builds with freetype-2.5.0 and
-2.6.3, but not 2.5.5. Figuring out why is well beyond my experience.

Thanks again,


More information about the SlackBuilds-users mailing list