running ghello.c from mission 1
  • dunsta October 2011
    Hi

    I am trying to compile the ghello.c file from mission 1 on ubuntu 11.04.
    I have installed
    $sudo apt-get install libgtk-3-dev

    and am trying to compile with
    $gcc -Wall ghello.c -o ghello `pkg-config --cflags gtk+-3.0` `pkg-config --libs gtk+-3.0`

    which compiles fine, but when I try to run it, I get the error

    $Gtk-Message: Failed to load module "canberra-gtk-module"

    but when I try to install canberra, its already there

    $libcanberra-gtk-module is already the newest version.

    how can I run this program ?
  • jesstess February 11
    Hi dunsta,

    Does this thread help? http://ubuntuforums.org/showthread.php?t=1290156

    People in this thread had the same problem with other GTK applications, and unsetting or removing canberra from the GTK_MODULE environment variable fixed things.

Welcome to the OpenHatch forums!

OpenHatch is a community of people aiming to help newcomers find their way into free software projects. If you like talking about that, please join the conversation!

Sign in or register (ignoreme)