How to compile a soft same as the version realeased by fedora?

stan gryt2 at q.com
Sat Mar 19 17:35:10 UTC 2011


On Sat, 19 Mar 2011 10:52:38 +0800
GeeKer Wang <wwthunan at gmail.com> wrote:
> 
> I have tried three ways:
> 1. configure && make
> 2. ccmake && make
> 3. rpmbuild --recompile OpenSceneGraph-2.8.3-3.fc14.src.rpm

Try the following, which works for me to create installable packages.

cd ~/rpmbuild/SPECS
rpmbuild -bp OpenScreneGraph.spec

That should compile it as an rpm package in the ~/rpmbuild/RPMS/<arch>
directory.

If you then reinstall using that package, it should be custom built for
your system.


More information about the users mailing list