[pcre-dev] install problems of pcre

Pàgina inicial
Delete this message
Autor: 李欣?h(Xinyue Li)
Data:  
A: pcre-dev@exim.org
Assumpte: [pcre-dev] install problems of pcre
Hi,

I am a user of pcre2-10.21. I typed ./configure prefix=/my/path/to/pcre and then typed make. However, there is error message like below:
src/pcre2grep.c: In function 'grep_or_recurse':
src/pcre2grep.c:2208: error: 'errno' undeclared (first use in this function)
src/pcre2grep.c:2208: error: (Each undeclared identifier is reported only once
src/pcre2grep.c:2208: error: for each function it appears in.)
src/pcre2grep.c: In function 'read_pattern_file':
src/pcre2grep.c:2554: error: 'errno' undeclared (first use in this function)
src/pcre2grep.c: In function 'main':
src/pcre2grep.c:3199: error: 'errno' undeclared (first use in this function)
make[1]: *** [src/pcre2grep-pcre2grep.o] Error 1
make[1]: Leaving directory `/ldfssz1/ST_HEALTH/Aging/F16ZQSB1SY2761/lixinyue/bin/pcre2-10.21'
make: *** [all] Error 2

Can anyone help me ?

Thanks!

Best,
Xinyue Li