Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Nginx-1.8.0 Make Install Failing #973

Closed
grouptable opened this issue May 29, 2015 · 2 comments
Closed

Nginx-1.8.0 Make Install Failing #973

grouptable opened this issue May 29, 2015 · 2 comments

Comments

@grouptable
Copy link

I have successfully configured nginx with the added module for pagespeed. Like below:

./configure --user=nginx --group=nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --with-rtsig_module --with-select_module --with-poll_module --with-file-aio --with-ipv6 --with-http_ssl_module --with-http_spdy_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-http_perl_module --with-mail --with-mail_ssl_module --with-cpp_test_module --with-cpu-opt=CPU --with-pcre --with-pcre-jit --with-md5-asm --with-sha1-asm --with-zlib-asm=CPU --with-libatomic --with-debug --with-ld-opt="-Wl,-E" --with-pcre=path --add-module=$HOME/ngx_pagespeed-release-${NPS_VERSION}-beta

However, when I run 'make' command, I get the following error.

make -f objs/Makefile
make[1]: Entering directory /home/vnadmin/nginx-1.8.0' cd path \ && if [ -f Makefile ]; then make distclean; fi \ && CC="cc" CFLAGS="-O2 -fomit-frame-pointer -pipe " \ ./configure --disable-shared --enable-jit /bin/sh: 1: cd: can't cd to path make[1]: *** [path/Makefile] Error 2 make[1]: Leaving directory/home/vnadmin/nginx-1.8.0'
make: *** [build] Error 2

Could you please suggest a fix for this? Thanks.

@grouptable
Copy link
Author

The version of Pagespeed module is the latest: NPS_VERSION=1.9.32.3

@crowell
Copy link
Contributor

crowell commented May 29, 2015

the part of your config that looks wrong is --with-pcre=path "path" is supposed to be the actual path to pcre.

see here for details http://wiki.nginx.org/InstallOptions

@crowell crowell closed this as completed May 29, 2015
jeffkaufman pushed a commit that referenced this issue Mar 2, 2016
jeffkaufman pushed a commit that referenced this issue Mar 4, 2016
jeffkaufman pushed a commit that referenced this issue Mar 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants