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

Rich Shepard rshepard at appl-ecosys.com
Sat Aug 5 20:49:18 UTC 2017


On Sat, 5 Aug 2017, Sebastien BALLET wrote:

> The differences between the line I sent in my previous post and the
> corresponding line from your last build is as below :

> --I/usr/include/freetype2
> +-I/usr/local/include

> I'm wondering why /usr/include/freetype2 is not found on your side. It
> seems (but I can be wrong) that /usr/local/include is used instead of
> /usr/include/freetype2. Maybe you have something in /usr/local/include
> which cause your issue.

Sebastien,

   Two years ago, for reasons long forgotten, I made a soft link in
/usr/local/include/freetype2 to /usr/include/freetype2. I just removed that
link.

   But, that does not fix the problem:

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
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

   This might help:

Invoking alternate editor...
> Friday, I can meet you somewhere closer to you. Otherwise it'll pretty
     IW   /tmp/pico.60854 (Modified)(mail)
Row 41   Col 1    1:47  Ctrl-K H for help
> The differences between the line I sent in my previous post and the
> corresponding line from your last build is as below :

> --I/usr/include/freetype2
> +-I/usr/local/include

> I'm wondering why  /usr/include/freetype2 is not found on your side. It
> seems (but I can be wrong) that /usr/local/include is used instead of 
> /usr/include/freetype2. Maybe you have something in /usr/local/include 
> which cause your issue.

Sebastien,

   Two years ago, for reasons long forgotten, I made a soft link in
/usr/local/include/freetype2 to /usr/include/freetype2. I just removed that
link.

   But, that does not fix the problem:

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
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

   This might help:

Invoking alternate editor...
> Friday, I can meet you somewhere closer to you. Otherwise it'll pretty
     IW   /tmp/pico.60854 (Modified)(mail)
Row 41   Col 1    1:47  Ctrl-K H for help
> The differences between the line I sent in my previous post and the
> corresponding line from your last build is as below :

> --I/usr/include/freetype2
> +-I/usr/local/include

> I'm wondering why  /usr/include/freetype2 is not found on your side. It
> seems (but I can be wrong) that /usr/local/include is used instead of 
> /usr/include/freetype2. Maybe you have something in /usr/local/include 
> which cause your issue.

Sebastien,

   Two years ago, for reasons long forgotten, I made a soft link in
/usr/local/include/freetype2 to /usr/include/freetype2. I just removed that
link.

   But, that does not fix the problem:

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
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

   This might help:

Invoking alternate editor...
> Friday, I can meet you somewhere closer to you. Otherwise it'll pretty
     IW   /tmp/pico.60854 (Modified)(mail)
Row 41   Col 1    1:47  Ctrl-K H for help
> The differences between the line I sent in my previous post and the
> corresponding line from your last build is as below :

> --I/usr/include/freetype2
> +-I/usr/local/include

> I'm wondering why  /usr/include/freetype2 is not found on your side. It
> seems (but I can be wrong) that /usr/local/include is used instead of 
> /usr/include/freetype2. Maybe you have something in /usr/local/include 
> which cause your issue.

Sebastien,

   Two years ago, for reasons long forgotten, I made a soft link in
/usr/local/include/freetype2 to /usr/include/freetype2. I just removed that
link.

   But, that does not fix the problem:

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
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

   This might help:

Invoking alternate editor...
> Friday, I can meet you somewhere closer to you. Otherwise it'll pretty
     IW   /tmp/pico.60854 (Modified)(mail)
Row 41   Col 1    1:47  Ctrl-K H for help
> The differences between the line I sent in my previous post and the
> corresponding line from your last build is as below :

> --I/usr/include/freetype2
> +-I/usr/local/include

> I'm wondering why  /usr/include/freetype2 is not found on your side. It
> seems (but I can be wrong) that /usr/local/include is used instead of 
> /usr/include/freetype2. Maybe you have something in /usr/local/include 
> which cause your issue.

Sebastien,

   Two years ago, for reasons long forgotten, I made a soft link in
/usr/local/include/freetype2 to /usr/include/freetype2. I just removed that
link.

   But, that does not fix the problem:

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
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

   This might help:

[root at salmo /opt/slackbuilds/Office/scribus]# find / -name freetype2
/usr/include/freetype2

   It's there, but not being picked up. Makes no sense to me.

Thanks,

Rich


More information about the SlackBuilds-users mailing list