LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 10-10-2005, 08:33 PM   #1
Slackervaara
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva
Posts: 19

Rep: Reputation: 0
Can't compile Sylpheed


Hi,

When I first tried to compile Sylpheeed 2.1.3 I get error messages in ./configure that it can't find gtk+-2.0 despite that this package is installed. I have also installed the devel package for gtk+-2.0. It is the first time I tried to compile a program with Mandriva. Is there also a program that can create rpm packages when making compilation from sources?(like checkinstall for Slackware)

This is the error message from ./configure:

checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the *** exact error that occured. This usually means GTK+ is
incorrectly installed.

Slackervaara
 
Old 10-10-2005, 11:32 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,476

Rep: Reputation: 156Reputation: 156
"Is there also a program that can create rpm packages when making compilation from sources?(like checkinstall for Slackware)"

checkinstall also works for rpm packages and DEB packages. checkinstall asks you which package system you are using.

"When I first tried to compile Sylpheeed 2.1.3 I get error messages in ./configure that it can't find gtk+-2.0 despite that this package is installed. I have also installed the devel package for gtk+-2.0. It is the first time I tried to compile a program with Mandriva."

Actually the error message that you are getting is:

"checking for GTK+ - version >= 2.4.0... no"

Use:
rpm -qi gtk2
to see if you have 2.4.0 or higher.

----------------------------
Steve Stites
 
Old 10-11-2005, 12:33 AM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
On Mandriva 2005LE
Code:
rpm -q gtk+2.0
gives gtk+2.0-2.6.4-2mdk so it should pass the gtk+ >= 2.4 test. Make sure you've also installed libgtk+2.0_0-devel and libgtk+2.0_0.

Also Sylpheed is already packaged for Mandriva. Head over to http://easyurpmi.zarb.org and you'll be able to get it (sylpheed-claws) through urpmi.
 
Old 10-11-2005, 12:51 AM   #4
Slackervaara
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva
Posts: 19

Original Poster
Rep: Reputation: 0
I have just checked and I have gtk+-2.0 installed and also libgtk+-2.0 (the developement package) and despite this I get error messages upon ./configure that gtk+-2.0 is missing. Very strange.
 
Old 10-11-2005, 01:01 AM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
and you definately have libgtk+2.0_0-devel installed as well? Also do a ./configure --help and see if there's any options you can pass to the configure script to point where the GTK2 libraries and includes are.

Might be easier to just get sylpheed through urpmi/Mandrake Control Centre.

Last edited by tkedwards; 10-11-2005 at 01:02 AM.
 
Old 10-11-2005, 02:17 AM   #6
Slackervaara
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva
Posts: 19

Original Poster
Rep: Reputation: 0
It is not possible to install libgtk+2.0_0-devel because it is a dependecy for libpangoft-2.1.0 and this rpm is not available for Mandrake. I have installed the Sylpheed 1.9.7 thats is in a package. Thanks for the suggestion.
 
Old 10-11-2005, 03:58 AM   #7
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
Huh? That's very strange - you must have the wrong repos setup or something. Its in the main repo so all its depedencies are also in the main repo. I just tried it an it works fine on my box:
Code:
urpmi libgtk+2.0_0-devel
Anyway glad you got it working finally.
 
Old 10-11-2005, 10:01 AM   #8
Slackervaara
LQ Newbie
 
Registered: Oct 2005
Distribution: Mandriva
Posts: 19

Original Poster
Rep: Reputation: 0
When I installed Mandriva I copied the DVD to the harddrive and that's the place I been looking for the devel-package that did not exist there. On Internet I have found that devel package exists in main.as you say and I have installed it together with some other devel-packages. ./configure works perfectly now and I am much grateful for your help.
 
Old 10-11-2005, 05:53 PM   #9
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
Yeah if you got the download DVD (ie. the DVD that is the equivalent of what's on the 3 download CDs) you only get a fraction of the main repo so you'll get dependency errors trying to urpmi stuff unless you visit easyurpmi.
 
  


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
sylpheed claws newusermike Linux - Newbie 2 09-17-2005 07:58 AM
how to compile sylpheed-claws gtk2 $in Linux - Software 2 01-28-2005 04:40 PM
sylpheed nautilus_1987 Linux - Software 4 09-12-2002 12:25 PM
Sylpheed Help wonderpun Linux - Software 0 09-05-2002 03:48 PM
sylpheed gui10 Linux - Software 21 08-17-2002 08:07 PM


All times are GMT -5. The time now is 05:13 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration