This will give you the latest Gobby version.
The Windows version of Gobby has still some limitations:
- There is no ZeroConf support.
- Opening a session may take some seconds (stable only).
Compiling Gobby on your own
Alternatively, you can compile the whole source for your own. I suggest the MingW compiler in combination with the MSYS shell replacement (I did not test any other build environments, so I would like to hear from you if you try another one). You will need the gtkmm development package and a distribution tarball of net6, libobby (or libinfinity, if you intend to build Gobby 0.4.93) and gobby which may be found at http://releases.0x539.de.
However, I currently strongly recommend to use the installer for Microsoft Windows. There is no real need to compile the whole packages for your own.
If you wish to compile Gobby for Windows via Linux (i.e., cross-compile), there are several prerequisites to this venture:
- If you are running Gentoo Linux and do not wish to compile all the prerequisites or use the supplied libraries, there is a Bazaar branch of ebuilds available at http://bzr.malept.com/xmingw/ that can be downloaded via
bzr branch http://bzr.malept.com/xmingw/
- If you are running Debian/Ubuntu, these instructions are sorely incomplete and untested, due to the original author not ever trying it on said system. YMMV (Your mileage may vary).
- Install a package of, or compile the gcc cross-compiler and binutils:
- Gentoo: emerge xmingw-gcc xmingw-binutils
- Debian/Ubuntu: apt-get install mingw32 mingw32-binutils
- Install a package of, or compile the MinGW runtime and w32api:
- Gentoo: emerge xmingw-runtime xmingw-w32api
- Debian/Ubuntu: apt-get install mingw32-runtime
- For Gentoo, re-emerge xmingw-gcc to enable support for C++ compilation. Make sure that nocxx is not in the USE flags.
- If you use the ebuilds, run emerge -av gobby-xmingw, making sure that the USE flags are to your liking. Note that as of the original writing of this section, the ebuilds for GNOME dependencies have not been written, so YMMV.
- If you use the supplied libraries from this website:
- place the DLLs into /opt/xmingw/bin for Gentoo.
- remember to run all ./configure scripts with the flag --host=i386-mingw32msvc under Gentoo and --host=i586-mingw32msvc under Debian/Ubuntu.
- If you wish to actually run your cross-compiled gobby.exe on your Linux box, you need to install and configure WINE. YMMV.
Gobby may be installed as most other applications for the Linux operating system: Get the tarballs from http://releases.0x539.de and run ./configure, make and make install. All packages will complain about missing dependencies during the configure run.
Gobby 0.5 (Gobby 0.4.90 or higher)
You need to install libinfinity first. It needs gnutls >= 1.7.4 and gsasl >= 0.2.21 to compile. You need to connect to an instance of infinoted to actually use Gobby 0.5. infinoted is included with the libinfinity package.
For Gobby additional dependencies apply. You are required to install the development headers of Gtkmm >= 2.12.0 and of all of its dependencies. You'll also need libxml++ >= 2.6.0 and gtksourceview-2.0 and their respective dependencies.
You need to install net6 first. It needs libsigc++ >= 2.0.0 and gnutls >= 1.0.0 to compile.
Then start to compile obby. It does not need any further libraries to compile, except if you want ZeroConf support. For it to work you need to install either the library called Howl or the compatibility package Avahi provides for it. Don't forget to pass --with-howl to obby's configure script if you want the server autodiscovery.
For Gobby additional dependencies apply. You are required to install the development headers of Gtkmm >= 2.6.0 and of all of its dependencies. You'll also need libxml++ >= 2.6.0 and gtksourceview and their respective dependencies.
Get Gobby via your distribution
It is easier to use the packaging system of your distribution. They might provide outdated versions, though. Please be aware that major versions of Gobby are incompatible with each other. However, it is possible to install Gobby 0.4.x and Gobby 0.5 (0.4.90 or higher) in parallel on the same system. Procedures for the following distributions are known:
Gobby is included in Fedora and can be installed via Yum:
yum install gobby
Thanks to Gustavo Felisberto, portage contains ebuilds for net6, libobby and gobby. They are kept up-to-date by him.
If the most recent version of gobby is still masked because it is considered as unstable, but you want to install it nevertheless, add the following in your /etc/portage/package.keywords file:
Note that you have to replace x86 corresponding to your architecture. If portage keeps complaining that other packages, which gobby depends on, are also masked, simply add them to your your /etc/portage/package.keywords file like you did with app-editors/gobby.
Gobby 0.4.1 is available in Debian Etch (aka. stable). Debian Sid (aka. unstable) has up-to-date versions of Gobby, and these versions filter into Debian Lenny (aka. testing) as they stabilize (see http://www.debian.org/devel/testing for more on how the testing distribution works). No backports to Sarge currently exist.
To install from repository
This script will clone the git sources and install gobby and infinote. Note that this script is written for lenny. If you have an older distribution the package names will be different and you will run into version conflicts. You need to have sudo installed.
sudo apt-get install gcc make autoconf automake libacl1 intltool # install infinote sudo apt-get install gtk-doc-tools libgsasl7-dev uuid-dev echo "Starting infinote installation" git clone git://git.0x539.de/git/infinote.git && \ cd infinote && \ ./autogen.sh && \ make && \ sudo make install && \ echo "Successfully installed infinote." # install gobby sudo apt-get install libgtkmm-2.4-dev echo "Starting gobby installation" git clone git://git.0x539.de/git/gobby.git && \ cd gobby && \ git checkout -b gobby-infinote origin/gobby-infinote && \ ./autogen.sh && \ make && \ sudo make install && \ echo "Successfully installed gobby."
Note: If you are getting an error like libinftext-0.5.so.0: cannot open shared object file: No such file or directory , ensure that /usr/local/lib is listed in /etc/ld.so.conf.d/libc.conf and run sudo ldconfig .
Ubuntu Lucid (10.04) has Gobby 0.5. Installing is easy:
$ sudo aptitude install gobby-infinote
Ubuntu Gutsy (7.10) has Gobby 0.4.5. Ubuntu Edgy (6.10) and newer have Gobby 0.4.1. Ubuntu Dapper has 0.3, and Ubuntu Breezy has 0.2.2. For newer versions on Breezy, see LatestGobbyOnUbuntuBreezy. No backports to Hoary currently exist.
Gobby is maintained in community repository. Make sure you have community repository listed in your pacman.conf and do
pacman -S gobby
Starting Gobby the console prints:
"*** WARNING *** The programme 'gobby' uses the HOWL compatiblity layer of Avahi. *** WARNING *** Please fix your application to use the native API of Avahi! *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=howl&e=gobby>"
Mac OS X
(This section only handles Gobby 0.4.x and does not necessarily apply to the 0.5 series (0.4.90 or higher). If you made any experience with 0.5, please update this page as necessary. Thanks!)
The recommended and supported method to install Gobby on Mac OS X is MacPorts.
Due to breakage with the C++ compiler Apple provided on the installation CDs (i.e. Xcode 2.0) the chances are high that the linking against gmp-cxx-wrappers fails. Please install Xcode 2.1 or any later version before compiling gmp and if possible before installing MacPorts. (You'll need an Apple Developer Connection account in order to receive a download link. Registration is free of charge.) You need to reinstall gmp if you updated Xcode in the meantime. The compilation is confirmed to work on Tiger with Xcode 2.1. On Panther you should install the gcc40 port instead. (But no tests were done on this platform by now.)
From an account with administrator privileges:
$ sudo port selfupdate # to update MacPorts and its port definitions $ sudo port install gobby
This takes a very long time and involves many downloads. A night should be sufficient for the building of all libraries and Gobby, though.
It always helps to keep plenty of space available. The Xcode download weights one CD and then you have to install half a Linux distribution through MacPorts, but well... You should be safe with 3 GiB of free space during build. Most probably it does not need that much afterwards, but disk space is cheap even on iBooks, isn't it?
28 Oct 2011
On 28 Oct 2011, with OS X 10.6.8 and XCode 3.2.6 and up-to-date MacPorts, I have the following problem at the very end of "sudo port install gobby" (which took under an hour, even though it had to install all the dependencies):
---> Fetching archive for gobby ---> Attempting to fetch gobby-0.4.92_1.darwin_10.x86_64.tbz2 from http://packages.macports.org/gobby ---> Fetching gobby ---> Attempting to fetch gobby-0.4.92.tar.gz from http://releases.0x539.de/gobby/ ---> Verifying checksum(s) for gobby ---> Extracting gobby ---> Configuring gobby Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for gobby is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_t arballs_ports_x11_gobby/gobby/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Ok, so here's the end of the log file:
... :info:configure checking for ranlib... ranlib :info:configure checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes :info:configure checking whether to enable WIN32 specific flags... no :info:configure checking for pkg-config... /opt/local/bin/pkg-config :info:configure checking pkg-config is at least version 0.9.0... yes :info:configure checking for gobby... yes :info:configure checking for infinote... configure: error: Package requirements (libinfinity-0.3 libinftext-0. 3 libinfgtk-0.3 libinftextgtk-0.3) were not met: :info:configure :info:configure No package 'libinfgtk-0.3' found :info:configure No package 'libinftextgtk-0.3' found :info:configure :info:configure Consider adjusting the PKG_CONFIG_PATH environment variable if you :info:configure installed software in a non-standard prefix. :info:configure :info:configure Alternatively, you may set the environment variables infinote_CFLAGS :info:configure and infinote_LIBS to avoid the need to call pkg-config. :info:configure See the pkg-config man page for more details. :info:configure :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macpor ts.org_release_tarballs_ports_x11_gobby/gobby/work/gobby-0.4.92" && ./configure --prefix=/opt/local " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for gobby): org.macports.activate org.macports.c onfigure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for gobby is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macp orts.org_release_tarballs_ports_x11_gobby/gobby/main.log
I assume the key issue is the part that says
Package requirements (libinfinity-0.3 libinftext-0.3 libinfgtk-0.3 libinftextgtk-0.3) were not met
but I don't know the proper way (or any way) to fix this. If you know what to do about this, please add the info here!
As of obby 0.2.1 and Gobby 0.2.2 all components should compile on FreeBSD without problems.
Gobby 0.4.90 has not yet been tested on FreeBSD.