Running make for Nginx throws a “multiple target patterns” error
- by Justin Meltzer
When I run make inside my installed nginx directory I get the output:
make -f objs/Makefile
make[1]: Entering directory `/home/ec2-user/nginx/nginx-1.2.4'
objs/Makefile:110: *** multiple target patterns. Stop.
make[1]: Leaving directory `/home/ec2-user/nginx/nginx-1.2.4'
make: * [build] Error 2
I am on an Amazon Linux AMI.
The steps I took from the beginning was
wget /path/to/nginx/tarball
tar xvf nginx-1.2.4.tar.gz
cd nginx-1.2.4
./configure --prefix=/nginx --a-bunch-of-other-options
Then I ran make.
Also I installed make by running sudo yum install make
Please let me know if there's any other information I should be providing.