LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 06-28-2007, 09:53 AM   #1
mess_enger_guy
LQ Newbie
 
Registered: Jun 2007
Distribution: CentOS 5.0
Posts: 4

Rep: Reputation: 0
Problem compiling gtkmm


Hello,

I am using Linux from past 1 month, right now I've got CentOS 5.0 installed. I wanted to use gparted for partitioning purposes and downloaded the source code of gparted. Now it requires libsigc++, glibmm and gtkmm. I downloaded the source code of all these three libraries but after compiling libsigc++ and glibmm, got stuck on the configuration of gtkmm. I am trying to install gtkmm-2.10.10. When I run ./configure it gives me the following error:

checking for PANGOMM... configure: error: Package requirements (glibmm-2.4 >= 2.12.8 cairomm-1.0 >= 1.1.12 pangocairo >= 1.5.2) were not met:

No package 'cairomm-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PANGOMM_CFLAGS
and PANGOMM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

--------------------------------------------------------

Now I am unsure about what I require over here. I've got glibmm-2.12.10, cairomm 1.2.4 and pango 1.14.9 installed. My cairo.pc, pango.pc and pangocairo.pc are in /usr/lib/pkgconfig. My glibmm-2.4.pc is in /usr/local/lib/pkgconfig. I added /usr/local/lib/pkgconfig to PKG_CONFIG_PATH.
echo $PKG_CONFIG_PATH shows:

/usr/local/lib/pkgconfig:/usr/lib/pkgconfig

I tried to give whatever information I thought would be useful, I am new to Linux so unsure about what to do now . Any help would be appreciated...

Last edited by mess_enger_guy; 06-28-2007 at 09:54 AM.
 
Old 06-28-2007, 11:10 AM   #2
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
If you compiled and installed cairomm 1.2.4 from source, there should be a file cairomm-1.0.pc in one of those pkgconfig libraries. But, apparently there isn't, and that's the problem. I've just looked, and I do have that .pc file.
 
Old 06-30-2007, 01:33 AM   #3
mess_enger_guy
LQ Newbie
 
Registered: Jun 2007
Distribution: CentOS 5.0
Posts: 4

Original Poster
Rep: Reputation: 0
Cairomm installed from package

Quote:
Originally Posted by GregLee
If you compiled and installed cairomm 1.2.4 from source, there should be a file cairomm-1.0.pc in one of those pkgconfig libraries. But, apparently there isn't, and that's the problem. I've just looked, and I do have that .pc file.
Hey Greg, thanks for the reply. I've got cairomm installed through the rpm packages that came with my distro. I've confirmed, there is no cairomm-1.0.pc in any of those pkgconfig libraries. Should I try installing cairomm from the source? Do I need to install cairomm-devel??

Last edited by mess_enger_guy; 06-30-2007 at 01:35 AM.
 
Old 06-30-2007, 02:02 AM   #4
mess_enger_guy
LQ Newbie
 
Registered: Jun 2007
Distribution: CentOS 5.0
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up Problem Solved!

Hey I tried installing cairomm-devel and it worked

Anyways thanks a lot for the help Greg.
 
  


Reply

Tags
gtkmm


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
gtkmm combobox problem shmonkey Programming 2 03-26-2005 05:07 PM
GTKmm Help gtkmike Programming 10 09-22-2004 08:32 AM
gtkmm HOW? Barq Programming 1 08-29-2004 07:43 AM
Problem installing gtkmm-1.2.8 rgraham Red Hat 1 01-30-2004 05:05 PM
Gabber 0.8.8 install problem: Gtkmm not recognized invictus Linux - Software 0 06-28-2003 11:42 AM


All times are GMT -5. The time now is 06:09 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration