[Scummvm-tracker] [ScummVM] #10807: CONFIGURE: FreeType detection fails on automatic re-run of configure script

Torbjörn Andersson trac at scummvm.org
Thu Nov 15 08:08:10 CET 2018


#10807: CONFIGURE: FreeType detection fails on automatic re-run of configure script
-------------------------+--------------------
Reporter:  eriktorbjorn  |      Owner:  (none)
    Type:  defect        |     Status:  new
Priority:  normal        |  Component:  Common
Keywords:                |       Game:
-------------------------+--------------------
 This happens for me under Debian with the current Git version of ScummVM.

 Whenever the configuration script is updated, and I type "make" it will
 automatically re-run the configuration script:

 {{{
 $ make
 Running ./configure with the last specified parameters

 ...

 Checking for FreeType2... no

 ...

 WARNING: Disabling engine Z-Vision because the following dependencies are
 unmet: FreeType2
 }}}

 Looking at config.log, I can see that the FreeType test program failed to
 compile:

 {{{
 g++ -fuse-ld=gold -Wl,--gdb-index   -ansi -W -Wno-unused-parameter -Wno-
 empty-body -g -gsplit-dwarf -fvar-tracking-assignments -pedantic -Wno-
 long-long  ./scummvm-conf.cpp -o ./scummvm-conf
 ./scummvm-conf.cpp:1:10: fatal error: ft2build.h: No such file or
 directory
  #include <ft2build.h>
           ^~~~~~~~~~~~
 compilation terminated.
 return code: 1
 }}}

 If I run the configure script manually and check that part of the log, it
 says:

 {{{
 g++ -fuse-ld=gold -Wl,--gdb-index   -ansi -W -Wno-unused-parameter -Wno-
 empty-body -g -gsplit-dwarf -fvar-tracking-assignments -pedantic -Wno-
 long-long  ./scummvm-conf.cpp -o ./scummvm-conf -I/usr/include/freetype2
 -I/usr/include/libpng16 -lfreetype
 return code: 0
 }}}

 So for some reason, some compiler flags were missing the first time
 around. I do not know what causes this.

--
Ticket URL: <https://bugs.scummvm.org/ticket/10807>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list