<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><font size="2">Hello,<br><br></font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><font size="2">That's really weird. It would be better to find why cmake find 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) :<br></font><br><span style="font-family:monospace,monospace"><font size="2">8<--------------------------------------<br>cmake \<br>  -DCMAKE_C_FLAGS="$SLKCFLAGS" \<br>  -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \<br>  -DCMAKE_INSTALL_PREFIX:PATH=/usr \<br>  -DLIB_SUFFIX=${LIBDIRSUFFIX} \<br>  -DRENDER_LIB=CAIRO \<br>  -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \<br>  ./CMakeLists.txt<br></font></span><font size="2"><span style="font-family:monospace,monospace">8<--------------------------------------</span><br></font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><font size="2">Then, try to build scribus as below and post the output (unless it not fails).</font><br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><font size="2">$ VERBOSE=1 ./scribus.SlackBuild</font><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">-- <br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">SeB<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-07 15:32 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 Mon, 7 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">
In one of my previous post, I ask you to create the file<br>
/tmp/cmake-test/CMakeLists.txt<br>
with the content below :<br>
</blockquote>
<br>
Sebastien,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you have deleted it, recreate it. Otherwise, run the commands below :<br>
$ cd /tmp/cmake-test<br>
$ rm CMakeCache.txt<br>
</blockquote>
<br>
  Done.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Remove freetype package :<br>
$ removepkg freetype<br>
</blockquote>
<br>
  Done<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In /tmp/cmake-test, run the command below :<br>
$ cmake .<br>
<br>
You should get this :<br>
<br>
8<----------------------------<wbr>------------------<br>
$ cmake .<br>
<br>
-- 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>
8<----------------------------<wbr>------------------<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If freetype_include_dirs is not *empty* (which I doubt), check the returned<br>
directories content.<br>
</blockquote>
<br>
  I see the same results and assume the freetype_include_dirs is empty.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Now, install freetype, with slackpkg or any other tools...<br>
Then, in /tmp/cmake-test, run the commands below :<br>
$ rm CMakeCache.txt<br>
$ cmake .<br>
You should get this :<br>
8<----------------------------<wbr>------------------<br>
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.5.5")<br>
freetype_include_dirs: /usr/include/freetype2;/usr/in<wbr>clude<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /tmp/cmake-test<br>
8<----------------------------<wbr>------------------<br>
</blockquote>
<br>
  Yes.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
​If you get the output above, you can (re)try to build scribus. Otherwise<br>
... I don't know.<br>
</blockquote>
<br>
  Sigh. Same error. Later today I'll try the original freetype-2.5.5 rather<br>
than this past March's patch.<br>
<br>
Thanks, Sebastien, I'm as puzzled and frustrated as you are,<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>