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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-24-2005, 02:52 PM
|
#1
|
LQ Newbie
Registered: Apr 2005
Posts: 19
Rep:
|
Anjuta 2.0 install problem
I am trying to install Anjuta 2.0 in my computer, When I run ./configure, follow error information appeared:
checking for libgnomeprint-2.2 >= 2.4.0... Package libgnomeprint-2.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeprint-2.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeprint-2.2' found
configure: error: Library requirements (libgnomeprint-2.2 >= 2.4.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 thought it may be because I didn't install libgnomeprint, then I installed libgnomeprint-2.10.3 in the computer, and try agian, the same error information appeared. Please help, I am just a beginner of linux. Thanks!
|
|
|
05-24-2005, 03:16 PM
|
#2
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
distro? method used to install libgnomeprint? did you modify you PKG_CONFIG_PATH environment variable?
|
|
|
05-24-2005, 04:03 PM
|
#3
|
LQ Newbie
Registered: Apr 2005
Posts: 19
Original Poster
Rep:
|
It's CentOs
I logged on as root, and do following things:
./configure
make
make install
to install the libgnomeprint and didn't modify PKG_CONFIG_PATH environment variable.
Do you have any idea? Thanks!
Quote:
Originally posted by __J
distro? method used to install libgnomeprint? did you modify you PKG_CONFIG_PATH environment variable?
|
|
|
|
05-25-2005, 03:44 AM
|
#4
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
You need to install the libgnomeprint development package.
|
|
|
05-25-2005, 05:03 AM
|
#5
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
if you did ./configure, make, make install you need to:
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
make sure you don't already have one installed somewhere else, if you do, it's better to replace that one than to install another one in parallel in a different location. also, since you are installing into /usr/local, you might want to consider looking into a method of creating packages ( rpmbuild or checkinstall) if you care about being able to remove/upgrade these libs later on.
|
|
|
05-25-2005, 10:49 AM
|
#6
|
LQ Newbie
Registered: Apr 2005
Posts: 19
Original Poster
Rep:
|
Thanks! I tried, but it still does not work.
I check the dectory /usr/local/lib, I found a libgnomeprint-2.2 there. So maybe it is because the originally intstalled version is too old. How can I get rid of it and use the new one? Thanks!
Quote:
Originally posted by __J
if you did ./configure, make, make install you need to:
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
make sure you don't already have one installed somewhere else, if you do, it's better to replace that one than to install another one in parallel in a different location. also, since you are installing into /usr/local, you might want to consider looking into a method of creating packages ( rpmbuild or checkinstall) if you care about being able to remove/upgrade these libs later on.
|
|
|
|
05-25-2005, 03:19 PM
|
#7
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
Quote:
Originally posted by greghua
Thanks! I tried, but it still does not work.
I check the dectory /usr/local/lib, I found a libgnomeprint-2.2 there. So maybe it is because the originally intstalled version is too old. How can I get rid of it and use the new one? Thanks!
|
/usr/local/lib or /usr/local/lib/pkgconfig? just remove the old package if you have an older one installed. you never mentioned what distro you are running, so can't help you there.
|
|
|
05-25-2005, 06:38 PM
|
#8
|
LQ Newbie
Registered: Apr 2005
Posts: 19
Original Poster
Rep:
|
It's CentOs.
I use rpm -e remove the old one. and download a libgnomeprint-2.4.2-1.i686.rpm rpm package.
I run rmp -i libgnomeprint-2.4.2-1.i686.rpm
And I can find the program is installed by using rpm -q -a,
but it still does not work when I try to install Anjuta2.0. The same error message.
Any idea? Thanks!
Quote:
Originally posted by __J
/usr/local/lib or /usr/local/lib/pkgconfig? just remove the old package if you have an older one installed. you never mentioned what distro you are running, so can't help you there.
|
|
|
|
05-26-2005, 06:48 AM
|
#9
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
Quote:
Originally posted by greghua
It's CentOs.
I use rpm -e remove the old one. and download a libgnomeprint-2.4.2-1.i686.rpm rpm package.
I run rmp -i libgnomeprint-2.4.2-1.i686.rpm
And I can find the program is installed by using rpm -q -a,
but it still does not work when I try to install Anjuta2.0. The same error message.
Any idea? Thanks!
|
you're running an rpm distro, so the libgnomeprint-2.4.2-xxxx will only solve one of your problems, to compile against it, you need the matching -devel package, get it from the same place you got the other rpm. should be something along the lines of "libgnomeprint-2.4.2-devel-i686.rpm"
|
|
|
05-26-2005, 10:12 AM
|
#10
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Exactly what I'd said in my previous post, but nobody seems to have noticed it.
|
|
|
05-26-2005, 03:36 PM
|
#11
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
he installed it from source earlier, in /usr/local.
|
|
|
All times are GMT -5. The time now is 07:07 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
|
|