Open Envek opened 8 years ago
After the step 2 you should have this file. Can you stop at step 2 and verify that the file is there?
My build machine is occupied now, I'll get back to this later and check.
Thank you for your feedback.
Step 2 in README? Or in my message?
Also, rpmdevtools
package needs to be installed.
I don't know how to build RPMs at all, so may be I'm just missing some obvious step.
All steps that I do on absolutely clean machine:
# As root
yum -y groupinstall 'development tools'
yum -y install rpmdevtools wget
yum -y install gcc openssl-devel zlib-devel pcre-devel lua
yum -y install ftp://rpmfind.net/linux/centos/7/os/x86_64/Packages/lua-devel-5.1.4-14.el7.x86_64.rpm
# As local user from home directory
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo "%_topdir %(echo $HOME)/rpmbuild" > ~/.rpmmacros
wget https://raw.githubusercontent.com/rackmaze/nginx-lua-centos7/master/nginx-lua.spec
wget http://nginx.org/packages/rhel/7/SRPMS/nginx-1.6.3-1.el7.ngx.src.rpm
ls ~ # nginx-1.6.3-1.el7.ngx.src.rpm nginx-lua.spec rpmbuild
ls ~/rpmbuild/SOURCES # (nothing)
spectool -g -R nginx-lua.spec
ls ~/rpmbuild/SOURCES # nginx-1.6.3.tar.gz v0.2.19.tar.gz v0.9.15.tar.gz
rpmbuild -ba nginx-lua.spec # BOOM!
Hello, thank you for your manual.
I'm trying to build it, but there is issues:
lua-devel
now located at ftp://rpmfind.net/linux/centos/7/os/x86_64/Packages/lua-devel-5.1.4-14.el7.x86_64.rpmAt some poing of executing
rpmbuild -ba ~/rpmbuild/SPECS/nginx-lua.spec
I'm getting this error:Is there something missing from README?