LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't compile gtk+ programs =\ (https://www.linuxquestions.org/questions/linux-software-2/cant-compile-gtk-programs-%3D%5C-77028/)

AZ_Rider 09-03-2003 07:34 PM

Is this it?
 
Is this my list? Does it look right to you? I don't know what else I'd be looking for.

# List of available apt repositories available from ayo.freshrpms.net.
# This file should contain an uncommented default suitable for your system.
#
# See http://ayo.freshrpms.net/ for a list of other repositories and mirrors.
#
# $Id: sources.list,v 1.8 2003/04/16 09:59:58 dude Exp $

# Red Hat Linux 9
rpm http://ayo.freshrpms.net redhat/9/i386 os updates freshrpms
#rpm-src http://ayo.freshrpms.net redhat/9/i386 os updates freshrpms

# Red Hat Linux 8.0
#rpm http://ayo.freshrpms.net redhat/8.0/i386 os updates freshrpms
#rpm-src http://ayo.freshrpms.net redhat/8.0/i386 os updates freshrpms

# Red Hat Linux 7.3
#rpm http://ayo.freshrpms.net redhat/7.3/i386 os updates freshrpms
#rpm-src http://ayo.freshrpms.net redhat/7.3/i386 os updates freshrpms

# Red Hat Linux 7.2
#rpm http://ayo.freshrpms.net redhat/7.2/i386 os updates freshrpms
#rpm-src http://ayo.freshrpms.net redhat/7.2/i386 os updates freshrpms

# Red Hat Linux 7.1
#rpm http://ayo.freshrpms.net redhat/7.1/i386 os updates freshrpms
#rpm http://ayo.freshrpms.net redhat/7.1/i386 powertools dma
#rpm-src http://ayo.freshrpms.net redhat/7.1/i386 os updates freshrpms
#rpm-src http://ayo.freshrpms.net redhat/7.1/i386 powertools dma

# Red Hat Linux 7.0
#rpm http://ayo.freshrpms.net redhat/7.0/i386 os updates freshrpms
#rpm http://ayo.freshrpms.net redhat/7.0/i386 powertools dma
#rpm-src http://ayo.freshrpms.net redhat/7.0/i386 os updates freshrpms
#rpm-src http://ayo.freshrpms.net redhat/7.0/i386 powertools dma

# Red Hat Linux 6.2
#rpm http://ayo.freshrpms.net redhat/6.2/i386 os updates freshrpms
#rpm http://ayo.freshrpms.net redhat/6.2/i386 powertools
#rpm-src http://ayo.freshrpms.net redhat/6.2/i386 os updates freshrpms
#rpm-src http://ayo.freshrpms.net redhat/6.2/i386 powertools

Mara 09-04-2003 04:08 PM

In fact, you have only one server. Probably uncomment first rpm-src.

AZ_Rider 09-05-2003 04:14 AM

OK
 
I uncommented the source line in the Red Hat 9 section and updated, then tried installing gtk2-devel.... same thing:

[root@RedHatLinux apt]# apt-get install gtk2-devel
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gtk2-devel: Depends: atk-devel (>= 1.0.0-1) but it is not going to be installed
Depends: glib2-devel (>= 2.2.0-1) but it is not going to be installed
Depends: gtk2 (= 2.2.1) but 2.2.3-1.1 is to be installed
Depends: pango-devel (>= 1.2.0-3) but it is not going to be installed
E: Broken packages

Any more ideas?

-Rob

JohnKFT 09-17-2003 05:31 PM

GTK2 nightmare - you are not alone!
 
If it is any help I have struggled through this ridiculous GTK2 business twice now with Mandrake 9.1. For some reason the name of the needed package never remotely resembles the name that the program is crying out for. I have just finally after a long struggle discovered that this:

libgtk+2.0_0-devel-2.2.1-2mdk.i586 RPM

is what is required in response to a cry for this:

Package gtk+-2.0 was not found

Would you credit it? Perhaps the Red Hat version of this rpm will sort you out. Good luck

JohnKFT 09-17-2003 05:41 PM

Spoke too soon!
 
That was just the start of yet another endless sequence of dependencies with weird names that bear no relation to what is asked for. I have found the best thing is simply to plod manfully through them, asking Google Linux each time for the whatever.pc file that is called for and hopefully someone will tell you what the package is!


All times are GMT -5. The time now is 06:36 AM.