LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-03-2005, 09:09 PM   #31
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45

Read this thread regarding the XFT error:

http://www.linuxquestions.org/questi...ighlight=pango
 
Old 02-04-2005, 05:45 AM   #32
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
I just gave up on my idea of source, I exported paths, I've done the works, and so, I'm doing urpmi which I ave tried before but it wasn't up-to-date. So, can someone tell me if this and its dependencies are correct and safe to install

[root@localhost gtk+-2.6.1]# urpmi gtk-devel
To satisfy dependencies, the following 10 packages are going to be installed (76 MB):
libglib1.2-devel-1.2.10-14mdk.i586
libgtk+1.2-devel-1.2.10-40mdk.i586
libxorg-x11-6.7.0-4.2.101mdk.i586
libxorg-x11-devel-6.7.0-4.2.101mdk.i586
libxpm4-3.4k-28.2.101mdk.i586
libxpm4-devel-3.4k-28.2.101mdk.i586
xorg-x11-6.7.0-4.2.101mdk.i586
xorg-x11-75dpi-fonts-6.7.0-4.2.101mdk.i586
xorg-x11-server-6.7.0-4.2.101mdk.i586
xorg-x11-xfs-6.7.0-4.2.101mdk.i586
Is this OK? (Y/n)

Thanx!
 
Old 02-04-2005, 06:10 AM   #33
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Well, unfortunately that won't work with gimp-2.2 (but it won't hurt either).

According to gimp-2.2.3's INSTALL you need GTK+ version 2.4.4 or better and that'll just give you 1.2.10.
The only thing you can/must/should urpmi are libfontconfig1-devel and libfreetype6-devel

Do you really need gimp-2.2 or are you doing this just for "fun"?

- Peder
 
Old 02-04-2005, 07:35 AM   #34
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
At first, it was just about keeping my computer up-to-date and because I like gimp2.2's features, and since my gtk which I had wouldn't work, I tried installing gtk. Gimp was missing glib, so I did try just installing that, but then it said gtk wasnt found or something, so I just started installing the full gtk.

I'll explain the rest later, gotta go to class, I'm checking in in between.
 
Old 02-04-2005, 11:01 AM   #35
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Just a thought, but if you go ahead and install that older version of GLIB, URPMI will install all its dependencies, as you saw in that list. After that, try and compiling the SOURCE of the most recent GLIB version since you now have all its dependencies then maybe that will get you the most recent version? Perhaps that is why I was able to compile from source with no problems.
 
Old 02-04-2005, 12:52 PM   #36
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
That makes good sense, and I'll try it when I get home.
 
Old 02-04-2005, 01:13 PM   #37
Tormented
Member
 
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92

Rep: Reputation: 15
You need to do:

urpmi libglib2.0_0-devel libgtk+2.0_0-devel

to get the correct version.
 
Old 02-04-2005, 02:37 PM   #38
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
I did urpmi gtk-devel, and then I installed it and then the new one. Everything went fine, atk, pango, glib, and ./configure --prefix=/usr worked on gtk, but og course, here's what make said. The whole thing wouldnt fit, I'll show you where all the errors happened.



Code:
../../gdk/gdkdrawable.h:94: error: syntax error before "PangoFont"
../../gdk/gdkdrawable.h:161: error: syntax error before "PangoMatrix"
../../gdk/gdkdrawable.h:327: error: syntax error before "PangoFont"
../../gdk/gdkdrawable.h:335: error: syntax error before "PangoLayoutLine"
../../gdk/gdkdrawable.h:340: error: syntax error before "PangoLayout"
../../gdk/gdkdrawable.h:346: error: syntax error before "PangoLayoutLine"
../../gdk/gdkdrawable.h:353: error: syntax error before "PangoLayout"
../../gdk/gdkdrawable.h:359: error: syntax error before "PangoMatrix"
In file included from ../../gdk/gdk.h:37,
                 from ../../gdk/gdkalias.h:29,
                 from gdkasync.c:51:
