Comment 108 for bug 328575

Revision history for this message
mclay (michael-j-mclay) wrote :

I had the same problem as Brian Murrell in post #74. I have fixed the bug for the past two releases by commenting out the broken code in terminal.c. The test for gconf using gconf_ping_daemon() failed if the program was being called over an ssh connection. When I tried to compile the 2.29.6 source from the Ubuntu source the make command failed didn't compile. The error message was:

    gnome-terminal-2.29.6/src/terminal-window.c:3330: undefined reference to `GTK_WIDGET_REALIZED'
    collect2: ld returned 1 exit status

I am puzzled about the failure to build. It appears that the binaries for gnome-terminal in 10.4 may have been built against a different release.

The solution was to download the 2.29.92 release,and build it. The comment at line 451 of src/terminal.c describes the fix that was made in this release. Here are the steps required to build and install this release:

Download the gnome-terminal-2.29.92.tar.gz from https://launchpad.net/gnome-terminal/main/2.29.92:

    wget http://launchpad.net/gnome-terminal/main/2.29.92/+download/gnome-terminal-2.29.92.tar.gz

Get tools for building deb packages:

    sudo apt-get install autotools-dev fakeroot dh-make build-essential checkinstall

unpack tarball and enter the source directory:

    tar -xzf gnome-terminal-2.29.92.tar.gz
    cd gnome-terminal-2.29.92/

 build, and install the deb:

    ./configure
    make
    sudo checkinstall

The new gnome-terminal will be installed in /usr/local/bin.