<div dir="ltr">Hi folks,<div><br></div><div>Apologies if I'm posting to the wrong place.</div><div><br></div><div>I've been trying to build collectd from source on a fresh RedHat 7 VM and I've been having a lot of problems. I'm probably doing something dumb. Is there a recipe for doing so?</div><div><br></div><div>These are the steps I took and what went wrong:<br></div><div><br></div><div><ol><li>Create a fresh RH7 VM on Amazon Web Services (Red Hat Enterprise Linux 7.0 (HVM), SSD Volume Type - ami-a8d369c0)</li><li><b style="font-weight:normal" id="docs-internal-guid-92439306-5b97-1e36-f4f2-389727de4588"><span style="font-family:Arial;color:rgb(68,68,68);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:rgb(255,255,255)">sudo yum -y update && sudo yum -y install git gitk autoconf automake flex bison gcc libtool libtool-ltdl</span></b><br></li><li><b style="font-weight:normal"><span style="font-family:Arial;color:rgb(68,68,68);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:rgb(255,255,255)"><b style="font-weight:normal" id="docs-internal-guid-92439306-5b98-97fd-6f37-10c844048916"><span style="font-family:Arial;color:rgb(68,68,68);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:rgb(255,255,255)">git clone </span><span style="font-family:Arial;color:rgb(17,85,204);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:rgb(255,255,255)"><a href="https://github.com/collectd/collectd.git">https://github.com/collectd/collectd.git</a></span><span style="font-family:Arial;color:rgb(68,68,68);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:rgb(255,255,255)"> && cd collectd</span></b><br></span></b></li><li><font color="#444444" face="Arial"><span style="white-space:pre-wrap">./build.sh</span></font></li><ol><li><font color="#444444" face="Arial"><span style="white-space:pre-wrap">This results in the error message "WARNING: `yacc' not found! Please make sure that `yacc' is installed and is in one of the directories listed in the PATH environment variable."</span></font></li></ol><li>edit build.sh to change the string "yacc" to "bison"</li><li>./build.sh</li></ol><div>The last step prints the following:</div></div><div><br></div><div><div>+ autoheader</div><div>+ aclocal</div><div><a href="http://configure.ac:3988">configure.ac:3988</a>: warning: macro 'AM_PATH_GLIB_2_0' not found in library</div><div>+ libtoolize --ltdl --copy --force</div><div>libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `libltdl/config'.</div><div>libtoolize: copying file `libltdl/config/compile'</div><div>libtoolize: copying file `libltdl/config/config.guess'</div><div>libtoolize: copying file `libltdl/config/config.sub'</div><div>libtoolize: copying file `libltdl/config/depcomp'</div><div>libtoolize: copying file `libltdl/config/install-sh'</div><div>libtoolize: copying file `libltdl/config/missing'</div><div>libtoolize: copying file `libltdl/config/ltmain.sh'</div><div>libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `libltdl/m4'.</div><div>libtoolize: copying file `libltdl/m4/argz.m4'</div><div>libtoolize: copying file `libltdl/m4/libtool.m4'</div><div>libtoolize: copying file `libltdl/m4/ltdl.m4'</div><div>libtoolize: copying file `libltdl/m4/ltoptions.m4'</div><div>libtoolize: copying file `libltdl/m4/ltsugar.m4'</div><div>libtoolize: copying file `libltdl/m4/ltversion.m4'</div><div>libtoolize: copying file `libltdl/m4/lt~obsolete.m4'</div><div>libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, `libltdl'.</div><div>libtoolize: `COPYING.LIB' not found in `/usr/share/libtool/libltdl'</div></div><div><br></div><div>... and then stops. I was assuming that this process would generate a "configure" script that I could run. However it did not. Should I expect this to build on RHEL7, and if so, does anyone have a recipe for doing so?</div><div><br></div><div>Thanks in advance for any advice / help.</div><div><br></div></div>