Linux - SoftwareThis 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.
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.
I have been unable to find a current release rpm for gtk2 for SuSE9.2, so I am thinking of creating one on my own using a source tarball and checkinstall. Normally, when I have created an rpm using source and checkinstall, I end up with a single package of the form - gtk2-2.6.5.i386.rpm. If I only install this rpm, there are corresponding gtk2-devel dependencies, that are not satisfied.
So my question - how can I create 2 rpms from a source tarball, a 'regular' and 'devel'?
Why using the --force option ? Gnome will not be able to use gtk without atk, pango, glib. So I recommend afaiq to install glib then atk then pango then gtk from tar.bzip2 package. afaiq will need to handle the dependencies manually ie: add libgcc.pc to PKG_CONFIG_PATH
To create a devel package from source, you have to include a devel section in your rpm spec file. The best thing to do is to search for a Suse gtk2 rpm spec file and use that as a guide for creating your own package. If you are good at shell scripting you can create your own spec file fom scratch.
Originally posted by reddazz To create a devel package from source, you have to include a devel section in your rpm spec file. The best thing to do is to search for a Suse gtk2 rpm spec file and use that as a guide for creating your own package. If you are good at shell scripting you can create your own spec file fom scratch.
actually, I did better than that - I found the source rpm for gtk2 for SuSE9.3, which has the complete spec file. Quick cut and paste got me started. Will work on it tonight and see how it goes....
Yeah, getting a source rpm usually is a good idea if looking for a spec file. Some distros just post all spec files in their developers section so that others can download. I am not sure about Suse though.