Eric Blake wrote:
> The build failed for me after ./configure --enable-gcc-warnings, when pcre
> development files are not available:
>
> search.c: In function 'Pexecute':
> search.c:729: error: function might be possible candidate for attribute
> 'noreturn' [-Wmissing-noreturn]
>
> Rather than declaring to always fail and Pexecute to just abort(), maybe
> it would make more sense to omit their declarations altogether in that
> instance, and not even expose the command line option?  Or is that too
> drastic, and we should come up with some other alternative?

Taking a non-invasive approach, so far I've always solved this
by installing the required package.  For Fedora, just do this:

    yum install pcre-devel

For an apt/deb-based distro, it's probably something like this:

    apt-get install libpcre3-dev


Reply via email to