RSS/Atom feed Twitter
Site is read-only, email is disabled

Compiling Gimp on Ubuntu 9.10

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Compiling Gimp on Ubuntu 9.10 Markus Ilmola 05 Jun 12:34
  Compiling Gimp on Ubuntu 9.10 LightningIsMyName 05 Jun 13:18
   Compiling Gimp on Ubuntu 9.10 Markus Ilmola 05 Jun 14:44
Markus Ilmola
2010-06-05 12:34:58 UTC (over 14 years ago)

Compiling Gimp on Ubuntu 9.10

I am trying to compile the latest git version of Gimp on Ubuntu 9.10 (Karmic Koala). I got it compile, but it crashes when ever I try to create a new image. Does not matter how (File->new, paste from clipboard, take a screen shot, etz). Here are the debug messages to are printed:

This is a development version of GIMP. Debug messages may appear here.

Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

(lt-gimp-2.7:29511): Gtk-WARNING **: windows-show-toolbox: missing action windows-show-toolbox

(lt-gimp-2.7:29511): Gtk-WARNING **: windows-show-toolbox: missing action windows-show-toolbox

(lt-gimp-2.7:29511): Gtk-WARNING **: windows-show-toolbox: missing action windows-show-toolbox

(lt-gimp-2.7:29511): Gtk-WARNING **: windows-show-toolbox: missing action windows-show-toolbox
/home/markus/Projects/gimp/app/.libs/lt-gimp-2.7: symbol lookup error: /home/markus/Projects/gimp/app/.libs/lt-gimp-2.7: undefined symbol: gimp_pixels_to_units

(script-fu:29711): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

LightningIsMyName
2010-06-05 13:18:06 UTC (over 14 years ago)

Compiling Gimp on Ubuntu 9.10

Hello

On Sat, Jun 5, 2010 at 1:34 PM, Markus Ilmola wrote:

I am trying to compile the latest git version of Gimp on Ubuntu 9.10 (Karmic Koala). I got it compile, but it crashes when ever I try to create a new image. Does not matter how (File->new, paste from clipboard, take a screen shot, etz). Here are the debug messages to are printed:
...
/home/markus/Projects/gimp/app/.libs/lt-gimp-2.7: symbol lookup error: /home/markus/Projects/gimp/app/.libs/lt-gimp-2.7: undefined symbol: gimp_pixels_to_units

I don't know about the canberra-gtk-module error, but errors about missing symbols usually mean that the wrong version of the Dynamic libaray (.so) was loaded. Try running "ldd /path/to/your/gimp/executable" to see which versions of libraries are loaded.

If you have an old GIMP installation (2.6.X or older) this is likely to happen, since gimp_pixels_to_units() is a new function that was added after the 2.6 series, and if the old libraries of GIMP 2.6 are still in the path, they will be loaded instead of the new ones. Check that indeed the versions of libraries which are loaded (the ones that ldd shows) are the new versions which you compiled.

Anyway, if this is indeed the problem, try doing this in a console (bash) window:

export COMPILE_DIR=/the/prefix/directory/in/which/you/compiled/stuff export PATH=$COMPILE_DIR/bin:$PATH
export PKG_CONFIG_PATH=$COMPILE_DIR/lib/pkgconfig:$PKG_CONFIG_PATH export LD_LIBRARY_PATH=$COMPILE_DIR/lib:$LD_LIBRARY_PATH

And then run your compiled version of gimp from the same console window.

If this doesn't work, you may have to set these variables and then recompile your git version of GIMP (with these variables set).

Hope this helps =) ~LightningIsMyName

Markus Ilmola
2010-06-05 14:44:06 UTC (over 14 years ago)

Compiling Gimp on Ubuntu 9.10

You were right. It was loading an old version of libgimpbase. Thanks.