Hello, 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) :
8<-------------------------------------- cmake \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DRENDER_LIB=CAIRO \ -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \ ./CMakeLists.txt 8<-------------------------------------- Then, try to build scribus as below and post the output (unless it not fails). $ VERBOSE=1 ./scribus.SlackBuild -- SeB 2017-08-07 15:32 GMT+02:00 Rich Shepard <rshep...@appl-ecosys.com>: > On Mon, 7 Aug 2017, Sebastien BALLET wrote: > > In one of my previous post, I ask you to create the file >> /tmp/cmake-test/CMakeLists.txt >> with the content below : >> > > Sebastien, > > If you have deleted it, recreate it. Otherwise, run the commands below : >> $ cd /tmp/cmake-test >> $ rm CMakeCache.txt >> > > Done. > > Remove freetype package : >> $ removepkg freetype >> > > Done > > In /tmp/cmake-test, run the command below : >> $ cmake . >> >> You should get this : >> >> 8<---------------------------------------------- >> $ cmake . >> >> -- Could NOT find Freetype (missing FREETYPE_LIBRARY >> FREETYPE_INCLUDE_DIRS) >> freetype_include_dirs: >> -- Configuring done >> -- Generating done >> -- Build files have been written to: /tmp/cmake-test >> 8<---------------------------------------------- >> > > If freetype_include_dirs is not *empty* (which I doubt), check the returned >> directories content. >> > > I see the same results and assume the freetype_include_dirs is empty. > > Now, install freetype, with slackpkg or any other tools... >> Then, in /tmp/cmake-test, run the commands below : >> $ rm CMakeCache.txt >> $ cmake . >> You should get this : >> 8<---------------------------------------------- >> -- Found Freetype: /usr/lib/libfreetype.so (found version "2.5.5") >> freetype_include_dirs: /usr/include/freetype2;/usr/include >> -- Configuring done >> -- Generating done >> -- Build files have been written to: /tmp/cmake-test >> 8<---------------------------------------------- >> > > Yes. > > If you get the output above, you can (re)try to build scribus. Otherwise >> ... I don't know. >> > > Sigh. Same error. Later today I'll try the original freetype-2.5.5 rather > than this past March's patch. > > Thanks, Sebastien, I'm as puzzled and frustrated as you are, > > Rich > _______________________________________________ > SlackBuilds-users mailing list > SlackBuilds-users@slackbuilds.org > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users > Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ > FAQ - https://slackbuilds.org/faq/ > >
_______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/