Re: cpp to rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Smith wrote:
On 5/10/06, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
> I have got the source of a program, which consists of a bunch of .cpp
> and .h files. I would like to create a rpm from those files. Could
> someone here please give me some directions in case it is possible and
> easy? Usually, one only has to run ./configure and then make and
> checkinstall, but in this case there is no configure file.

Now's the time to learn to make real packages instead of using
checkinstall :-)

Some useful references:
http://freshrpms.net/docs/fight/
http://www.gurulabs.com/goodies/guru+guides.php
http://rpm.org/max-rpm-snapshot/

Thanks, Paul. I will try to learn that, but in the mentioned case,
there is no configure file, contrarily to what seems to be expected to
begin the rpm creation.

The configure step is not used by all packages. The general approach to package building is to follow the steps needed to build the package manually (as described in the software's documentation), and capture those steps in the RPM spec file. If a package doesn't need a configure step, don't try doing it. If it needs some other step(s) doing, do those steps, etc.

Please, notice that the last two links are directed to empty pages.

They weren't when I tried them a minute before I posted. Sure you're not having problems at your end?

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux