LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 12-06-2005, 01:27 AM   #1
Sjaaksken
LQ Newbie
 
Registered: Nov 2003
Posts: 26

Rep: Reputation: 15
GTK+ compile error : glib-mkenums


Hi,

I'm tryin to install the gimp from source and for that I need to install gtk+ (2.8.0)

I've installed every dependency (ats, pango, glib-devel, cairo) but every time I try 'make' for the gtk+ I get the same (annoying) error:

Code:
&& echo timestamp > s-enum-types-h
/bin/sh: glib-mkenums: command not found
make[2]: *** [s-enum-types-h] error 127
make[2]: Leaving directory `/home/Sjaaksken/gtk+-2.8.0/gdk-pixbuf'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/Sjaaksken/gtk+-2.8.0'
make: *** [all] error 2
I litteraly tried every possible thing that crossed my mind (installing other versions of glib-devel, deleting the glib-mkenums, making sure there aren't older versions in a different folder), all to no avail.

I checked and the glib-mkenums file is there in the apropiate folder, I don't see what causes this error. It's starting to work on my nerves.

Anyone with a similar problem or a solution?

Thx in advance,

sjaak
 
Old 12-06-2005, 02:19 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
glib-mkenums comes with glib2-devel

The tool 'pin' is very helpful in these cases. It searches the ARCHIVES.gz file from you installation medium. In this case I typed 'pin glib-mkenums' and got:
Code:
------------------------------------------------------------------
*** zgrep glib-mkenums /var/lib/pin/ARCHIVES.gz
------------------------------------------------------------------


./DVD1/suse/i586/glib2-devel-2.8.1-3.i586.rpm:    -rwxr-xr-x    1 root    root
          14274 Sep  9 19:15 /opt/gnome/bin/glib-mkenums
 
Old 12-06-2005, 11:16 AM   #3
Sjaaksken
LQ Newbie
 
Registered: Nov 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I did the 'pin'command as u said and here's the output:

Code:
pin 0.30 - package info for glib-mkenums

------------------------------------------------------------------
*** no rpm named glib-mkenums installed
------------------------------------------------------------------


------------------------------------------------------------------
*** zgrep glib-mkenums /var/lib/pin/ARCHIVES.gz
------------------------------------------------------------------


./CD1/suse/i586/glib2-doc-2.4.6-5.1.i586.rpm:    -rw-r--r--    1 root    root            11472 Dec 20 17:22 /opt/gnome/share/gtk-doc/html/gobject/glib-mkenum
s.html
./CD1/suse/i586/glib2-devel-2.4.6-5.1.i586.rpm:    -rwxr-xr-x    1 root    root            14110 Dec 20 17:22 /opt/gnome/bin/glib-mkenums
./CD1/suse/i586/glib2-devel-2.4.6-5.1.i586.rpm:    -rw-r--r--    1 root    root             1941 Dec 20 17:22 /opt/gnome/share/man/man1/glib-mkenums.1.gz
./CD1/suse/x86_64/glib2-doc-2.4.6-5.1.x86_64.rpm:    -rw-r--r--    1 root    root            11472 Dec 20 17:26 /opt/gnome/share/gtk-doc/html/gobject/glib-mk
enums.html
./CD1/suse/x86_64/glib2-devel-2.4.6-5.1.x86_64.rpm:    -rwxr-xr-x    1 root    root            14110 Dec 20 17:26 /opt/gnome/bin/glib-mkenums
./CD1/suse/x86_64/glib2-devel-2.4.6-5.1.x86_64.rpm:    -rw-r--r--    1 root    root             1941 Dec 20 17:26 /opt/gnome/share/man/man1/glib-mkenums.1.gz
Seems to be installed allright? alltho I have no idea what the x86_64 package is doin there.
 
Old 12-07-2005, 02:18 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
'pin' simply tells you which package contains the file you where looking for. To find out if this is already installed, you can use the rpm command, e.g.:

rpm -q glib2-devel

Last edited by abisko00; 12-07-2005 at 03:32 AM.
 
Old 12-10-2005, 05:31 PM   #5
Sjaaksken
LQ Newbie
 
Registered: Nov 2003
Posts: 26

Original Poster
Rep: Reputation: 15
re

Code:
linuxmachien:/home/Sjaaksken # rpm -q glib2-devel
glib2-devel-2.4.6-5.1
still clueless ...
 
Old 12-11-2005, 03:59 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Maybe you need to specify the location of glib-mkenums with a parameter in ./configure. It may also be that another version is required. At this point, I am not experienced enough to help out. But from what I have heard, the installtion of this gtk+ version on suse is tricky.
 
Old 12-11-2005, 03:16 PM   #7
Sjaaksken
LQ Newbie
 
Registered: Nov 2003
Posts: 26

Original Poster
Rep: Reputation: 15
well I tried specifyin different locations of glib-mkenums and I think it 's all related to some location difference between several of the glib and pkg-config and gdk-pixbuf packages.

I checked and rechecked the error logs and I noticed some indications:

first of all I installed glib2 and glib2-devel tru rpm, altho it gives a 'glib not installed, package needed' error in the gtk+ configure. If I download glib2 2.9.0 and compile from source it does find a glib library and displays: glib found -> 2.9.0

Also when tryin to compile gdk-pixbuf from source I got a libglib.la error (file not found). I checked this error and libglib.la is now installed as glib2-libglib.la. If I point to the glib2 folder (/opt/gnome) during configure of gdk-pixbuf it seems to continue but eventualy reproduces the same error (libglib.la not found in /usr/lib). I'm pretty damn stuck actually, I can't compile gdk-pixbuf, I can't compile gtk+2.7 or higher and ergo I can't compile gnome. It's a circular problem

Anyway thx for tryin to help me I appreciate it abisko.

Kind regards,

Sjaak
 
  


Reply


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 about not being able to find gtk+ and glib, but I jsut isntalled them GNUROCKS Linux - Software 10 06-01-2005 03:53 PM
glib-mkenums command not found RohanShrivastav Linux - General 3 02-17-2005 02:04 AM
glib-mkenums command not found RohanShrivastav Linux - Software 0 02-16-2005 04:54 AM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 06:07 PM
glib-2.4.0 compile error trollman Linux - Software 2 04-09-2004 09:37 AM


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

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