8 messages in ru.sysoev.nginxRe: Error during "make" after ./conf...
FromSent OnAttachments
WinnieAug 17, 2007 9:09 am 
Aleksandar LazicAug 17, 2007 1:18 pm 
lamAug 17, 2007 11:27 pm 
Igor SysoevAug 18, 2007 12:22 am 
Jeremy HinegardnerAug 18, 2007 12:27 am 
Igor SysoevAug 18, 2007 12:32 am 
Jeremy HinegardnerAug 18, 2007 1:23 am 
WinnieAug 18, 2007 4:41 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Error during "make" after ./configure --with-http_perl_module --with-mailActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Aug 18, 2007 12:32:28 am
List:ru.sysoev.nginx

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.

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-n@public.gmane.org> Newsgroups: gmane.comp.web.nginx.english To: <nginx-nofU2znGi42HXe+LvDL@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