LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-20-2004, 04:21 PM   #1
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
Installing and linking things like GTK or GLIB


I have this problem that I don't know what to do. Basically when I installed packages like GTK or GLIB, they install fine. I run the standard ./configure make make install (as root), so I assume they get installed to the default places. However, when I try to install a program, lik e The Gimp, it will tell me that GTK is not installed even though I just installed it earlier without any problems. How do I tell The Gimp, or any other programs for that matter, that GTK is installed?
 
Old 12-20-2004, 06:35 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I have this problem that I don't know what to do. Basically when I installed packages like GTK or GLIB, they install fine. I run the standard ./configure make make install (as root), so I assume they get installed to the default places. However, when I try to install a program, lik e The Gimp, it will tell me that GTK is not installed even though I just installed it earlier without any problems. How do I tell The Gimp, or any other programs for that matter, that GTK is installed?"

Are you installing some programs by compiling from source and others by installing binary rpms? When you compile from source nothing is recorded in the rpm data base. When using rpm to install a package rpm only checks the rpm data base, not the actual file locations. If that is your problem then I know of 2 possible solutions.

1. When installing from a binary rpm, if you get dependency errors for packages that you know that you have installed from source then use rpm --nodeps to ignore the dependency errors.

2. When installing from source, use checkinstall. checkinstall converts the compiled program into a rpm binary and you install the resulting rpm package using rpm.

http://asic-linux.com.mx/~izto/checkinstall/

Also checkinstall might be available from your Mandrake install disk.

----------------------------
Steve Stites
 
Old 12-21-2004, 08:56 AM   #3
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

Original Poster
Rep: Reputation: 45
Thanks for the suggestion, but I'm trying to get away from RPM's and trying to compile straight from source. Otherwise, I would have used URPMI and done it the easy way. I'm just a newbie trying to learn the hard way and this has gotten me stumped!

Basically I'm trying to install The Gimp 2.2.0 and it requires GTK, which needs the ATK package, Pango package, and Glib package. Installed them all but when I run ./configure in The Gimp directory, it says that GTK is not installed because it cannot find those 3 packages which I did install using the default ./configure, make, and make install (as root). It's just that my Linux doesn't know where to look for them.
 
Old 12-21-2004, 09:23 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"Basically I'm trying to install The Gimp 2.2.0 and it requires GTK, which needs the ATK package, Pango package, and Glib package. Installed them all but when I run ./configure in The Gimp directory, it says that GTK is not installed because it cannot find those 3 packages which I did install using the default ./configure, make, and make install (as root). It's just that my Linux doesn't know where to look for them."

Did you also install the development version of the packages that the Gimp ./configure cannot find?

---------------------------
Steve Stites
 
Old 12-21-2004, 12:57 PM   #5
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

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by jailbait

Did you also install the development version of the packages that the Gimp ./configure cannot find?

---------------------------
Steve Stites
I don't know much about what you're saying, but what I gather is that you are telling me there are more than one version of something? I thought those were only restricted to RPM's. For example, I download glib, atk, and pango from The Gimp FTP. They did not have any glib-devel, atk-devel, or pango-devel. I've only see the XXXX-devel for RPM's, not for building from source. Am I wrong?
 
Old 12-21-2004, 04:42 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I don't know much about what you're saying, but what I gather is that you are telling me there are more than one version of something?"

Some source code will compile without any reference to other source packages. Other source code needs to reference the header source files from the packages that it calls. Some make files use config files to tell the linker where to find the link libraries. The source headers and config files are supplied by the development package of the link libraries.

"I thought those were only restricted to RPM's."
"I've only see the XXXX-devel for RPM's, not for building from source. Am I wrong?"

I have always obtained the necessary source linkage from development rpm packages. Obviously you can get them from tarballs or such but off the top of my head I don't know how to do that.

What are the exact error messages that you are getting from your Gimp compile?

----------------------------
Steve Stites
 
  


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
Installing GTK and Glib? henry_huckem Fedora 12 01-23-2005 01:04 PM
Help installing Glib and Gtk RPM's henry_huckem Linux - Software 3 01-23-2005 01:22 AM
Installing gtk,glib, pango af_dave Linux - Software 5 07-28-2004 03:48 AM
Problems installing glib and gtk+ 1.2.10... khermans Linux - Software 4 10-02-2002 09:47 AM
Installing GTK+-2.0.6 & GLIB-2.0.6 Kryptow Linux - Newbie 5 09-06-2002 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:22 AM.

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