 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

12th July 2005, 06:35 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 33

|
|
|
Glib & GTk help please :'(
Alright. Aprearently all my glib and gtk stuff is way out of date. I just upgraded to core 4. SO why didnt it upgrade ?
I had 2.6 working on Core 3 but when i upgraded to 4 Glib and gtk and stuff went to 2.0 when its suposed to be 2.6
HELP!
Heres what i get when trying to ./configure gedit
Code:
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
configure: error: Package requirements (
glib-2.0 >= 2.6.0
gtk+-2.0 >= 2.6.0
gtksourceview-1.0 >= 1.2.0
libgnomeui-2.0 >= 2.6.0
libglade-2.0 >= 2.4.0
eel-2.0 >= 2.6.0
libgnomeprintui-2.2 >= 2.6.0
) were not met.
When i try to install gtk and gliv and all the other stuff it doesnt work! I get errors on make.
Please help me!
|

12th July 2005, 07:13 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
On my FC4 i386 machine:
rpm -q glib
glib-1.2.10-16
rpm -q gtk+
gtk+-1.2.10-39
Is that what yours says?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

12th July 2005, 07:19 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 33

|
|
|
exactly
Have an answer?
|

12th July 2005, 07:21 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Netherlands
Age: 25
Posts: 1,426

|
|
|
gedit is also included on the FC4 cdroms/dvd
But do you have the other requirements too?
__________________
Registered Linux user number 389291
Laptop: Nec Versa p550, Pentium M 1.86GHz, 1024MB ram, x300, 80 GB HD, bluetooth, 2915BG Wlan card
Desktop: Amd Athlon x2 4200+, 2GB ram, Geforce 7300GT 512MB silent, 160GB HD in a nice centurion 534 case :cool:
|

12th July 2005, 08:01 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 33

|
|
|
Not my point
My gtk and glib is out of date and i cant update it
|

12th July 2005, 08:22 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
I think what we don't understand is your remark that "its supposed to be 2.6". One interpretation is that by the normal process of installing and updating, you got glib-2.6 on your FC3 machine and you expected the same to happen when you went to FC4. However, I updated my FC3 machine today and I have /usr/lib/glib-2.0. The way library files and rpms are named is screwy, so perhaps I don't understand your question. What particular file or rpm did you have on FC3 that provided 2.6 ? Did it come from the normal installation and update? i386 or 64 ?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

12th July 2005, 08:57 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 263

|
|
The way gtk is numbered is a little confusing. On www.gtk.org, it's all just gtk+-whatever-version-number. However, in Fedora Core there is a separation between versions < 2 (which seem to all get called gtk+ and glib) and versions > 2 (which seem to all get called gtk2 and glib2). (That's my guess, anyway).
To get gtk+-2.0 installed, try installing the rpms for gtk2 and gtk2-devel; to get glib-2.0 installed, try installing glib2 and glib2-devel. First check to see whether you have these, via:
rpm -qa | grep gtk
rpm -qa | grep glib
and see what lists. If you don't have gtk2 and gtk2-devel, or glib2 and glib2-devel, then, as root, do
yum install gtk2 gtk2-devel glib2 glib2-devel
Hope that works.
Last edited by mtl2002; 13th July 2005 at 03:13 AM.
|

13th July 2005, 05:57 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 33

|
|
slright
you seem to be right
bad news...not even yum is working. I tryed intaling a different version..it gets farther but still doesnt work.
heres what i get
Code:
Traceback (most recent call last):
File "/usr/bin/yum", line 30, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum/yummain.py", line 233, in main
clientStuff.get_package_info_from_servers(serverlist, HeaderInfo)
File "/usr/share/yum/clientStuff.py", line 846, in get_package_info_from_servers
progress_obj=None)
File "/usr/share/yum/clientStuff.py", line 1327, in grab
bandwidth, conf.retries, retrycodes, checkfunc)
File "/usr/share/yum/urlgrabber.py", line 237, in retrygrab
progress_obj, throttle, bandwidth)
File "/usr/share/yum/urlgrabber.py", line 314, in urlgrab
fo = urllib2.urlopen(url)
File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.4/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/python2.4/urllib2.py", line 468, in http_response
code, msg, hdrs = response.code, response.msg, response.info()
AttributeError: HTTPResponse instance has no attribute 'code'
|

13th July 2005, 05:59 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 33

|
|
Quote:
|
Originally Posted by tashirosgt
I think what we don't understand is your remark that "its supposed to be 2.6". One interpretation is that by the normal process of installing and updating, you got glib-2.6 on your FC3 machine and you expected the same to happen when you went to FC4. However, I updated my FC3 machine today and I have /usr/lib/glib-2.0. The way library files and rpms are named is screwy, so perhaps I don't understand your question. What particular file or rpm did you have on FC3 that provided 2.6 ? Did it come from the normal installation and update? i386 or 64 ?
|
I dont remember what rpm i used..or tar.gz for that metter...so long ago..
But yea it was working with 2.6 and when i "upgraded" to 4 it somehow went to 2.0...
So odd eh?
No it didnt come with the normal installation.
i386
|

29th July 2005, 08:40 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 263

|
|
If yum is not working, you can just go here:
http://download.fedora.redhat.com/pu...s/Fedora/RPMS/
scroll down, and click on glib2-2.6.4-1.i386.rpm, glib2-devel-2.6.4-1.i386.rpm, gtk2-2.6.7-4.i386.rpm, and gtk2-devel-2.6.7-4.i386.rpm, and save them to disk.
These are also on the installation CDs, though I don't know exactly which of the four they're on.
|

17th September 2005, 08:18 PM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 18

|
|
|
what's the difference between directly coding gtk api using C and using glade?
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
gtk,glib etc.
|
DerWanderer |
Installation and Live Media |
13 |
25th September 2006 10:42 AM |
|
Help with GLib ...
|
kolichina_s_s |
Programming & Packaging |
3 |
6th June 2006 11:04 AM |
|
Glib
|
D3ciph3r |
Using Fedora |
0 |
13th June 2005 06:45 AM |
|
Where is GLib ?
|
iNFERiON |
Using Fedora |
11 |
6th March 2005 03:14 PM |
Current GMT-time: 09:11 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|