[mythtv-users] V35 install on Archlinux using cmake is missing python modules used in find_orphans.py
James Abernathy
jfabernathy at gmail.com
Wed Feb 19 23:02:08 UTC 2025
On Wed, Feb 19, 2025 at 5:01 PM Roland Ernst <rcrernst at gmail.com> wrote:
>
> Jim,
> As explained previous in this thread, every python module you try to
> install in a "EXTERNALLY-MANAGED" environment
> without using a package manager is causing a PEP 668 error.
> The flag -DMYTH_BINDINGS_INSTALL_ROOT=/ is a red herring.
> The only way to overcome this is
> sudo PIP_BREAK_SYSTEM_PACKAGES=1 cmake --build build-qt5
>
> You definitely should not use this in a production environment, for the
> following reasons:
> - Consistency
> - Maintainability
> - Security
> - Safety
>
> Roland
>
>
Thanks for all your help. Let me see if I'm starting to understand things a
little better.
1. Don't use -DMYTH_BINDINGS_INSTALL_ROOT=/
2. If I build with
cmake --preset qt5 -DCMAKE_INSTALL_PREFIX=~/mythtv-output
I get everything built with the bin, lib, etc in my home directory in the
mythtv-output sub-directory.
However, the MythTV/_versions.py file indicates the install location is
also in ~/mythtv-output
3. If I build with
cmake --preset qt5
-DCMAKE_INSTALL_PREFIX=~/mythtv-output-DMYTH_INSTALL_PREFIX=/usr
I get everything built in ~/mythtv-output; however, the MythTV/_versions.py
file indicates the install location is /usr.
So the files in ~/mythtv-output can be copied to /usr and things should
work.
Am I close to understanding this?
JIm A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250219/ae9c4db5/attachment.htm>
More information about the mythtv-users
mailing list