| Version 134 (modified by anonymous, 3 years ago) |
|---|
If you encounter any problems while installing and/or compiling Gobby or its dependencies (obby, net6), write into the WikiForum or to the obby-users mailing list.
Microsoft Windows
- Download and install Gobby's 0.4.12 installer (stable) or Gobby's 0.4.93 installer (experimental).
This will give you the latest Gobby version.
Known limitations
The Windows version of Gobby has still some limitations:
- There is no ZeroConf support.
- Opening a session may take some seconds.
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.
You will also need gtksourceview, GnuTLS and, for Gobby 0.4.93 GSasl]. There are GtkSourceView? binaries on ftp.gnome.org, and installers for GnuTLS and GSasl available.
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.
Linux
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.
Gobby 0.4.x
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:
Fedora
Gobby is included in Fedora and can be installed via Yum:
yum install gobby
Gentoo Linux
Thanks to Gustavo Felisberto, portage contains ebuilds for net6, libobby and gobby. They are kept up-to-date by him.
emerge gobby
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:
app-editors/gobby ~x86
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.
Debian GNU/Linux
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."
Ubuntu
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.
Arch Linux
Gobby is maintained in community repository. Make sure you have community repository listed in your pacman.conf and do
pacman -S gobby
Known issues
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>"
It's avahi bug (ticket 116). Don't care, it's harmless.
It disappeares by updating to Gobby 0.4.3 or by setting the environment variable $AVAHI_COMPAT_NOWARN to 1. (see also
)
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?
FreeBSD
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.
Solaris 10
There is a detailed guide on how to set up the infinoted dedicated Server on Solaris 10: Infinote/SolarisBuild
