Running make for Nginx throws a “multiple target patterns” error
Posted
by
Justin Meltzer
on Server Fault
See other posts from Server Fault
or by Justin Meltzer
Published on 2012-09-29T01:48:46Z
Indexed on
2012/09/29
3:40 UTC
Read the original article
Hit count: 423
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.
© Server Fault or respective owner