| Version 52 (modified by Choas, 8 years ago) |
|---|
If you encounter any problems while installing and/or compiling Gobby or its dependencies (libobby, net6), write into the WikiForum.
Microsoft Windows
Rough & Dirty
- Download gtkmm-runtime-2.6.2-1.exe here (In case you haven't got it already installed - Gobby needs this before being installed)
- Make sure you are still online. Doubleclick gtkmm-runtime-2.6.2-1.exe. The installer downloads another component before installing the gtkmm-runtime.
- Download gobby_setup-0.2.2.exe here.
- Doubleclick gobby_setup-0.2.2.exe
- If you are unable to get Gobby to start after the installation completes download and install the Gtk+/Win32 Runtime Environment Installer at http://gladewin32.sourceforge.net/ (this fixed problems for a number of folks).
Ready.
With more words:
We provide an installer for the Micrsoft Windows platforms here. Note that this installer is not as up-to-date as the darcs repository at darcs.0x539.de and may be some weeks old (but it provides mostly a stable version of Gobby). Before you install Gobby with the installer, be sure that gtkmm-2.6 is installed on your system. If it isn't, get it from here.
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-2.6 development package from the site mentioned above and a distribution tarball of net6, libobby and gobby which may be found at http://releases.0x539.de.
You will also need gmp(xx), libgnomeprint and gtksourceview. If you do not want to compile them, there are developement packages containing header files, import libraries and runtime libraries available in the gobby-dist on darcs.0x539.de. Note that I hacked gtksourceview to search in the common app data folder for its language-spec files (this is the place where the Gobby installer installs them, too). Another two prebuilt packages are available for net6 and libobby. The libobby-DLL has GMP linked statically, so there is no need to compile it. I did not succeed to build a working gmpxx DLL.
You also need to have working pkg-config .pc-files for the four libraries, so the configure scripts can detect that the dependencies are installed and where to find the haeder and library files of them. If you compile the libraries for your own, they will be generated and installed through make install automatically. If you use the precompiled binaries from gobby-dist, you have to build your own files. Type echo $PKG_CONFIG_PATH in the MSYS shell to show up the directory where pkg-config looks for its files. Move to this directory and look on the already existing files to know how they work. It's pretty easy. I recommend to copy an existing file, rename it following this table and adjust the include and library paths.
| libgnomeprint | libgnomeprint-2.2.pc |
| gtksourceview | gtksourceview-1.0.pc |
| net6 | net6-1.1.pc |
| libobby | obby-0.2.pc |
By the way: If you do not have pkg-config, you do not have gtkmm-devel properly installed.
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.
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. Install first net6, then libobby, then gobby. net6 and libobby require libsigc++ >= 2.0.0 to compile, Gobby depends on gtkmm >= 2.6.0 and libxml++ >= 2.6.0.
You can also use the packaging system of your distribution to install Gobby easily if you are using one of the following:
Gentoo Linux
Thanks to Gustavo Felisberto, portage contains ebuilds for net6, libobby and gobby.
emerge gobby
If it is masked because it is considered as unstable, and you want gobby nevertheless, add following in your /etc/portage/package.keywords file:
app-editors/gobby ~x86
and maybe this:
dev-cpp/gtkmm ~x86
Note that you have to replace x86 corresponding to your architecture.
Debian GNU/Linux
Gobby 0.2.2 is available in Debian Sid (aka. unstable) and in the universe component of Ubuntu Breezy. Backports to Sarge and Hoary are currently not available.
Mac OS X
Gobby will enter DarwinPorts soon, the Portfiles are already in preparation. Please stay tuned.
The old guide: How To Compile Gobby on Mac OS X
FreeBSD
As of obby 0.2.1 and Gobby 0.2.2 all components should compile on FreeBSD without problems.
