Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, i want to learn gtk programming and made a simple gtk program with glade. When i run the ./autogen.sh script, i get the following error, caused by the ...
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Location
    Germany
    Posts
    2

    failing to compile a simple glade app

    Hi all,

    i want to learn gtk programming and made a simple gtk program with glade. When i run the ./autogen.sh script, i get the following error, caused by the ./configure script:
    Code:
    [...]
    ./configure: line 5034: syntax error near unexpected token `PACKAGE,'
    ./configure: line 5034: `PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'
    I suppose this means that the PKG_CHECK_MODULES macro couldn't be found in the local aclocal.m4 file? In /usr/share/aclocal i found an .m4 file which defined the macro, so i tried to run libttoolize, aclocal, autoconf and automake manually, giving aclocal the parameter
    Code:
    aclocal -I /usr/share/aclocal,
    but this results in the same error.
    Any ideas how to fix that?

    Any help appreciated!

    florg

  2. #2
    Just Joined!
    Join Date
    Aug 2005
    Location
    Germany
    Posts
    2
    Problem solved
    It was that autoconf and automake had been installed with different prefixes.
    Both must have the same prefix, e.g. /usr, then it works...

    florg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •