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

Didier Spaier didier at slint.fr
Fri Aug 4 18:16:18 UTC 2017


Hello,

Le 04/08/2017 à 17:31, Rich Shepard a écrit :
>   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,

No issue here with the header in /usr/include/freetype2/too.


The relevant part of the build log is attached.

I build all packages with fakeroot, but I
fail to see how that could make a difference.

Didier
-------------- next part --------------
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.6.3") 
-- FreeType2 Library Found OK
-- Looking for FT_Get_First_Char in /usr/lib64/libfreetype.so
-- Looking for FT_Get_First_Char in /usr/lib64/libfreetype.so - found
-- Looking for FT_Get_Next_Char in /usr/lib64/libfreetype.so
-- Looking for FT_Get_Next_Char in /usr/lib64/libfreetype.so - found
-- Previously selected rendering system: CAIRO
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for one of the modules 'libcairo>=1.2.0;cairo>=1.2.0'
-- Found Cups: /usr/lib64/libcups.so (found version "2.1.4") 
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.4") 
-- Checking for one of the modules 'fontconfig'
-- Found HYPHEN: /usr/lib64/libhyphen.so  
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Boost version: 1.63.0
-- Boost: FOUND, building 2geomtools
-- Source header files will be installed
-- /home/didier/Slint/repo/x86_64/slint-testing/source/scribus/scribus-1.4.6/resources/translations/po
-- The following GUI languages will be installed: 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/didier/Slint/repo/x86_64/slint-testing/source/scribus/scribus-1.4.6
Scanning dependencies of target scribus_desaxe_lib
[  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
[  0%] Building CXX object scribus/desaxe/CMakeFiles/scribus_desaxe_lib.dir/saxfilter.cpp.o


More information about the SlackBuilds-users mailing list