Skip to content
New issue

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

nginx编译不成功,请大神协助看下问题! #26

Closed
sxy2475 opened this issue Feb 17, 2018 · 0 comments
Closed

nginx编译不成功,请大神协助看下问题! #26

sxy2475 opened this issue Feb 17, 2018 · 0 comments

Comments

@sxy2475
Copy link

sxy2475 commented Feb 17, 2018

使用的是nginx 的1.12.2版本,fastdfs-5.11

test -d '/home/sun/rpmbuild/BUILDROOT/nginx-1.12.2-1.el7.centos.x86_64/var/run/nginx'
|| mkdir -p '/home/sun/rpmbuild/BUILDROOT/nginx-1.12.2-1.el7.centos.x86_64/var/run/nginx'
test -d '/home/sun/rpmbuild/BUILDROOT/nginx-1.12.2-1.el7.centos.x86_64/var/log/nginx'
|| mkdir -p '/home/sun/rpmbuild/BUILDROOT/nginx-1.12.2-1.el7.centos.x86_64/var/log/nginx'
test -d '/home/sun/rpmbuild/BUILDROOT/nginx-1.12.2-1.el7.centos.x86_64/usr/local/nginx/html'
|| cp -R html '/home/sun/rpmbuild/BUILDROOT/nginx-1.12.2-1.el7.centos.x86_64/usr/local/nginx'
test -d '/home/sun/rpmbuild/BUILDROOT/nginx-1.12.2-1.el7.centos.x86_64/var/log/nginx'
|| mkdir -p '/home/sun/rpmbuild/BUILDROOT/nginx-1.12.2-1.el7.centos.x86_64/var/log/nginx'
make[1]: Leaving directory `/home/sun/rpmbuild/BUILD/nginx-1.12.2'

  • /usr/bin/install -p -D -m 0755 /home/sun/rpmbuild/SOURCES/nginx_init /home/sun/rpmbuild/BUILDROOT/nginx-1.12.2-1.el7.centos.x86_64/etc/rc.d/init.d/nginx
    /usr/bin/install: cannot stat '/home/sun/rpmbuild/SOURCES/nginx_init': No such file or directory
    error: Bad exit status from /var/tmp/rpm-tmp.MAKXk8 (%install)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.MAKXk8 (%install)

@sxy2475 sxy2475 closed this as completed Feb 18, 2018
@sxy2475 sxy2475 reopened this Feb 25, 2018
@sxy2475 sxy2475 closed this as completed Feb 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant