Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-03-2007, 08:28 AM   #1
Registered: Feb 2004
Location: by the Bavarian Sea
Distribution: Slackware 14.2
Posts: 64

Rep: Reputation: 18
Compiling glib 2.12 fails: [gmarshal.h] Error 127

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:

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; \
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall   -o glib-genmarshal  glib-genmarshal.o ../glib/
mkdir .libs
gcc -g -O2 -Wall -o .libs/glib-genmarshal glib-genmarshal.o  ../glib/.libs/
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.

Last edited by furryspider; 03-03-2007 at 08:31 AM. Reason: forgot a translation...
Old 03-03-2007, 10:27 AM   #2
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
make[2]: execvp: true: Keine Berechtigung /* =="Permission denied" */
This means you have not the permission to run the 'true' command.
Check this with
ls -l /bin/true
you should get something like :
-rwxr-xr-x 1 root root 12436 déc 21 07:15 /bin/true
If this is not the case do under root:
chmod 755 /bin/true

Another possibility would be to run the 'make' command under root login.
Good luck.

Last edited by berbae; 03-03-2007 at 10:36 AM.
Old 03-03-2007, 01:27 PM   #3
Registered: Feb 2004
Location: by the Bavarian Sea
Distribution: Slackware 14.2
Posts: 64

Original Poster
Rep: Reputation: 18
Yes, that's what it was!

I didn't realize this was referring to the _command_ true. Thought it was the result of an evaluation or something.

I adjusted the permissions, now it works like a charm.
Thank you!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error in compiling glib-2.6 arvind.ayyangar Linux - Software 2 08-07-2006 01:05 AM
MySQL Error 1030 : Got error 127 from storage engine mohtasham1983 Programming 2 02-24-2006 07:47 AM
xmms install (needs glib>1.22), just installed glib 2.4.8 and still get error message eskiled Linux - Software 2 12-19-2005 09:12 PM
DSN: Data format error & relay=[] [] calmbomb Linux - Software 0 11-07-2004 03:24 PM
Compiling GAIM says i need GLib 2.0, yet i have GLib 2.4 MadSkillzMan Linux - Newbie 3 07-10-2004 04:10 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration