[Rpm-maint] How to build rpm from source
Jun Aruga
jaruga at redhat.com
Wed Aug 3 11:25:38 UTC 2016
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
More information about the Rpm-maint
mailing list