Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Mandriva Linux Help > GTK problems in Mandriva 2006
 Mandriva Linux Help   For help and discussion about Mandriva (formally Mandrake) Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-25-2005   #1 (permalink)
Just Joined!
 
Join Date: Nov 2005
Posts: 2
GTK problems in Mandriva 2006

At first, this might seem like I am requesting help for GAIM. After thinking about this, I decided that this has to do with a general Linux issue rather than a specific program. I'll give some background information first of all. I know how to follow explicit directions, but amigious directions will confuse the hell out of me as my Linux experience is completely personal and quite limited. I am running the free version of Mandriva 2006 (and for the purpose of a comment later, Windows XP Pro using Cygwin.)

I have heard about CVS and had no experience in it and the idea appealed to me to be able to test out a program that was being developed. I decided to try to get the CVS of GAIM 2.0.0 because I was tired of waiting for the stable version. Following the directions from GAIM's site, I was able to successfully compile GAIM 2.0.0cvs for Windows. I decided that I should get Linux and try to do the same thing there to educate myself on how the same thing works in different environments. I was able to get the CVS just fine in Linux, followed the directions on setting it up to compile and received on odd error. It said I don't have GTK installed. That's odd... I swore I had The GIMP installed. Sure enough, the program ran just fine. I even installed the pre-compiled version of GAIM 1.5.0 and it ran just fine. I believe I'm using GTK 2.7 or 2.8.

What would cause a program that required GTK, such as The GIMP, to work if GTK wasn't installed in the system? If that's impossible, what would cause a configuration file to not find GTK on the system? Moreso, how do I solve this problem of GTK not being able to be found?

I've also tried to use configure for GAIM 1.5.0 and The GIMP, neither of the configures were able to find GTK at ALL. Not a version that was too old or not compatible, just missing entirely...

I'm pretty confused as to what to do. I even tried to compile GTK from scratch receiving errors such as Pambo not being present (which is wrong as it, too, is installed).

Obviously there's some setting that is wrong out of the box that I need to fix but I'm at a loss as to what to do.

Thank you for your time for reading this post and I hope I can work with someone to solve my problem.
gse7en is offline  

Reply With Quote
Old 11-26-2005   #2 (permalink)
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,380
I haven't installed gaim from source in a long time, but I think it requires gtk 1.2 or something like that. Now gtk 2 is not backwards compatible with gtk1, so you may need to install gtk1 on your system. To do that, use urpmi or install gtk 1 from source.
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline   Reply With Quote
Old 11-26-2005   #3 (permalink)
Just Joined!
 
Join Date: Nov 2005
Posts: 2
Code:
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.8.1)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occurred. This usually means GTK+ is incorrectly installed.
configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+
*** development headers installed. The latest version of GTK+ is
*** always available at http://www.gtk.org/.

I HAVE GTK+ >=2.0.0 To prove this, GIMP 1.x and GIMP 2.2 work correctly It's pretty frustrating when you have limited knowledge in how to do Linux sutffs
gse7en is offline   Reply With Quote
Old 11-26-2005   #4 (permalink)
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,380
Quote:
*** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+
*** development headers installed.
The latest version of GTK+ is
That shows you need the gtk headers, you have the package, just not the development headers. I think the package you need to install is called gtk-devel or something along those lines.
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline   Reply With Quote
Old 12-17-2005   #5 (permalink)
Just Joined!
 
Join Date: Dec 2005
Posts: 2
gtk+2.0-devel do not come with mandriva 2006 free edition

gtk+2.0-devel do not come with mandriva 2006 free edition.

Even if you are updating mandriva 2005 le or an other mandrake installation there eare many problems like broken symbolic links in /usr/lib (so many).

The gtk+2.0-devel rpm is very difficult to find (http://rpmfind.net do not have a link for this rpm for mandriva 2006).

Mandriva 2006 free is a fiasco for the developer.

May yuo have to go to another gnu-linux distribution like debian, or fedora core, that are ready for the developer. Ububtu is very good, but a ADSL conection to internet is needed if you want the development packages and environmet, like gcc an so on.

I have the same problems compiling wxgtk, this library comes whit mandriva 2006 free, but only as shared object and not for development.

Many development pakages are ausent in mandriva 2006 free, is time to say godbye to mandrake tradition of exelent development support!
eaep is offline   Reply With Quote
Old 12-17-2005   #6 (permalink)
Just Joined!
 
Join Date: Dec 2005
Posts: 2
In http://rpm.pbone.net con find llibgtk+2.0_0-devel-2.8.3-4.2.20060mdk.i58

I have find some rpms for mandriva 2006 in

http://rpm.pbone.net/

search for: libgtk+2.0_0-devel-2.8.3-4.2

I not know if may need other rpm's like other devel libs, but in rpm.pbone.net is sure to find that libraries.

the following link search the library libgtk+2.0_0-devel-2.8.3-4.2.20060mdk.i586.rpm :

http://rpm.pbone.net/index.php3/stat....i586.rpm.html

You may to check de log file of your compilation, see for gtk+2.0 testing program, there is a more explicit description of the compiling problem. Go as root to /usr/lib and search for the bad symbolic link, remove and make a new declaration of the same symbolic link targeting to the updated souce of the link.
as a example, you want to update the following symbolic link:

/usr/lib/libgtkhtml-2.so.0.0.0

as root go to /usr/lib:

cd /usr/lib

then search for libgtkhtml*

you may find some file names:

/usr/lib/libgtkhtml-2.so.0 /usr/lib/libgtkhtml-3.8.so.15
/usr/lib/libgtkhtml-2.so.0.0.0 /utsr/lib/libgtkhtml-3.8.so.15.3.7

then delete the broken symbolic link:

rm libgtkhtml-2.so.0

and make the new symbolic link to the latest shared object assiciated with the library that is linked:

ln -s libgtkhtml-2.so.0.0.0 libgtkhtml-2.so.0.0.0

for each broken link reported in the log file.

You may uninstall any other old development library for gtk+2.0, defore to install the new development library, this is anohter source of problems.

Search for any other devel library in rmp.pbone.net, until can compile your program!
eaep is offline   Reply With Quote
Old 12-21-2005   #7 (permalink)
Linux Newbie
 
sabin's Avatar
 
Join Date: Apr 2005
Posts: 200
Question

I'm just making sure, since I don't use the free version I can't tell : event if mandriva's official mirrors don't propose most -devel packages, won't the mirrors proposed by the PLF ( http://easyurpmi.zarb.org ) do that ?:
sabin is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 05:04 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2