<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1437160482229_2972">Greetings,</div><div id="yui_3_16_0_1_1437160482229_2971"><br></div><div dir="ltr" id="yui_3_16_0_1_1437160482229_2958">I'm trying to compile RRDTool version 1.5.3 on a old Oracle Enterprise Linux (5.11) and I'm not being able to go through the error below:</div><div id="yui_3_16_0_1_1437160482229_3002" dir="ltr"><br></div><div id="yui_3_16_0_1_1437160482229_3088" dir="ltr">====<br></div><div id="yui_3_16_0_1_1437160482229_3033" dir="ltr">configure: WARNING:<br class="">----------------------------------------------------------------------------<br class="">* I found a copy of pkgconfig, but there is no pcre.pc file around.<br class=""> You may want to set the PKG_CONFIG_PATH variable to point to its<br class=""> location.<br class="">----------------------------------------------------------------------------<br class=""><br class="">configure: WARNING:<br class="">----------------------------------------------------------------------------<br class="">* I could not find a working copy of pcre. Check config.log for hints on why<br class=""> this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately<br class=""> so that compiler and the linker can find libpcre and its header files. If<br class=""> you have not installed pcre, you can get it either from its original home on<br class=""><br class=""> get a newer glib and you will not need pcre at all<br class=""><br class=""> You can find also find an archive copy on<br class=""><br class=""> http://oss.oetiker.ch/rrdtool/pub/libs<br class=""><br class=""> The last tested version of pcre is x.x.x.<br class=""><br class=""> LIBS=-lm -lwrap -lglib-2.0 <br class=""> LDFLAGS=-Wl,--rpath -Wl,/home/user/rrdtool/lib -L/home/user/rrdtool/lib <br class=""> CPPFLAGS= -I/home/user/rrdtool/include/glib-2.0 -I/home/user/rrdtool/lib/glib-2.0/include <br class=""><br class="">----------------------------------------------------------------------------<br class=""> <br class="">checking for pcre_compile... no<br class="">configure: error: you need either glib with g_regex support or libpcre to compile rrdtool.<br class="">===</div><div id="yui_3_16_0_1_1437160482229_3087" dir="ltr"><br></div><div id="yui_3_16_0_1_1437160482229_3094" dir="ltr">I followed the instructions <a id="yui_3_16_0_1_1437160482229_3093" href="http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html">http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html</a> and installed pkgversion, followed by the glibc, both available on RRDTool website, without any error or warning.<br></div><div id="yui_3_16_0_1_1437160482229_2912"><br></div><div id="yui_3_16_0_1_1437160482229_3171">Do I have to enable any additional option on glibc to get PCRE enabled? I searched the configure options for it and also it's documentation, it seems the PCRE is enabled by default.</div><div id="yui_3_16_0_1_1437160482229_3165"><br></div><div id="yui_3_16_0_1_1437160482229_3164">Any other reason for this being failing?</div><div id="yui_3_16_0_1_1437160482229_3208"><br></div><div id="yui_3_16_0_1_1437160482229_3209" dir="ltr">This is the complete configure options I used to start RRDTool install:</div><div id="yui_3_16_0_1_1437160482229_3210" dir="ltr"><br></div><div id="yui_3_16_0_1_1437160482229_3214" dir="ltr"><span class="" style="font-size:14.666666666666666px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;" id="docs-internal-guid-f3dfec06-9d75-ff2c-4582-7ecca03d0566">./configure --disable-rrdcgi --disable-python -disable-tcl --disable-lua --disable-ruby --enable-perl-site-install --prefix $INSTALL_DIR</span></div><div id="yui_3_16_0_1_1437160482229_3241" dir="ltr"><br><span class="" style="font-size:14.666666666666666px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;" id="docs-internal-guid-f3dfec06-9d75-ff2c-4582-7ecca03d0566"></span></div><div id="yui_3_16_0_1_1437160482229_3258" dir="ltr"><span class="" style="font-size:14.666666666666666px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;" id="docs-internal-guid-f3dfec06-9d75-ff2c-4582-7ecca03d0566">My $INSTALL_DIR is "</span>/home/user/rrdtool". I searched for pcre.pc file and didn't find anything there (not sure if this is expected).<br></div><div id="yui_3_16_0_1_1437160482229_3259" dir="ltr"><br><span class="" style="font-size:14.666666666666666px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;" id="docs-internal-guid-f3dfec06-9d75-ff2c-4582-7ecca03d0566"></span></div><div id="yui_3_16_0_1_1437160482229_3277" dir="ltr"><span class="" style="font-size:14.666666666666666px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;" id="docs-internal-guid-f3dfec06-9d75-ff2c-4582-7ecca03d0566">Thank you,</span></div><div id="yui_3_16_0_1_1437160482229_3289" dir="ltr"><span class="" style="font-size:14.666666666666666px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;" id="docs-internal-guid-f3dfec06-9d75-ff2c-4582-7ecca03d0566">Alceu<br></span></div></div></body></html>