<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/9/25 09:02, James Abernathy wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANFv2EnuepsxjA86Lpp_PtZ6LRJtSfi_Aozc=P=M7QQ4NcHL8g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Sorry about the partial email that went out too soon.</div>
<div><br>
</div>
<div class="gmail_quote gmail_quote_container">
<div>
<div>I think the correct way to use the new cmake build
stuff has finally sunk into my brain.</div>
<div><br>
</div>
<div>On a fresh nuc box with Fedora Plasma 41 installed I
followed the cmake readme and this time I built master
with these commands:</div>
<div><span style="font-family:monospace"><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br>
</span></span></div>
<div><span style="font-family:monospace"><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">cmake
--preset qt5
-DCMAKE_INSTALL_PREFIX=~/mythtv-output-jfa</span><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>
<span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">cmake --build
build-qt5</span><br>
<span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>
</span></div>
<div>This way I didn't need 'sudo' to accomplish this and
everything is in my $HOME directory.</div>
<div><br>
</div>
<div>At first I did what the Mythtv Build from Source wiki
calls out for libraries but I also try setting the
LD_LIBRARY_PATH.</div>
<div><br>
</div>
<div><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,sans-serif">I
created a file /etc/ld.so.conf.d called mythtv.conf with
the contents:</span></div>
<div><span style="font-family:monospace"><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">/home/jim/mythtv-output-jfa/lib/</span><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>
<span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">/home/jim/mythtv-output-jfa/lib64/</span><br>
</span></div>
<div><span style="font-family:monospace"><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span></span><br>
</div>
<div>and ran <span style="font-family:monospace"><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">sudo ldconfig</span><br>
</span><br>
</div>
<div>I added to the end of my ~/.bashrc file the following:</div>
<div><span style="font-family:monospace"><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">export
LD_LIBRARY_PATH=$LD_LIBRARY_<a class="moz-txt-link-freetext" href="PATH:/home/jim/mythtv-output-jfa/">PATH:/home/jim/mythtv-output-jfa/</a></span><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>
<span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">export
PATH=$<a class="moz-txt-link-freetext" href="PATH:/home/jim/mythtv-output-jfa/bin/">PATH:/home/jim/mythtv-output-jfa/bin/</a></span><br>
<span
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>
</span></div>
<div>mythfrontend --platform xcb runs against my production
backend just fine.</div>
<div><br>
</div>
<div>Is this sort of what I'm supposed to do?</div>
<div><br>
</div>
<div>Do I need the /etc/ld.so.conf.d stuff or is
LD_LIBRARY_PATH all I need?</div>
<div><br>
</div>
<div>Jim A</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre wrap="" class="moz-quote-pre">_______________________________________________
</pre>
</blockquote>
<p>If you copy it into /usr/local then all the paths are
automatically sorted out. Otherwise to run from a different
directory you need a number of variables. This is from test.sh in
deb-light in the packaging repository:<br>
</p>
<p>basedir=$destdir/usr<br>
export PATH=$basedir/<a class="moz-txt-link-freetext" href="bin:$basedir/local/bin:$PATH">bin:$basedir/local/bin:$PATH</a><br>
export MYTHTVDIR=$basedir<br>
export
LD_LIBRARY_PATH=$basedir/<a class="moz-txt-link-freetext" href="lib:$basedir/share/mythtv/lib:$LD_LIBRARY_PATH">lib:$basedir/share/mythtv/lib:$LD_LIBRARY_PATH</a><br>
export PYTHONPATH=`ls -d $basedir/local/lib/python*/dist-packages`<br>
export PERL5LIB=`ls -d
$basedir/local/share/perl/*`${<a class="moz-txt-link-freetext" href="PERL5LIB:+:$">PERL5LIB:+:$</a>{PERL5LIB}}<br>
</p>
<p>test.sh can be used to run packages from the install location
used with deb-light. See the deb-light readme.</p>
<p>Peter<br>
</p>
</body>
</html>