Hello folks,
I am trying to install the gtk+ C-API on a Red Hat 4.1.2-46 (Kernel: 2.6.18-164.el5) box. I have no priviledged account on this machine and I want to install the stuff in a subdirectory under my home directory, since the system wide accessible gtk+-library seems to be too old to work properly with the Gtk-Perl binding I want to deploy.
One of the dependencies of gtk+ is Glib and the trouble starts with this. Running configure by issueing the following command line:
Code:
./configure --prefix=$PRJ/gtk+/glib
(with $PRJ containing the path to my project's directory (residing under my home directory))
ends with an exit status of 0, although config.log reveals quite a lot of error messages mainly due to missing header files.
But the subsequent make fails with the following error messages:
Code:
/usr/bin/msgfmt -o test.mo ./de.po; \
/bin/mkdir -p de/LC_MESSAGES; \
cp -f test.mo de/LC_MESSAGES
./de.po:15: keyword "msgctxt" unknown
./de.po:15:8: parse error
/usr/bin/msgfmt: found 2 fatal errors
cp: cannot stat `test.mo': No such file or directory
The web says that this is probably due to libintl (providing the gettext()-function) being too old.
Therefore I installed the GNU gettext-package in the following location:
$PRJ/gtk+/gettext
and retried the Glib-installation as follows:
Code:
export CPPFLAGS="-I$PRJ/gtk+/gettext/include"
export LDFLAGS="-L$PRJ/gtk+/gettext/lib"
./configure --prefix=$PRJ/gtk+/glib
make
But to no avail (same error messages as above).
The gettext-package I installed "locally" is of version 0.18.1.1, Glib has the version number 2.25.10.
My experience with the autotools and compilation of c-programs is very confined, therefore I guess I a missing something out with the environment/flags for the compiler/linker.
Any help is appreciated.
Cheers
Bloehdian