Hello kind gents and ladies,
I'm here once more to beseech you for some gracious guidance. The board search didn't help me much. There's hundreds of threads about glib, but they mostly deal with it not being found correctly, which this is not about.
I am trying to compile glib 2.12.9 on a Slackware 11 installation (end target would be an up-to-date GTK with Dev-Gimp and Epiphany). ./configure runs through smoothly (I give it "--prefix=/usr --sysconfdir=/etc --enable-threads --with-threads=posix --enable-shared"), but make encounters difficulties:
Code:
make[2]: Leaving directory `/home/Benutzer/src08/glib-2.12.9/glib'
Making all in gobject
make[2]: Entering directory `/home/Benutzer/src08/glib-2.12.9/gobject'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -pthread -g -O2 -Wall -MT glib-genmarshal.o -MD -MP -MF ".deps/glib-genmarshal.Tpo" \
-c -o glib-genmarshal.o `test -f 'glib-genmarshal.c' || echo './'`glib-genmarshal.c; \
then mv -f ".deps/glib-genmarshal.Tpo" ".deps/glib-genmarshal.Po"; \
else rm -f ".deps/glib-genmarshal.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o glib-genmarshal glib-genmarshal.o ../glib/libglib-2.0.la
mkdir .libs
gcc -g -O2 -Wall -o .libs/glib-genmarshal glib-genmarshal.o ../glib/.libs/libglib-2.0.so
creating glib-genmarshal
make glib-genmarshal
make[3]: Entering directory `/home/Benutzer/src08/glib-2.12.9/gobject'
make[3]: »glib-genmarshal« ist bereits aktualisiert. /* =="is already up to date" */
make[3]: Leaving directory `/home/Benutzer/src08/glib-2.12.9/gobject'
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
&& ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen-gmh \
&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
&& (cmp -s xgen-gmh gmarshal.h 2>/dev/null || cp xgen-gmh gmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gmarshal.h
make[2]: execvp: true: Keine Berechtigung /* =="Permission denied" */
make[2]: *** [gmarshal.h] Fehler 127 /* =="Error 127" */
make[2]: Leaving directory `/home/Benutzer/src08/glib-2.12.9/gobject'
make[1]: *** [all-recursive] Fehler 1 /* =="Error 1" */
make[1]: Leaving directory `/home/Benutzer/src08/glib-2.12.9'
make: *** [all] Fehler 2 /* =="Error 2" */
Same deal with glib 2.12.8.
Does anyone know what the problem is? Am I not fulfilling some build requirement (the README basically only talks about pkg-config and make, which are both there)? What am I missing?
My theory so far is that make changes into the gobject directory, finds something there that makes it go back again, and THEN tries to do something which it should be doing while IN gobject (namely calling ./glib-genmarshal). However, I'm not knowledgable enough to judge if this assessment is even right, let alone what to do to correct the problem.
Any pointers would be greatly appreciated.