We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.rpm
lua-devel
In README old nginx is downloading, fresh one is http://nginx.org/packages/rhel/7/SRPMS/nginx-1.6.3-1.el7.ngx.src.rpm
At some poing of executing rpmbuild -ba ~/rpmbuild/SPECS/nginx-lua.spec I'm getting this error:
rpmbuild -ba ~/rpmbuild/SPECS/nginx-lua.spec
make[1]: Leaving directory `/home/strela/rpmbuild/BUILD/nginx-1.6.3' + /usr/bin/mkdir -p /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/usr/share/nginx + /usr/bin/mv /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/html /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/usr/share/nginx/ + /usr/bin/rm -f /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/fastcgi.conf.default /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/fastcgi_params.default /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/mime.types.default /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/nginx.conf.default /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/scgi_params.default /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/uwsgi_params.default + /usr/bin/rm -f /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/fastcgi.conf + /usr/bin/mkdir -p /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/var/log/nginx + /usr/bin/mkdir -p /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/var/run/nginx + /usr/bin/mkdir -p /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/var/cache/nginx + /usr/bin/mkdir -p /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/conf.d + /usr/bin/rm /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/nginx.conf + /usr/bin/install -m 644 -p /home/strela/rpmbuild/SOURCES/nginx.conf /home/strela/rpmbuild/BUILDROOT/nginx-1.6.3-1.el7.centos.ngx.x86_64/etc/nginx/nginx.conf /usr/bin/install: cannot stat ‘/home/strela/rpmbuild/SOURCES/nginx.conf’: No such file or directory
Is there something missing from README?
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
Thank you for your feedback.
Step 2 in README? Or in my message?
Also, rpmdevtools package needs to be installed.
rpmdevtools
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!
No branches or pull requests
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.rpmIn README old nginx is downloading, fresh one is http://nginx.org/packages/rhel/7/SRPMS/nginx-1.6.3-1.el7.ngx.src.rpm
At some poing of executing
rpmbuild -ba ~/rpmbuild/SPECS/nginx-lua.spec
I'm getting this error:Is there something missing from README?
The text was updated successfully, but these errors were encountered: