<div dir="ltr"><div dir="ltr"><div dir="ltr">On Mon, Apr 8, 2019 at 2:26 PM Ralph <<a href="mailto:rbonafied@gmail.com">rbonafied@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 4/7/19 4:52 PM, Matt Dorsch wrote:<br>
> "didn't work" meaning you couldn't get libhdhomerun installed, or you<br>
> got installed but still don't have it as an option?<br>
> <br>
> If the latter, did you see this:<br>
> <a href="http://lists.mythtv.org/pipermail/mythtv-users/2019-March/399778.html" rel="noreferrer" target="_blank">http://lists.mythtv.org/pipermail/mythtv-users/2019-March/399778.html</a><br>
> <br>
> (unfortunately, using google or duckduckgo to search the mailing list<br>
> archives doesn't seem to work.)<br>
> <br>
> On Sun, Apr 7, 2019 at 2:32 PM Ralph <<a href="mailto:rbonafied@gmail.com" target="_blank">rbonafied@gmail.com</a><br>
> <mailto:<a href="mailto:rbonafied@gmail.com" target="_blank">rbonafied@gmail.com</a>>> wrote:<br>
> <br>
>     On 4/1/19 9:42 PM, Richard Shaw wrote:<br>
>     > On Mon, Apr 1, 2019 at 8:15 PM Ralph <<a href="mailto:rbonafied@gmail.com" target="_blank">rbonafied@gmail.com</a><br>
>     <mailto:<a href="mailto:rbonafied@gmail.com" target="_blank">rbonafied@gmail.com</a>><br>
>     > <mailto:<a href="mailto:rbonafied@gmail.com" target="_blank">rbonafied@gmail.com</a> <mailto:<a href="mailto:rbonafied@gmail.com" target="_blank">rbonafied@gmail.com</a>>>> wrote:<br>
>     ><br>
>     >     I already had the source and compiled it.  My question is<br>
>     where should I<br>
>     >     put the compiled library and other files such that the mythtv<br>
>     configure<br>
>     >     script finds it?<br>
>     ><br>
>     ><br>
>     > The Fedora package does a bit of manipulating but you can copy the<br>
>     > library, libhdhomerun.so, to /usr/lib64 (assuming you're running<br>
>     > 64bits), the executable to /usr/bin, and the headers (*.h) to<br>
>     /usr/include.<br>
>     ><br>
>     > Thanks,<br>
>     > Richard<br>
>     ><br>>     ><br>
>     Hi Richard,<br>
> <br>
>     Thank you for your suggestion.  Unfortunately that didn't work for me.<br>
>     Is there anything I can do to see more detail on why it's not working?<br>
>     _______________________________________________<br>> <br>
Fair questions :)  I downloaded libhdhomerun.tar.gz to my Mageia system.<br>
 Libhdhomerun compiled fine and created  libhdhomerun.so.   I copied *.h<br>
to /usr/include and /usr/local/include.  I copied *.so to both<br>
/usr/local/lib and /usr/lib64.  I made sure the permissions were world<br>
readable.<br>
<br>
I then ran mythtv's configure with the following options:<br>
<br>
./configure --prefix=/usr/local/mythtv.30 --enable-vdpau<br>
--with-bindings=perl --disable-altivec --enable-libmp3lame<br>
--enable-libx264 --enable-libxvid  --enable-<br>
sdl2 --disable-xnvctrl<br>
<br>
I saw this in the output of configure:<br>
HDHomeRun support         no<br>
<br>
I then wrote this reply :)<br></blockquote><div><br></div><div>Two things I can think of...</div><div><br></div><div>1. Were the libraries executable? They must be executable on Fedora (and I believe RPM based systems), and not on Debian based systems.</div><div><br></div><div>2. The Fedora package mangles the includes to be in a subdirectory, perhaps configure is only looking there?</div><div><br></div><div> mkdir include</div><div>cp -a libhdhomerun/*.h include</div><div>sed -r 's|(^#include +["])(.*)(["] *$)|#include <hdhomerun/\2>|' \</div><div>    libhdhomerun/hdhomerun.h > include/hdhomerun.h</div><div>mkdir -p %{buildroot}%{_includedir}/hdhomerun</div><div>install -m0755 include/*.h %{buildroot}%{_includedir}/hdhomerun/</div><div><br></div><div>Now that I think about it (i'm not the original maintainer) I don't know why the permissions are executable on the headers...</div><div><br></div><div>Thanks,</div><div>Richard</div></div></div></div>