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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
02-19-2005, 11:06 AM
|
#1
|
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201
Rep:
|
Installing GFTP...and gtk, atk, pango...
Hi all
So, getting on a bit it with my Linux experience...
Time to install GFTP.
./configure brings up an error saying it needs GTK+ 2, otherwise it can only do commandline.
So I go to install GTK... anyways, long story short it seems I needed to install GLIB, Pango and ATK as well. I did those, all the same way:
./configure
make
make install
they went without a hitch.
So I go back to do GTK, but I get an error at the end of configure:
configure: error: Library requirements (glib-2.0 >=2.6.0 atk >=1.0.1 pango >=1.8.0 not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
I am at a loose end...what shall I do?
Thanks
|
|
|
|
02-19-2005, 03:22 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,682
|
whoah there....! one step at a time.
you've not filled in your profile, and not provided as much information in your post, so i don't know what distro you are on, but i'd assume that you're on mandrake, suse or another RPM based distro. assuming this, i'd bet money that GTK is already installed just fine, what is not installed however will be the matching gtk-devel package that is required to actually compile source code that uses that library. this is the same for a good proportional of rpm based libraries and programs. if you install GTK from source then you run the risk of breaking your system, as you can end up with two versions of GTK in different locations on your system, which will hit trouble eventually.
so for things like GTK, i's strongly advise you stick with RPM's even if you wish to compile other apps from source.
|
|
|
|
02-19-2005, 03:48 PM
|
#3
|
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201
Original Poster
Rep:
|
acid: Thanks for the reply. I have updated my profile, I guess I was/am just a bit eager!
So does what you said still stand? Is knoppix an RPM based distro?
|
|
|
|
02-19-2005, 03:53 PM
|
#4
|
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
Knoppix is debian-based. But you have to install those packages or possibly the dev packages as I don't know what's installed by default in knoppix.
You can use apt to install those packages named above. Run "apt-get update" to update your packages list with the newest packages on the server. Then you can "apt-get install packagename" which will install the package.
|
|
|
|
02-19-2005, 04:13 PM
|
#5
|
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201
Original Poster
Rep:
|
Hi darkleaf
I did
apt-get -u update
apt-get -u upgrade
and let it do its thing.
What do I type for atk?
|
|
|
|
02-19-2005, 04:39 PM
|
#6
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Just do "apt-get install gtk2" (or something similar) and stuff like atk, pango etc will also be installed.
|
|
|
|
02-19-2005, 04:41 PM
|
#7
|
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
Should you decide to install from source, for whatever reason, the order is:
glib
pango
atk
gtk
and for each use ./configure --prefix=/usr
cos it makes life a lot easier!
|
|
|
|
02-19-2005, 05:59 PM
|
#8
|
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201
Original Poster
Rep:
|
Komakino:
I thought I would re-do it all as you have written so...
GLIB 2.6
./configure --prefix=/usr
make
make install
That went OK.
Then pango.
./configure --prefix=/usr
at the end of that it said:
'pkg-config --modversion glib-2.0' returned 2.6.0 but GLIB 2.6.2 was found! If pkg-config was correct, then it is best to remove the old version of glib. You may also fix the error by modifying your LD_LIBRARY_PATH environment variable, or by editing /etc/ld.so.conf. Make sure you have run ldconfig if that is required by your system. If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH to point to the correct configuration files
configure: error:
Glib 2.5.7 or better is required. The Latest version of Glib is always available from ftp://ftp.gtk.org/.
So guys and gals, what so I do now?
Thanks
Hong
|
|
|
|
02-19-2005, 06:02 PM
|
#9
|
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201
Original Poster
Rep:
|
Reddaz: I keep trying apt-get install .... but I cant seem to get the package name right.
I tried glib, glib2.6, Glib, etc...
Anyone know what it is?
|
|
|
|
02-19-2005, 09:45 PM
|
#10
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Try "apt-get install synaptic". Synaptic ia a GUI for apt. Once you have install apt, use that to broswe or search for available packages and install the ones you need.
|
|
|
|
02-19-2005, 09:58 PM
|
#11
|
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
Why not just apt-get install gftp
|
|
|
|
02-19-2005, 10:44 PM
|
#12
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Actually, I never thought of that, that would solve all the problems with just a few commands 
Last edited by reddazz; 02-19-2005 at 11:46 PM.
|
|
|
|
02-19-2005, 10:51 PM
|
#13
|
|
Member
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740
Rep:
|
I'm telling you now, save yourself some trouble, add this to your /etc/profile
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
|
|
|
|
02-19-2005, 11:43 PM
|
#14
|
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
Quote:
Originally posted by 95se
I'm telling you now, save yourself some trouble, add this to your /etc/profile
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
|
good advice, but that won't help him here with the --prefix=/usr option. If you install a library, you have to remove the old one first. pretty much all distro's come with glib-2.x ( but rpm/deb distro's split them).
Make sure you remove the original package first then go back to the glib source directory and redo make install ( you really should make a package of it for easier removal/upgrade later on).
|
|
|
|
02-20-2005, 01:13 PM
|
#15
|
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 201
Original Poster
Rep:
|
Thank you all
I did apt-get install gftp, its done its thing...but where is it? I cant seem to find it
Also, that last bit went straight over my head. Installing/uninstalling libraries?
I'm guessing when I do ./configure make make install its installing the library, how would I uninstall it?
So do I add that line in?
Thanks
PS whats the diff between ./configure and ./compile, Ive seen references to both of these before make/make install...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
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 |
|
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz
|
Oholiab |
Slackware |
8 |
09-18-2005 11:57 AM |
|
Been fighting gtk,glib,atk,pango for days.
|
whansard |
Linux - Software |
0 |
12-18-2004 10:18 AM |
|
Pb installing glib, atk, pango, gtk
|
giill |
Linux - Software |
8 |
11-23-2003 01:25 PM |
|
Installing Glib, ATK, GTK, Pkg Config, and Pango!
|
LinuZ |
Linux - Newbie |
9 |
10-26-2003 02:58 PM |
|
installing GTK+2.2.0 (issues with atk-1.2.0 & pango-1.2.0)
|
jlewis_linux |
Linux - Software |
6 |
06-10-2003 12:21 PM |
All times are GMT -5. The time now is 01:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|