Compiling on Mac OS X Leopard (intel)

Igor Sysoev 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
> --with-pcre=/usr/local
> 
> 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[1]: *** [/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.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list