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
does contain libtcmalloc.so.4 instead:

  $ repoquery -l gperftools-libs|grep libtcmalloc.so
  /usr/lib/libtcmalloc.so.4
  /usr/lib/libtcmalloc.so.4.4.5
  /usr/lib64/libtcmalloc.so.4
  /usr/lib64/libtcmalloc.so.4.4.5

(library version might differ in your installation)

Hope that helps.

Best regards,
Sergey

--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to