[mythtv-users] missing mythtv python modules in Debian 12 cmake build

Bill Meek keemllib at gmail.com
Thu Feb 20 16:31:50 UTC 2025


On Thursday 20 February 2025 09:36:58 AM (-06:00), James Abernathy wrote:


 > I used what I learned from my Archlinux build yesterday and tried to do 
the

 > same on a Debian VM

 >

 > When I finished the build the output directory for "lib" contained no

 > python directory.

 > I used the instructions from yesterday's arch build. The only changes I

 > needed to make was to add a dependency based on an error I saw in the 
first

 > run.

 >

 > libsqlite3-dev

 >

 > The Debian ansible stuff has sqlite3, but not libsqlit3-deb, but I don't

 > think that was part of the problem here.

 >

 > cmake --preset qt5 -DCMAKE_INSTALL_PREFIX=~/mythtv-output

 > -DMYTH_RUN_PREFIX=/usr

 > 2>&1 | tee ~/stage1.log

 > cmake --build build-qt5 2>&1 | tee ~/stage2.log

 >

 > The logs are posted here, but they seem to show that all the python and

 > python-pip stuff that is required is present.

 >

 > 
https://drive.google.com/drive/folders/1v4beUzxygecF5_Sq4g2OR1s7s6CN9W4u?usp=drive_link

 
>

 > Jim A



You created a python virtual environment based on the test I was running.
I picked a temporary path just to try things. It will surely change.


You'll see: "-- Using python pip install method" in your stage2 log.


If you're still using the virtual environment (your prompt will have: 
"(venv) "
in front of it), just type: deactivate  to turn it off, then rebuild.


Or try: find /usr/local/lib/venv -name MythTV if you'd like to see where 
the
module ended up.


If you keep using venv, note that python programs that use the bindings
must have their 1st line changed from #!/usr/bin/python to
#!/usr/local/lib/venv/bin/python. Again, that path will likely change.


find_orphans would be an example of this.

-- 
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250220/f6396c0c/attachment.htm>


More information about the mythtv-users mailing list