Welcome! Log In Create A New Profile

Advanced

nginx 1.2.2 compile fails on Ubuntu 12.04 LTS

Posted by hyde 
nginx 1.2.2 compile fails on Ubuntu 12.04 LTS
July 15, 2012 11:34AM
Hi, everyone!

I tried to build ngnix 1.2.2 from source on Ubuntu 12.04 LTS with
these configure options below:

--prefix=/usr/local/nginx-1.2.2
--user=www-data
--group=www-data
--with-ipv6
--with-http_ssl_module
--with-http_sub_module
--with-http_flv_module
--with-http_mp4_module
--with-http_stub_status_module
--with-cpp_test_module
--with-http_xslt_module
--with-pcre-jit
--with-pcre=/usr/local
--with-openssl=/usr/local/ssl

the configure script didn't say complain but makefile said it below:

hoo@localhost:~/src/nginx-1.2.2$ make
make -f objs/Makefile
make[1]: directory `/home/hoo/src/nginx-1.2.2' entering
cd /usr/local \
&& if [ -f Makefile ]; then make distclean; fi \
&& CC="gcc" CFLAGS="" \
./configure --disable-shared --enable-jit
/bin/sh: 3: ./configure: not found
make[1]: *** [/usr/local/Makefile] error 127
make[1]: directory `/home/hoo/src/nginx-1.2.2' exitting
make: *** [build] error 2

I can't understand why the configure script couldn't find itself.

Could you help me that it works?

Hyde
Re: nginx 1.2.2 compile fails on Ubuntu 12.04 LTS
August 09, 2012 02:25PM
Have you tried this https://launchpad.net/ubuntu/precise/+source/nginx

I can't remember the issue I had installing from the source. Luckily the options that I needed was available in one of the packages.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 150
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready