Help!

autoconf -> rpm

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> App Development RSS
Next:  Microsoft botches ODF support -- Part III: "..  
Author Message
barcaroller
External


Since: Aug 30, 2005
Posts: 12



PostPosted: Wed May 20, 2009 6:34 pm    Post subject: autoconf -> rpm
Archived from groups: comp>os>linux>development>apps (more info?)

I have a software package that I build with the standard GNU autotools
(autoconf/automake/libtool). Is there an automated method of converting
this process to RPM?

Briefly, I would like to create two RPMs:

- one that compiles/builds and installs the package (i.e. a source RPM)
- one that just installs the package (i.e. I would have pre-built the
package myself).

The second option is particularly important to me since I have to install
this package on machines that do not have development tools (gcc, make,
....)
Back to top
Lusotec
External


Since: Feb 12, 2009
Posts: 47



PostPosted: Sat May 23, 2009 10:10 pm    Post subject: Re: autoconf -> rpm [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

barcaroller wrote:
> I have a software package that I build with the standard GNU autotools
> (autoconf/automake/libtool). Is there an automated method of converting
> this process to RPM?

checkinstall may help you with that.

> Briefly, I would like to create two RPMs:
>
> - one that compiles/builds and installs the package (i.e. a source RPM)

For this you will need to create some scripts for the RPM installation
process that will automate the build process, RPM creation and
installation. It should be a few lines of code at *but* you will have to
include in the dependencies all the stuff needed to build (and run) your
package (e.g. gcc, binutils, required devel packages).

> - one that just installs the package (i.e. I would have pre-built the
> package myself).

This is the standard! Most RPM files contains all the already built
binaries, man pages, other documentation, data files, etc and the
installation process is simply a copying the files to the right places.
checkinstall can help you build the RPMs.

> The second option is particularly important to me since I have to install
> this package on machines that do not have development tools (gcc, make,
> ...)

Regards.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> App Development All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum