<div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:large" class="gmail_default">​​</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><font size="2">​Hello,<br><br></font></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><font size="2">In one of my previous post, I ask you to create the file </font><span style="font-family:monospace,monospace"><font size="2">/tmp/cmake-test/<wbr>CMakeLists.txt with the content below :<br><br>8<---------------</font></span><span style="font-family:monospace,monospace"><font size="2"><span style="font-family:monospace,monospace"><font size="2">/tmp/cmake-test/<wbr>CMakeLists.txt </font></span>----------<br></font></span><span style="font-family:monospace,monospace"><font size="2"><font size="2"><span style="font-family:monospace,monospace"><font size="2"><font size="2">cmake_minimum_required(VERSION 2.8)<br>find_package(Freetype)<br>if (FREETYPE_FOUND)<br>  include_directories(${<wbr>FREETYPE_INCLUDE_DIRS})<br>endif (FREETYPE_FOUND)<br><br>MESSAGE("freetype_include_<wbr>dirs: ${FREETYPE_INCLUDE_DIRS}")<br></font></font></span></font>8<----------------------------------------------<br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">If you have deleted it, recreate it. Otherwise, run the commands below :<br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">$ cd /tmp/cmake-test<br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">$ rm CMakeCache.txt <br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">Remove freetype package :<br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">$ removepkg freetype<br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">In /tmp/cmake-test, run the command below :<br><br>$ cmake .<br><br>You should get this :<br><br>8<----------------------------------------------<br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">$ cmake .<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2"><span style="font-family:monospace,monospace">-- Could NOT find Freetype (missing FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) <br>freetype_include_dirs:<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /tmp/cmake-test<br></span><font size="2"><span style="font-family:monospace,monospace"></span></font>8<----------------------------------------------<br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2"><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">If freetype_include_dirs is not *empty* (which I doubt), check the returned directories content. <br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">Now, install freetype, with slackpkg or any other tools...<br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">$ slackpkg install freetype<br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">Then, in /tmp/cmake-test, run the commands below :<br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">$ rm CMakeCache.txt<br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">$ cmake .<br><br></font></span></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">You should get this :<br></font></span></div><br><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2">8<----------------------------------------------<br></font></span><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"><font size="2"></font></span></div><font size="2"><span style="font-family:monospace,monospace">-- Found Freetype: /usr/lib/libfreetype.so (found version "2.5.5") <br>freetype_include_dirs: /usr/include/freetype2;/usr/<wbr>include<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /tmp/cmake-test<br></span><font size="2"><span style="font-family:monospace,monospace"></span></font></font><font size="2"><span style="font-family:monospace,monospace"><font size="2">8<----------------------------------------------<br></font></span></font><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><span style="font-family:monospace,monospace"></span></div><font size="2"><span style="font-family:monospace,monospace"></span></font></div><font size="2"><span style="font-family:monospace,monospace"></span></font><br><div style="font-family:arial,helvetica,sans-serif;font-size:large" class="gmail_default"><font size="2">​If you get the output above, you can (re)try to build scribus. Otherwise ... I don't know.</font><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:large" class="gmail_default"></div><br><font size="2"><span style="font-family:monospace,monospace"></span></font><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><font size="2">-- <br></font></div><div style="font-family:arial,helvetica,sans-serif;font-size:large" class="gmail_default"><font size="2">SeB</font>​</div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-06 18:22 GMT+02:00 Rich Shepard <span dir="ltr"><<a href="mailto:rshepard@appl-ecosys.com" target="_blank">rshepard@appl-ecosys.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 6 Aug 2017, Sebastien BALLET wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
can you post the output of commands below :<br>
<br>
$ find /usr/include -iname "ft2build.h"<br>
</blockquote>
<br>
/usr/include/freetype2/ft2buil<wbr>d.h<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
$ cat /usr/lib/pkgconfig/freetype2.p<wbr>c | grep "includedir"<br>
</blockquote>
<br>
includedir=/usr/include/freety<wbr>pe2<br>
Cflags: -I${includedir}<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
$ ls -l /var/log/packages/freetype*<br>
</blockquote>
<br>
-rw-r--r-- 1 root root 3544 May 16 17:20<br>
- /var/log/packages/freetype-2.5<wbr>.5-i486-2_slack14.1<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
$ cat /var/log/packages/freetype-* | grep -E "ft2build.h|freetype.h"<br>
</blockquote>
<br>
usr/include/freetype2/ft2build<wbr>.h<br>
usr/include/freetype2/freetype<wbr>.h<br>
<br>
  Wonder where the /usr/local/include came from.<br>
<br>
Rich<br>
______________________________<wbr>_________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.<wbr>org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/<wbr>mailman/listinfo/slackbuilds-u<wbr>sers</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/<wbr>pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div><br></div>