[Rpm-maint] How to build rpm from source

Jun Aruga jaruga at redhat.com
Mon Aug 8 14:19:18 UTC 2016


Hi Florian

Thank you very much!!

I am going to try to use the script for build!

Jun Aruga

----- Original Message -----
> From: "Florian Festi" <ffesti at redhat.com>
> To: rpm-maint at lists.rpm.org
> Sent: Friday, August 5, 2016 3:21:40 PM
> Subject: Re: [Rpm-maint] How to build rpm from source
> 
> Hi!
> 
> I use the attached script to build the sources.
> 
> Florian
> 
> On 08/03/2016 01:25 PM, Jun Aruga wrote:
> > Hello,
> > 
> > I tried to build rpm on latest master branch and failed with an error.
> > Could you tell me how to build it?
> > 
> > Is there the document for basic build?
> > I have checked below files. but could not find it.
> > 
> > README
> > INSTALL
> > 
> > ```
> > $ rpm -q gcc
> > gcc-5.3.1-6.fc23.x86_64
> > 
> > $ rpm -q  autoconf
> > autoconf-2.69-21.fc23.noarch
> > 
> > $ git remote -v
> > origin        https://github.com/rpm-software-management/rpm.git (fetch)
> > origin        https://github.com/rpm-software-management/rpm.git (push)
> > 
> > $ git log --pretty=oneline | head -1
> > 45bfecbf7dd4249abc197a5fc908e4efcc3108ad Add option to have unique debug
> > file names across version/release/arch.
> > 
> > $ autoconf
> > configure.ac:8: error: possibly undefined macro: AM_INIT_AUTOMAKE
> >       If this token and others are legitimate, please use m4_pattern_allow.
> >       See the Autoconf documentation.
> > 
> > $ ./configure --prefix=/usr/local/rpm-dev
> > ./configure: line 2375: syntax error near unexpected token `1.10'
> > ./configure: line 2375: `AM_INIT_AUTOMAKE(1.10 foreign tar-ustar dist-bzip2
> > subdir-objects nostdinc)
> > ```
> > 
> > Kind regards,
> > Jun Aruga
> > _______________________________________________
> > Rpm-maint mailing list
> > Rpm-maint at lists.rpm.org
> > http://lists.rpm.org/mailman/listinfo/rpm-maint
> > 
> 
> 
> --
> 
> Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
> Commercial register: Amtsgericht Muenchen, HRB 153243,
> Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham,
> Michael O'Neill
> 
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-maint
> 


More information about the Rpm-maint mailing list