<html>#2235: ExternalLibraries/HDF5 fails to correctly set up include paths when auto-detecting library
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>Homebrew (at least if asked to do so) does install pkg-config, however  unfortunately Homebrew does not provide a pkg-confg file for HDF5. pkg-config is in the path, there just is not <code>hdf5.pc</code> file.</p>
<p>That is what the linked in ticket in my point "1." is about. Homebrew does not provide a pkgconfig file because  HDF5 itself does only provide one when compiled using cmake it seem, and it seems homebrew does not use cmake.</p>
<p>Note  that this issue is not actually new but already existed in (at least) the previous (two) release(s) since I have fixes for it in the <code>osx-homebrew.cfg</code> file. The reason this has come up again is trying to switch OSX and Linux to both use generic.cfg or at least work without having to specify an optionlist or special machine ini file to <code>setup-silent</code>.</p>
<p>Note further that due to the way we filter out paths we think the compiler looks for even if no <code>-L</code> or <code>-I</code> is given, even having a pkg-config file would not help, since we would still filter out the "-I/usr/local/include" that is required on a Mac b/c gcc (Homebrew or MacPorts, and also the clang-gcc-wrapper) does not look in /usr/local/include (that is what my point 2. is about).</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2235/externallibraries-hdf5-fails-to-correctly'>https://bitbucket.org/einsteintoolkit/tickets/issues/2235/externallibraries-hdf5-fails-to-correctly</a></p>
</html>