<br><br><div class="gmail_quote">On Tue, Jan 3, 2012 at 4:25 PM, Raymond Wagner <span dir="ltr">&lt;<a href="mailto:raymond@wagnerrp.com">raymond@wagnerrp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 1/3/2012 17:07, Kenneth Emerson wrote:<br>
&gt; I&#39;ve recently changed my build and runtime prefix for MythTV from<br>
&gt; /usr/local/ to /mythbuild/new.  I have since done a make distclean<br>
&gt; prior to rebuilding the myth binaries, the configure shows that the<br>
&gt; python bindings will be included, and I have changed my LD_LIBARY_PATH<br>
&gt; to point to /mythbuild/new/lib.  However, the python bindings seem to<br>
&gt; be broken.<br>
<br>
</div>Python does not follow convention with LD_LIBRARY_PATH, it just uses<br>
/lib out of convenience.  Use the PYTHONPATH variable to modify the<br>
module search paths.<br>
<br></blockquote><div><br></div><div>Thank you, Raymond.  I added:</div><div><br></div><div>export PYTHONPATH=/mythbuild/new/lib/python2.6/site-packages/</div><div><br></div><div>to mythtv&#39;s .profile as well as to the startup scripts for both the forntend and backend which seems to have fixed my problem.</div>
<div><br></div><div>Now that I know what I&#39;m looking for (i.e. PYTHONPATH) I found several references to it in the mail archives.  I thought I&#39;d help out by looking for the right place on the MythTV wiki to document this but I&#39;m not sure either  </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="http://www.mythtv.org/wiki/0.25_Python_Bindings">http://www.mythtv.org/wiki/0.25_Python_Bindings</a> <br></blockquote>
<div>or</div><div><a href="http://www.mythtv.org/wiki/0.25_Python_Bindings/Upgrade_Guide">http://www.mythtv.org/wiki/0.25_Python_Bindings/Upgrade_Guide</a></div><div><br></div><div>is the right place. Perhaps it should be discussed in the main users/installation guide?  It appears to only bite one when one strays from using /usr/local.  Is there no way to pick this up during the install when the prefix and runprefix are defined?</div>
<div><br></div><div>Thanks again for the help,</div><div><br></div><div>-- Ken E.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br>