[Rpm-maint] How to build rpm from source

Jun Aruga jaruga at redhat.com
Wed Aug 3 11:25:38 UTC 2016


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.


$ rpm -q gcc

$ rpm -q  autoconf

$ 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

More information about the Rpm-maint mailing list