Compiling on Mac OS X Leopard (intel)
is at rambler-co.ru
Sun Nov 4 10:22:20 MSK 2007
On Sun, Nov 04, 2007 at 12:24:18AM +0100, Richard Clarke wrote:
> Wondering if anyone could shed some light on a problem I'm having with
> the make file,
> ./configure --with-http_ssl_module --prefix=/usr/local/nginx
> when I then run 'make' I get the following error;
> make -f objs/Makefile
> cd /usr/local \
> && if [ -f Makefile ]; then make distclean; fi \
> && CC="gcc" CFLAGS="-O2 -fomit-frame-pointer -pipe " \
> ./configure --disable-shared
> /bin/sh: ./configure: No such file or directory
> make: *** [/usr/local/Makefile] Error 127
> make: *** [build] Error 2
> Failing because Makefile doesn't exist in /usr/local/
> Why is it looking here for it?
--with-pcre= is looking for untarred PCRE sources to built them statically
with nginx. If you have got the system PCRE library in /usr/local/, then
you do not need to specify it: configure should find it by itself.
So remove "--with-pcre=/usr/local" at all.
More information about the nginx