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

Симонъ Болокановъ sbolokanov at abv.bg
Fri Aug 4 18:23:18 UTC 2017


It builds here fine too.
According to BUILDING you can add paths with:
-DCMAKE_INCLUDE_PATH=/path/to/libfoo/include


-- Симонъ С. Болокановъ









 >-------- Оригинално писмо --------

 >От: Rich Shepard rshepard at appl-ecosys.com

 >Относно: [Slackbuilds-users] Scribus-1.4.6: build fails not finding
 freetype.h

 >До: slackbuilds-users at slackbuilds.org

 >Изпратено на: 04.08.2017 18:31


   I'm trying to upgrade scribus from 1.4.4. to 1.4.6, but the build fails

here:



[  0%] Building CXX object

scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxXML.cpp.o

[  0%] Building CXX object

scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o

In file included from

/tmp/SBo/scribus-1.4.6/scribus/desaxe/saxiohelper.cpp:10:0:

/tmp/SBo/scribus-1.4.6/scribus/scfonts.h:19:23: fatal error: freetype.h: No

/ such file or directory

  #include FT_FREETYPE_H

                        ^

compilation terminated.

make[2]: ***

[scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxiohelper.cpp.o] Error 1

make[1]: *** [scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/all] Error 2

make: *** [all] Error 2



   However, that header file is on the system

(/usr/include/freetype2/freetype.h) and, I assume, the build script is

looking for it in /usr/include/freetype/. I created a softlink so

/usr/include/freetype points to /usr/include/freetype2, but that's not

working. I see nothing in the build script where I can point to the

directory containing freetype.h.



   Please advise me how to remedy this situation.



TIA,



Rich

_______________________________________________

SlackBuilds-users mailing list

 SlackBuilds-users at slackbuilds.org 

 https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users 

Archives -  https://lists.slackbuilds.org/pipermail/slackbuilds-users/ 

FAQ -  https://slackbuilds.org/faq/ 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170804/354472f7/attachment.html>


More information about the SlackBuilds-users mailing list