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 running autogen #119

Open
flack opened this issue Sep 8, 2011 · 4 comments
Open

Syntax error when running autogen #119

flack opened this issue Sep 8, 2011 · 4 comments

Comments

@flack
Copy link
Member

flack commented Sep 8, 2011

When running

./autogen.sh --prefix=/usr --with-dbus-support --enable-introspection=no

on current ratatoskr, I get

checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gobject-introspection... /var/repos/midgard-core/configure: line 2887: syntax error near unexpected token `gobject-introspection-1.0,,'
/var/repos/midgard-core/configure: line 2887: `            PKG_CHECK_EXISTS(gobject-introspection-1.0,,'

Run `make` to compile

Since this is a fresh server, I'm sure I'm just missing a required package, but it still doesn't look like this is supposed to happen (also, which package is missing? Server is Debian 6 AMD64).

@piotras
Copy link
Member

piotras commented Sep 9, 2011

Did you try to install packages from dev repo?
http://download.opensuse.org/repositories/home:/midgardproject:/ratatoskr-dev/Debian_6.0/amd64/

Not sure yet, but it looks like some autoconf issue or introspection.m4 file.

@flack
Copy link
Member Author

flack commented Sep 9, 2011

I try to avoid the deb packages because there's always a time lag, and so far, every installation I did had to switch to the git version sooner or later to test fixes for some issues, so I'd like to use the git version on this machine right from the start.

BTW: Is there a checklist of dependencies somewhere?

@piotras
Copy link
Member

piotras commented Sep 9, 2011

As of today, debs == git version.

The dependencies list (for midgard-core) is defined in configure script:

PKG_CHECK_MODULES(MIDGARD, glib-2.0 gobject-2.0 libxml-2.0 libgda-4.0 $dbus_libs)

The error you have comes from introspection macro. Probably it's located in '/usr/share/aclocal/introspection.m4'.
You can copy it to midgard-core's 'm4' directory.

@flack
Copy link
Member Author

flack commented Sep 9, 2011

I played around a little and AFAICT the problem was that pkg-config was not installed. after installing it, it now shows me which packages are missing.

So no pkg-config leads to syntax error

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