MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
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.
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.
"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.
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.
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.
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.
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:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.