../../gdk/gdkfont.h:7:30: pango/pango-font.h: No such file or directory
In file included from ../../gdk/gdk.h:37,
                 from ../../gdk/gdkalias.h:29,
                 from gdkasync.c:51:
../../gdk/gdkfont.h:45: error: syntax error before "PangoFontDescription"
../../gdk/gdkfont.h:52: error: syntax error before '*' token
In file included from ../../gdk/gdk.h:41,
                 from ../../gdk/gdkalias.h:29,
                 from gdkasync.c:51:
../../gdk/gdkkeys.h:105: error: syntax error before "gdk_keymap_get_direction"
../../gdk/gdkkeys.h:105: warning: type defaults to `int' in declaration of `gdk_keymap_get_direction'
../../gdk/gdkkeys.h:105: warning: data definition has no type or storage class
In file included from ../../gdk/gdk.h:43,
                 from ../../gdk/gdkalias.h:29,
                 from gdkasync.c:51:
../../gdk/gdkpango.h:69: error: syntax error before "PangoRenderer"
../../gdk/gdkpango.h:69: warning: no semicolon at end of struct or union
../../gdk/gdkpango.h:72: error: syntax error before '}' token
../../gdk/gdkpango.h:84: error: syntax error before "PangoRendererClass"
../../gdk/gdkpango.h:84: warning: no semicolon at end of struct or union
../../gdk/gdkpango.h:89: error: syntax error before '*' token
../../gdk/gdkpango.h:89: warning: type defaults to `int' in declaration of `gdk_pango_renderer_new'
../../gdk/gdkpango.h:89: warning: data definition has no type or storage class
../../gdk/gdkpango.h:90: error: syntax error before '*' token
../../gdk/gdkpango.h:90: warning: type defaults to `int' in declaration of `gdk_pango_renderer_get_default'
../../gdk/gdkpango.h:90: warning: data definition has no type or storage class
../../gdk/gdkpango.h:97: error: syntax error before "PangoRenderPart"
../../gdk/gdkpango.h:100: error: syntax error before "PangoRenderPart"
../../gdk/gdkpango.h:105: error: syntax error before '*' token
../../gdk/gdkpango.h:105: warning: type defaults to `int' in declaration of `gdk_pango_context_get_for_screen'
../../gdk/gdkpango.h:105: warning: data definition has no type or storage class
../../gdk/gdkpango.h:107: error: syntax error before '*' token
../../gdk/gdkpango.h:107: warning: type defaults to `int' in declaration of `gdk_pango_context_get'
../../gdk/gdkpango.h:107: warning: data definition has no type or storage class
../../gdk/gdkpango.h:110: error: syntax error before '*' token
../../gdk/gdkpango.h:121: error: syntax error before '*' token
../../gdk/gdkpango.h:126: error: syntax error before '*' token
../../gdk/gdkpango.h:141: error: syntax error before "PangoAttribute"
../../gdk/gdkpango.h:141: warning: no semicolon at end of struct or union
../../gdk/gdkpango.h:143: error: syntax error before '}' token
../../gdk/gdkpango.h:147: error: syntax error before "PangoAttribute"
../../gdk/gdkpango.h:147: warning: no semicolon at end of struct or union
../../gdk/gdkpango.h:149: error: syntax error before '}' token
../../gdk/gdkpango.h:151: error: syntax error before '*' token
../../gdk/gdkpango.h:151: warning: type defaults to `int' in declaration of `gdk_pango_attr_stipple_new'
../../gdk/gdkpango.h:151: warning: data definition has no type or storage class
../../gdk/gdkpango.h:152: error: syntax error before '*' token
../../gdk/gdkpango.h:152: warning: type defaults to `int' in declaration of `gdk_pango_attr_embossed_new'
../../gdk/gdkpango.h:152: warning: data definition has no type or storage class
In file included from ../../gdk/x11/gdkx.h:80,
                 from ../../gdk/gdkalias.h:32,
                 from gdkasync.c:51:
