Hello,
here is a question which applies to more than just Fedora Linux: How do I build a <program>
-devel RPM file from the sources? I know how to compile a program by using the triple jump of
- ./configure
- make
- make install or checkinstall, respectively.
However, in some cases installing such an RPM file won't work due to failing dependencies. Existing program packages will complain through RPM that <program>-devel is missing although all files would be present.
I understand that this is because of the internal logic of the RPM database system. So my question is: How can I build the required "...-devel-...rpm" so that the dependencies are all served?
An example:
I tried to install brand new glib-2.6.0 (as self-made glib
2-2.6.0-1.i386.rpm for Fedora Core 2). No errors during configuration, preparation and complilation. When I tested rpm install, the reply was that existing glib2-devel-2.4.8-1.fc2 needed glib2-2.4.8-1. So I tried to remove glib2-devel-2.4.8-1.fc2.i386. However, a long list of various "-devel-" packages which all depended on glib2-2.4.8-1 followed.
So I gave up for now. Any ideas?
Thanks a lot in advace! Cheers, der Hanseat