Can not configure pcre on CENTOS
x at xman.org
Tue Nov 24 18:46:07 MSK 2009
Umm... what happens when you do "--with-pcre=/usr"?
> Hi. I apologize but I am a linux noobie. I installed pcre on Centos using "yum install pcre-devel" . Everything worked fine. However, I can seem to find the correct location for the pcre library. I use locate and find and have tried several combinations.
> The following is my configure command:
> /configure --sbin-path=/sbin/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_module --with-md5=auto/lib/md5 --with-sha1=auto/lib/sha1 --with-http_perl_module --without-http_rewrite_module --with-pcre=../pcre-6-6.2
> ./configure runs fine.
> make fails
> I have tried several different values for the --with-pcre= option, such as /usr/bin/pcre-6-6.2 and I always get the following
> Entering directory `/tmp/nginx/nginx-0.7.64'
> cd ../pcre-6-6.2 \
> && if [ -f Makefile ]; then make distclean; fi \
> && CC="gcc" CFLAGS="-O2 -fomit-frame-pointer -pipe " \
> ./configure --disable-shared
> /bin/sh: line 0: cd: ../pcre-6-6.2: No such file or directory
> make: *** [../pcre-6-6.2/Makefile] Error 1
> make: Leaving directory `/tmp/nginx/nginx-0.7.64'
> make: *** Error 2
> How can I locate the correct library for pcre and what value should I set it to for the --with-pcre option?
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,25320,25320#msg-25320
> nginx mailing list
> nginx at nginx.org
More information about the nginx