<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><font size="2">Hello, <br><br>You shouldn't have removed that space. It is required. The option -D allows to create a cmake cache entry :<br><br></font></div><div class="gmail_default" style="font-size:large"><span style="font-family:monospace,monospace"><font size="2">$ man cmake<br>...<br></font></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><span style="font-family:monospace,monospace"><font size="2"> -D <var>:<type>=<value>, -D <var>=<value><br>              Create a cmake cache entry.<br><br>              When cmake is first run in an empty build tree, it  creates  a  CMakeCache.txt<br>              file and populates it with customizable settings for the project.  This option<br>              may be used to specify a  setting  that  takes  priority  over  the  project's<br>              default  value.   The  option  may  be  repeated  for as many cache entries as<br>              desired.<br></font></span><br><font size="2">-- <br></font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><font size="2">SeB</font><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-07 17:59 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">
That's really weird. It would be better to find why cmake finds freetype<br>
/in usr/local/include instead of /usr/include, but, you can try this hack:<br>
Edit scribus.SlackBuild, then, modify the cmake block (starting at line<br>
#76) as below (changes are in bold) :<br>
<br>
8<----------------------------<wbr>----------<br>
cmake \<br>
 -DCMAKE_C_FLAGS="$SLKCFLAGS" \<br>
 -DCMAKE_CXX_FLAGS="$<wbr>SLKCFLAGS" \<br>
 -DCMAKE_INSTALL_PREFIX:PATH=/<wbr>usr \<br>
 -DLIB_SUFFIX=${LIBDIRSUFFIX} \<br>
 -DRENDER_LIB=CAIRO \<br>
 -D FREETYPE_INCLUDE_DIRS:PATH="/u<wbr>sr/include/freetype2" \<br>
 ./CMakeLists.txt<br>
8<----------------------------<wbr>----------<br>
</blockquote>
<br>
Sebastian,<br>
<br>
  Yes, it would be nice to learn why cmake finds freetype in<br>
/usr/local/include/ when it's actually in /usr/include/.<br>
<br>
  I deleted the space between -D and FREETYPE... above and with<br>
freetype-2.5.5 installed this error is produced:<br>
<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /tmp/SBo/scribus-1.4.6<br>
./scribus.SlackBuild: line 83:<br>
-DFREETYPE_INCLUDE_DIRS:PATH=/<wbr>usr/include/freetype2: No such file or<br>
directory<br>
<br>
  /usr/include/ has freetype2/ with all the expected files, and freetype/<br>
with this softlink:<br>
lrwxrwxrwx 1 root root 9 Aug  7 08:45 /usr/include/freetype -> freetype2/<br>
which was apparently generated when I tried the above build.<br>
<br>
  For completeness, using freetype--2.6.3-i586-1, scribus-1.4.6 builds.<br>
<br>
  Summary: On my system, scribus-1.4.6 builds with freetype-2.5.0 and<br>
-2.6.3, but not 2.5.5. Figuring out why is well beyond my experience.<br>
<br>
Thanks again,<br>
<br>
Rich<br>
<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>