../../gdk/x11/gdkprivate-x11.h:184: error: syntax error before '*' token
../../gdk/x11/gdkprivate-x11.h:185: warning: type defaults to `int' in declaration of `_gdk_x11_renderer_get'
../../gdk/x11/gdkprivate-x11.h:185: warning: data definition has no type or storage class
In file included from ../../gdk/x11/gdkx.h:81,
                 from ../../gdk/gdkalias.h:32,
                 from gdkasync.c:51:
../../gdk/x11/gdkscreen-x11.h:93: error: syntax error before "PangoRenderer"
../../gdk/x11/gdkscreen-x11.h:93: warning: no semicolon at end of struct or union
make[4]: *** [gdkasync.lo] Error 1
make[4]: Leaving directory `/home/simon/gtk+-2.6.1/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/simon/gtk+-2.6.1/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/simon/gtk+-2.6.1/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simon/gtk+-2.6.1'
make: *** [all] Error 2
[simon@localhost gtk+-2.6.1]$
 
Old 02-04-2005, 03:17 PM   #39
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
LOL it's one thing after another, isn't it? I really have no clue as to why things are so messy with compiling, although it's not your fault, of course. I really don't know how else to help you. I'll continue following this thread and pitch in when I can.

GOod luck!
 
Old 02-04-2005, 03:19 PM   #40
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
When this is fixed, its definitely going in success stories!
 
Old 02-04-2005, 08:11 PM   #41
Tormented
Member
 
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92

Rep: Reputation: 15
Quote:
Originally posted by simeandrews
../../gdk/gdkfont.h:7:30: pango/pango-font.h: No such file or directory
It can't find the pango headers.

You really don't need to be compiling a new version of gtk2, glib, pango or anything else.
Mandrake's versions of these libraries are perfectly sufficient for compiling the latest GIMP.
And you may also end up breaking mandrake control center, rpmdrake, and all of the other
system configuration utilities which are based on gtk.
 
Old 02-05-2005, 05:40 AM   #42
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Quote:
Mandrake's versions of these libraries are perfectly sufficient for compiling the latest GIMP.
Absolutely right (I'd missed that).
According to this http://www.gimp.org/downloads/install_help.html you need
GTK+ 2.4.4, GLib 2.4.5, Pango 1.4.0, atk, PangoFT2 and libart2

Code:
urpmi libglib2.0_0-devel
urpmi libgtk+2.0_0-devel
urpmi libpango1.0_0-devel
urpmi libatk1.0_0-devel
urpmi libart_lgpl2-devel
urpmi libfreetype6-devel
urpmi libfontconfig1-devel
(some steps might be automagically done due to dependencies)

- Peder

Last edited by bunnadik; 02-05-2005 at 05:44 AM.
 
Old 02-05-2005, 03:45 PM   #43
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Ive given up, I need to know how to uninstall the new atk, pango, and glib stuff, and then I'll use the stuff on urpmi because it should work. Can someone help me?
 
Old 02-05-2005, 07:06 PM   #44
Tormented
Member
 
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92

Rep: Reputation: 15
Just do:

make uninstall

for each package in the directory where you compiled it.
 
Old 02-05-2005, 07:25 PM   #45
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
And now I'm back where I was bbefore this GTK problem started with gimp.

Uh, never mind, more important issue!

I uninstalled gtk, pango, atk, and glib, and now Gnome Terminal wont start, mandrake control center wont start, I have really screwed this up, what do I do?
 
  


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
GTK+ 2.4.0 installation problems wizzardx Linux - Software 4 05-22-2005 05:25 PM
GTK+ 2.6.0 installation problems Micro420 Linux - Software 13 01-14-2005 06:37 AM
Problems with gtk installation Paddington Linux - Software 1 12-22-2004 11:54 AM
Installation problems with GTK+-2.2 melange Linux - Newbie 3 03-08-2004 11:02 AM
GTK+-2.2 installation problems m1-rail Linux - Newbie 2 01-05-2003 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration