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

Syntax error when building on MacOS #53

Open
clemmy opened this issue Apr 21, 2022 · 1 comment
Open

Syntax error when building on MacOS #53

clemmy opened this issue Apr 21, 2022 · 1 comment

Comments

@clemmy
Copy link

clemmy commented Apr 21, 2022

After running brew install libtool autoconf automake and running ./autogen.sh, I ran into the following error:

./configure: line 16763: syntax error near unexpected token `CAIROMM,cairomm-1.0,cairomm=yes,cairomm=no'
./configure: line 16763: `PKG_CHECK_MODULES(CAIROMM,cairomm-1.0,cairomm=yes,cairomm=no)'

I still got a build working by removing the following lines from cola/configure.ac

#AC_CHECK_LIB(cairomm-1.0,cairo_create)
PKG_CHECK_MODULES(CAIROMM,cairomm-1.0,cairomm=yes,cairomm=no)
if test "x$cairomm" = "xyes"; then
	AC_DEFINE(HAVE_CAIROMM, 1, [Enable CairoMM code])
fi

This is on macOS 11.6.1.
autoconf 2.71
automaker 1.16.5
libtool 2.4.7

@jtmarmon
Copy link

For future searchers: you need to install pkg-config (brew install pkg-config) and likely rerun autoconf w/ autoconf -i -f

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