How to build a rpm file from the source file?
I have some project that written with C ++, i want make a rpm file for every one that using Mandrake linux can download and install it easyly. But i don't know how to make it!
Can u help me? Thanks! |
If you google for the terms 'mandrake rpm howto'
you will find this link: http://qa.mandrakesoft.com/twiki/bin/view/Main/RpmHowTo |
If you know how to use emacs, do this:
emacs yourpackage.spec It will create a new file, and automatically put most of what you need in a spec file in there, to help you start. Fill it out as best you can, then try building it: rpmbuild -ba yourpackage.spec Make sure your package files are in your rpmbuild directory, or else your build won't see the files. -Corey |
On top of building an RPM, can you also list HOW you compile from source? For some reason, the whole ./configure make make install thing works 0 out of 20 times that I've tried. I hate how us Mandrake users are totally locked down and depend on RPM's to install software.
|
The last time I used mandrake was a while ago ( last year ), but I don't recall having any problems with make installs.
What sort of errors do you get? -Corey |
Quote:
|
All times are GMT -5. The time now is 08:16 PM. |