[mythtv-users] Compiling mythtv.30 - why does hdhomerun show disabled?

Richard Shaw hobbes1069 at gmail.com
Mon Apr 8 19:45:11 UTC 2019


On Mon, Apr 8, 2019 at 2:26 PM Ralph <rbonafied at gmail.com> wrote:

> On 4/7/19 4:52 PM, Matt Dorsch wrote:
> > "didn't work" meaning you couldn't get libhdhomerun installed, or you
> > got installed but still don't have it as an option?
> >
> > If the latter, did you see this:
> > http://lists.mythtv.org/pipermail/mythtv-users/2019-March/399778.html
> >
> > (unfortunately, using google or duckduckgo to search the mailing list
> > archives doesn't seem to work.)
> >
> > On Sun, Apr 7, 2019 at 2:32 PM Ralph <rbonafied at gmail.com
> > <mailto:rbonafied at gmail.com>> wrote:
> >
> >     On 4/1/19 9:42 PM, Richard Shaw wrote:
> >     > On Mon, Apr 1, 2019 at 8:15 PM Ralph <rbonafied at gmail.com
> >     <mailto:rbonafied at gmail.com>
> >     > <mailto:rbonafied at gmail.com <mailto:rbonafied at gmail.com>>> wrote:
> >     >
> >     >     I already had the source and compiled it.  My question is
> >     where should I
> >     >     put the compiled library and other files such that the mythtv
> >     configure
> >     >     script finds it?
> >     >
> >     >
> >     > The Fedora package does a bit of manipulating but you can copy the
> >     > library, libhdhomerun.so, to /usr/lib64 (assuming you're running
> >     > 64bits), the executable to /usr/bin, and the headers (*.h) to
> >     /usr/include.
> >     >
> >     > Thanks,
> >     > Richard
> >     >
> >     >
> >     Hi Richard,
> >
> >     Thank you for your suggestion.  Unfortunately that didn't work for
> me.
> >     Is there anything I can do to see more detail on why it's not
> working?
> >     _______________________________________________
> >
> Fair questions :)  I downloaded libhdhomerun.tar.gz to my Mageia system.
>  Libhdhomerun compiled fine and created  libhdhomerun.so.   I copied *.h
> to /usr/include and /usr/local/include.  I copied *.so to both
> /usr/local/lib and /usr/lib64.  I made sure the permissions were world
> readable.
>
> I then ran mythtv's configure with the following options:
>
> ./configure --prefix=/usr/local/mythtv.30 --enable-vdpau
> --with-bindings=perl --disable-altivec --enable-libmp3lame
> --enable-libx264 --enable-libxvid  --enable-
> sdl2 --disable-xnvctrl
>
> I saw this in the output of configure:
> HDHomeRun support         no
>
> I then wrote this reply :)
>

Two things I can think of...

1. Were the libraries executable? They must be executable on Fedora (and I
believe RPM based systems), and not on Debian based systems.

2. The Fedora package mangles the includes to be in a subdirectory, perhaps
configure is only looking there?

 mkdir include
cp -a libhdhomerun/*.h include
sed -r 's|(^#include +["])(.*)(["] *$)|#include <hdhomerun/\2>|' \
    libhdhomerun/hdhomerun.h > include/hdhomerun.h
mkdir -p %{buildroot}%{_includedir}/hdhomerun
install -m0755 include/*.h %{buildroot}%{_includedir}/hdhomerun/

Now that I think about it (i'm not the original maintainer) I don't know
why the permissions are executable on the headers...

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190408/a4fe3386/attachment.html>


More information about the mythtv-users mailing list