<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Feb 11, 2025 at 1:47 PM David Hampton <<a href="mailto:mythtv@love2code.net">mythtv@love2code.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 2025-02-11 at 13:26 -0500, James Abernathy wrote:<br>
> <br>
> On Tue, Feb 11, 2025 at 1:05 PM David Hampton via mythtv-users<br>
> <<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>> wrote:<br>
> > <br>
> > Are you installing into the same CMAKE_INSTALL_PREFIX directory as<br>
> > before? Try deleting that first. The cmake builds will look at<br>
> > the<br>
> > install directory to see if exiv2 and ffmpeg have already been<br>
> > built,<br>
> > and will reuse those earlier builds if possible. You could also<br>
> > try<br>
> > building mythtv by adding -DLIBS_USE_INSTALLED=OFF to the "cmake --<br>
> > preset" command. That should ignore any previously built libraries<br>
> > and<br>
> > rebuild everything.<br>
> > <br>
> > Its also possible since you've copied your install to /usr before,<br>
> > so<br>
> > the builds might be picking up bad information from there. Try<br>
> > this<br>
> > command:<br>
> > <br>
> > find /usr -name libmyth*.pc<br>
> > <br>
> > If that returns any file names, delete those files. Also check to<br>
> > see<br>
> > if the files ffnvcodec.pc and mythexiv2.pc exist in the same<br>
> > directory<br>
> > as the others, and delete those too. This shouldn't be necessary<br>
> > if<br>
> > you set the LIBS_USE_INSTALLED flag.<br>
> > <br>
> > David<br>
> > <br>
> <br>
> <br>
> Thanks for the reply. I did delete all files in my $HOME directory<br>
> and started over. So nothing of the previous cmail build was there. <br>
> I'm not sure where to put the -DLIBS_USE_INSTALL=off since I'm doing<br>
> a mythtv-light build this time.<br>
<br>
I can't help there. I haven't done any mythtv-light builds.<br>
<br>
If you want to always rebuild exiv2 and ffmpeg, you could create the<br>
file ~/.config/MythTV/BuildOverridesPost.cmake with the line:<br>
<br>
set(LIBS_USE_INSTALLED OFF)<br>
<br>
> So deleting the files that showed up may be the easiest option. <br>
> <br>
> ls -l /usr/local/lib/pkgconfig/<br>
> -rw-r--r-- 1 root root 208 Feb 11 07:06 ffnvcodec.pc<br>
> -rw-r--r-- 1 root root 459 Feb 11 07:06 libmythavcodec.pc<br>
> -rw-r--r-- 1 root root 647 Feb 11 07:06 libmythavdevice.pc<br>
> -rw-r--r-- 1 root root 575 Feb 11 07:06 libmythavfilter.pc<br>
> -rw-r--r-- 1 root root 483 Feb 11 07:06 libmythavformat.pc<br>
> -rw-r--r-- 1 root root 425 Feb 11 07:06 libmythavutil.pc<br>
> -rw-r--r-- 1 root root 393 Feb 11 07:06 libmythpostproc.pc<br>
> -rw-r--r-- 1 root root 398 Feb 11 07:06 libmythswresample.pc<br>
> -rw-r--r-- 1 root root 391 Feb 11 07:06 libmythswscale.pc<br>
> -rw-r--r-- 1 root root 288 Feb 11 07:06 mythexiv2.pc<br>
<br>
You can delete all of these. These are how one sub-project in the<br>
cmake mythtv build finds the results of the previous cmake sub-<br>
projects, and how repeated builds of MythTV detect that libraries like<br>
FFmpeg have already been built. They will get recreated the next time<br>
you build MythTV with an install directory of /usr/local.<br>
<br>
David<br></blockquote><div><br></div><div>Thanks for the details. I was able to build completely mythtv-light without the previous stuff being remembered. Now onto testing. <br></div><div><br></div><div>JIm <br><br></div></div></div>