|Version 47 (modified by phil, 8 years ago)|
If you encounter any problems while installing and/or compiling Gobby or its dependencies (libobby, net6), write into the WikiForum.
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.1.exe here.
- Doubleclick gobby_setup-0.2.1.exe
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.
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.
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:
Thanks to Gustavo Felisberto, portage contains ebuilds for net6, libobby and gobby.
If it is masked because it is considered as unstable, and you want gobby nevertheless, type
ACCEPT_KEYWORDS="~x86" emerge gobby
Note that you have to replace x86 corresponding to your architecture.
Gobby 0.2.0 is now available for Debian Sarge and Debian unstable. For Sarge you need to add the following line to your /etc/apt/sources.list and to run both apt-get update and apt-get install gobby. It will also upgrade two other packages to newer versions.
deb http://pkern.debian.net/ debian/
For Debian unstable you currently need to add the following line to your /etc/apt/sources.list as the version in the archives is currently uninstallable. Please confirm that you want to install those packages when you are warned about the archive not being signed by a trusted key.
deb http://pkern.debian.net/ unstable/
Ubuntu GNU/Linux (based on Debian)
For Ubuntu "Hoary" you need to turn on universe access first before adding my repository. Please follow the instructions in your /etc/apt/sources.list how to do this. Then add the following:
deb http://pkern.debian.net/ ubuntu/
There are only i386 builds available, but we would be glad if anybody could make us a powerpc or amd64 build box available.
Mac OS X
Because of Gobby's dependencies it is still a bit tricky to compile it on Mac OS X.
I'll try to make binary builds available in the near future. However, please be aware that Gobby does not use Mac OS X's native interface but instead depends on Apple's X11 as the windowing toolkit is uses is not (yet?) ported natively to Mac OS X.
I have build problems on FreeBSD (in net6):
src/error.cpp: In function `net6::error::code <unnamed>::gai_to_net6(int)': src/error.cpp:229: error: `EAI_ADDRFAMILY' undeclared (first use this function) src/error.cpp:229: error: (Each undeclared identifier is reported only once for each function it appears in.) src/error.cpp:232: error: `EAI_NODATA' undeclared (first use this function)
It seems that FreeBSD's getaddrinfo() implementation does not support these two error values (run man getaddrinfo to verify this: The values should not be listed the the RETURN VALUES section). It should be enough to remove the corresponding lines (Lines 229, 230, 232, 233). I will #ifdef them for the next net6 version.
Maybe use autoconf's magic instead of writing hundreds of ifdef-lines there. Or maybe you should write #ifdef linux there :-)
I had to relocate the pkg-config file after net6 install:
cp /usr/local/lib/pkgconfig/net6-1.0.pc /usr/local/libdata/pkgconfig/
cp /usr/local/lib/pkgconfig/obby-1.0.pc /usr/local/libdata/pkgconfig/