Re: [Pound Mailing List] Help installing Pound 2.8 on CentOS7 with PCRE2 and TCMalloc
"Simon Matter" <simon.matter-NZ3At/[email protected]> Fri, 25 May 2018 20:38:35 +0200
| Newsgroups | gmane.comp.web.pound.general |
|---|---|
| Message-ID | <[email protected]> |
> Hi Phil, > >> pcre2, pcre2-devel, and gperftools-libs (installs >> libtcmalloc). Yet, when I run ./configure, the config.log shows that >> it's >> setting: >> >> ac_cv_header_pcre_pcreposix_h=no >> ac_cv_header_pcreposix_h=no >> ac_cv_lib_tcmalloc_malloc=no > > To make long story short, here's what you need to do in order to make > Pound find the packages: > > cd /usr/include > ln -sf pcre2posix.h pcreposix.h > cd /usr/lib64 # on 32-bit systems - cd /usr/lib > ln -sf libtcmalloc.so.4 libtcmalloc.so > > Now you can run ./configure --enable-pcreposix --enable-tcmalloc and get > the desired result. > > And here's the long story: > > When given the --enable-pcreposix option, configure looks for file > prceposix.h (or prce/prceposix.h). However, the package pcre2-devel > installs the file prce2posix.h: > > $ repoquery -l pcre2-devel | grep 'posix.h' > /usr/include/pcre2posix.h > > Similarly, when given the --enable-tcmalloc option, configure expects to > find libtmalloc.so, but gperftools-libs does not include this file. It I think this step should not be needed when gperftools-devel is installed. Regards, Simon -- To unsubscribe send an email with subject unsubscribe to [email protected] Please contact [email protected] for questions.