Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running configure to build project: Syntax error near unexpected token `FT2 #70

Closed
rodolfomg opened this issue May 29, 2021 · 3 comments

Comments

@rodolfomg
Copy link

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
@DrMcCoy
Copy link
Member

DrMcCoy commented May 29, 2021

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

@DrMcCoy
Copy link
Member

DrMcCoy commented Jun 1, 2021

@rodolfomg, did you have any luck with these suggestions? :)

@DrMcCoy
Copy link
Member

DrMcCoy commented Jun 10, 2021

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.

@DrMcCoy DrMcCoy closed this as completed Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants