Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: gegl ./configure problem

  1. #1
    Join Date
    Mar 2011
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Unhappy gegl ./configure problem

    Hi guys!

    So, I've been trying to install gimp 2.8 rc1 on my Ubuntu 10.10
    and I installed a bunch of libraries. Then I got stuck on gegl 0.2.0.
    compiling...
    At a point after the ./configure (or ./autogen.sh) command it says:

    Code:
    ./configure: line 16446: syntax error near unexpected token `$GLIB_REQUIRED_VERSION,'
    ./configure: line 16446: `AM_PATH_GLIB_2_0($GLIB_REQUIRED_VERSION, :,'
    What does it mean? I already installed the glib 2.28.2. version (which is btw one of the newest versions) and it still bugs me..

    Can somebody help?
    goddamn windows, U'll never have me!!!!

  2. #2
    Join Date
    Jul 2007
    Location
    Cheyenne, WY, USA
    Beans
    Hidden!
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: gegl ./configure problem

    Moved to Packaging and Compiling Programs.
    --Ann

    Forum Do's and Dont's
    "I want to tell you the story of how you can take back control of your computer"
    Temporary work-around to mark your thread SOLVED
    _______________________________________________
    "I like coffee exceedingly...." --H.P.Lovecraft

  3. #3
    Join Date
    Mar 2011
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gegl ./configure problem

    Sorry, didn't know where to put the topic..

    so, anyone...help?
    goddamn windows, U'll never have me!!!!

  4. #4
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    6,420
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: gegl ./configure problem

    How about first running "sudo apt-get build-dep gegl"? Maybe it's missing a dependent library.

  5. #5
    Join Date
    Jun 2010
    Location
    the back woods
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: gegl ./configure problem

    Quote Originally Posted by cerke View Post
    Hi guys!
    Code:
    ./configure: line 16446: syntax error near unexpected token `$GLIB_REQUIRED_VERSION,'
    ./configure: line 16446: `AM_PATH_GLIB_2_0($GLIB_REQUIRED_VERSION, :,'
    This error means the file /usr/share/aclocal/glib-2.0.m4 is not installed. It is normally packaged in libglib2.0-dev -- check to see if that package is installed. If you built glib from source instead, make sure it was built with the right prefix and installed properly.

  6. #6
    Join Date
    Mar 2011
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gegl ./configure problem

    tried the 'sudo apt-get build-dep gegl' already a bunch of times, and it says:
    Code:
    E: Could not open file /var/lib/apt/lists/ppa.launchpad.net_otto-kesselgulasch_gimp_ubuntu_dists_maverick_main_source_Sources - open (2: No such file or directory)
    then I tried to add that ppa repository that it asks, but with no result..
    (I think someone put the whole gimp 2.8 package on that repository but it seams that I can't install from it..)

    And after that not working tried to install the 'libglib2.0-dev' library and it works!!
    gegl finally has everything it needs to run the 'make' command.
    so, I run make && make install and it seams everything is as it should be.

    but then I try to run ./configure for the gimp 2.8 rc1 installation and it says:
    Code:
    checking for GEGL... no
    configure: error: Package requirements (gegl-0.2 >= 0.2.0) were not met:
    
    No package 'gegl-0.2' found
    
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    
    Alternatively, you may set the environment variables GEGL_CFLAGS
    and GEGL_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    da faq? checked it, gegl 0.2 package is in the usr/local/lib directory (among all).
    why does it say it's not there?
    goddamn windows, U'll never have me!!!!

  7. #7
    Join Date
    Jun 2010
    Location
    the back woods
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: gegl ./configure problem

    Quote Originally Posted by cerke View Post
    tried the 'sudo apt-get build-dep gegl' already a bunch of times, and it says:
    gegl 0.2 package is in the usr/local/lib directory (among all).
    why does it say it's not there?
    Perhaps the rules to search for gegl do not look in /usr/local... did you try setting GEGL_CFLAGS and GEGL_LIBS explicitly?

  8. #8
    Join Date
    Mar 2011
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gegl ./configure problem

    it seams I cannot find those scripts...
    where could they be?
    goddamn windows, U'll never have me!!!!

  9. #9
    Join Date
    Jun 2010
    Location
    the back woods
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: gegl ./configure problem

    Quote Originally Posted by cerke View Post
    it seams I cannot find those scripts...
    where could they be?
    They're enviroment variables.

    I think the solution is to set PKG_CONFIG_PATH to pick up your installation before running configure.

    Try
    Code:
    PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
    and see if that helps. Note that there are no spaces around the '=', that's important.

  10. #10
    Join Date
    Mar 2011
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gegl ./configure problem

    still the same.
    where are this variables (GEGL_CFLAGS and GEGL_LIBS) set so I can set them manually? maybe that will do..
    goddamn windows, U'll never have me!!!!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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