Error during "make" after ./configure --with-http_perl_module --with-mail

Igor Sysoev is at rambler-co.ru
Sat Aug 18 11:32:51 MSD 2007


On Sat, Aug 18, 2007 at 01:27:43AM -0600, Jeremy Hinegardner wrote:

> I'm betting that pcre.h is /usr/include/pcre/pcre.h on Redhat 9.  I just
> finished building nginx on RHEL 4 and that was the case.
> 
> add
> 
>     --with-cc-opt=$(pcre-config --cflags)
> 
> If pcre-config doesn't exist on RH9 then change to
> 
>     --with-cc-opt=-I/usr/include/pcre
> 
> enjoy,

nginx configure tests pcre.h in /usr/include/pcre/ so it should work.

> -jeremy
> 
> On Sat, Aug 18, 2007 at 02:27:30PM +0800, lam wrote:
> > 
> > 
> > 
> > Hi...
> > my nginx machine has Redhat 9 (shrike) and also "pcre-3.9.10" and 
> > "pcre-devel-3.9.10"....
> > i haven't find any rpm about like "perl-pcre"....
> > 
> > many many thx again..
> > regards,
> > winnie
> > 
> > 
> > ----- Original Message ----- 
> > From: "Aleksandar Lazic" <al-nginx-922TnBLj4uE at public.gmane.org>
> > Newsgroups: gmane.comp.web.nginx.english
> > To: <nginx-nofU2znGi42HXe+LvDLADg at public.gmane.org>
> > Sent: Saturday, August 18, 2007 4:19 AM
> > Subject: Re: Error during "make" after 
> > ./configure --with-http_perl_module --with-mail
> > 
> > 
> > >Hi,
> > >
> > >On Sam 18.08.2007 00:10, Winnie wrote:
> > >>
> > >>hi....i found the error stop the process of "make" after 
> > >>"./configure --with-http_perl_module --with-mail"..
> > >>my machine has installed perl-5.80.....
> > >>many many thx....
> > >>
> > >>here're the error during "make":
> > >>....
> > >>Please specify prototyping behavior for nginx.xs (see perlxs manual)
> > >>gcc -c  -I ../../../../../src/core -I ../../../../../src/event -I 
> > >>../../../../..
> > >>/src/os/unix -I ../../../../../src/http -I 
> > >>../../../../../src/http/modules -I ..
> > >>/../../../../src/http/modules/perl -I 
> > >>../../../../../objs  -D_REENTRANT -D_GNU_S
> > >>OURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing 
> > >>-I/usr/local/include
> > >>-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm 
> > >>-I/usr/lib/perl5/
> > >>5.8.0/i386-linux-thread-multi/CORE -g  -O   -DVERSION=\"0.5.31\" 
> > >>-DXS_VERSION=\"
> > >>0.5.31\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" 
> > >>nginx.c
> > >>In file included from ../../../../../src/core/ngx_core.h:61,
> > >>                from nginx.xs:10:
> > >>../../../../../src/core/ngx_regex.h:14:18: pcre.h: No such file or 
> > >>directory
> > >
> > >You have not installed the pcre-development package.
> > >Please can you tell us which os you use and which nginx-version you try
> > >to install!?
> > >
> > >Cheers
> > >
> > >Aleks
> > >
> > >
> > 
> > 
> > 
> > 
> > 
> 

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





More information about the nginx mailing list