Issue running configure to build project: Syntax error near unexpected token `FT2
rodolfomg opened this issue · 3 comments
I keep getting an error related to FT2:
checking for PTHREAD_PRIO_INHERIT... yes
./configure: line 23447: syntax error near unexpected token `FT2,'
./configure: line 23447: ` PKG_CHECK_MODULES(FT2, freetype2 >= 11.0.5, , as_fn_error $? "FreeType2 (>= 11.0.5) is required and could not be found!" "$LINENO" 5)'
when running ./configure
I have freetype updated:
> brew install freetype2
Warning: freetype 2.10.4 is already installed and up-to-date.
To reinstall 2.10.4, run:
brew reinstall freetype
Might be that PKG_CHECK_MODULES does not exist? PKG_CHECK_MODULES
is part of pkg.m4, which should be part of pkg-config. Do you have pkg-config installed? brew install pkg-config
would be the command, I think.
Also make sure that automake, autoconf, libtool and gettext are installed.
If all these are installed, maybe a round of autoreconf might help, invoked by our autogen.sh
script (i.e. ./autogen.sh
).
@rodolfomg, did you have any luck with these suggestions? :)
Closing as potentially fixed. Feel free to reopen if there's still issues.
Also feel free to comment if you think the documentation (here in our Wiki: https://wiki.xoreos.org/index.php?title=Compiling_xoreos ) could be extended to make sure no one else stumbles over it.