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