Welcome! Log In Create A New Profile

Advanced

Re: [nginx] svn commit: r4424 - trunk/src/core

Valentin V. Bartenev
February 22, 2012 01:06PM
On Wednesday 22 February 2012 20:44:09 rickytato rickytato wrote:
> I'm trying to compile Nginx with pcre jit support but I've an error:
>
>
> objs/src/core/ngx_regex.o: In function `ngx_pcre_free_studies':
> /usr/local/src/nginx-1.1.15/src/core/ngx_regex.c:307: undefined
> reference to `pcre_free_study'
> collect2: ld returned 1 exit status
> make[1]: *** [objs/nginx] Error 1
>
>
> I'v compiled pcre-8.21 with: ./configure --prefix=/usr/local/
> --enable-jit --enable-utf8 --enable-unicode-properties
> but nginx won't compile.
>

Probably, you have the same problem as mentioned in this ticket:
http://trac.nginx.org/nginx/ticket/94

If so, the solution is in the last comment by Maxim Dounin:
http://trac.nginx.org/nginx/ticket/94#comment:9

Also, it's possible to compile nginx with pcre from source by using
the "--with-pcre=/path/to/pcre/source" and "--with-pcre-jit" configure
flags.

, see http://nginx.org/en/docs/install.html for more information.

wbr, Valentin V. Bartenev

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Re: [nginx] svn commit: r4424 - trunk/src/core

rickytato rickytato 3645 February 22, 2012 11:46AM

Re: [nginx] svn commit: r4424 - trunk/src/core

Valentin V. Bartenev 944 February 22, 2012 01:06PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready