[mythtv-users] V35 install on Archlinux using cmake is missing python modules used in find_orphans.py
Roland Ernst
rcrernst at gmail.com
Wed Feb 19 20:29:10 UTC 2025
On Wed, Feb 19, 2025 at 9:18 PM James Abernathy <jfabernathy at gmail.com>
wrote:
>
>
> On Wed, Feb 19, 2025 at 3:10 PM Roland Ernst <rcrernst at gmail.com> wrote:
>
>>
>>
>> On Wed, Feb 19, 2025 at 9:00 PM James Abernathy <jfabernathy at gmail.com>
>> wrote:
>>
>>>
>>>
>>> On Wed, Feb 19, 2025 at 2:56 PM James Abernathy <jfabernathy at gmail.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Feb 19, 2025 at 2:47 PM Roland Ernst <rcrernst at gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Wed, Feb 19, 2025 at 8:40 PM James Abernathy <jfabernathy at gmail.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Feb 19, 2025 at 2:31 PM James Abernathy <
>>>>>> jfabernathy at gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Feb 19, 2025 at 2:28 PM James Abernathy <
>>>>>>> jfabernathy at gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Feb 19, 2025 at 2:20 PM James Abernathy <
>>>>>>>> jfabernathy at gmail.com> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> So I had some success on the system with cmake build. Now I have
>>>>>>>> site-packages/MythTV with a bunch of .py files.
>>>>>>>>
>>>>>>>> I did this:
>>>>>>>>
>>>>>>>> sudo cmake --preset qt5 -DMYTH_BINDINGS_INSTALL_ROOT=/
>>>>>>>> -DCMAKE_INSTALL_PREFIX=/usr 2>&1 | tee ~/stage1-log
>>>>>>>> sudo cmake --build build-qt5 2>&1 | tee ~/stage2.log
>>>>>>>>
>>>>>>>> Jim A
>>>>>>>>
>>>>>>>>
>>>>>>> And now find_orphans.py works
>>>>>>>
>>>>>>> Jim A
>>>>>>>
>>>>>>
>>>>>> So I'm as confused as I've ever been. The variable
>>>>>> MYTH_BINDINGS_INSTALL_ROOT=/ does not make sense to me. I'd buy /usr but
>>>>>> not /.
>>>>>>
>>>>>> IMHO, before this conversion to cmake is complete there needs to be a
>>>>>> lot of variable documentation and when to use which one where.
>>>>>>
>>>>>> Jim A
>>>>>>
>>>>>>
>>>>>>
>>>>> Jim,
>>>>> I asked for the file "MythTV/_version*s*.py" . Note the *"s" *on the
>>>>> end.
>>>>> It should be
>>>>> /usr/lib/python3.13/site-packages/MythTV/_version*s*.py
>>>>>
>>>>> Please post the content of that file
>>>>>
>>>>> Regards,
>>>>> Roland
>>>>>
>>>>
>>>> On the system where I'm building with cmake that file contains:
>>>>
>>>> # -*- coding: utf-8 -*-
>>>>
>>>> """
>>>> Contains static and global variables for MythTV Python Bindings
>>>> related to version information.
>>>> The file MythTV/_versions.py is usually generated by ./configure.
>>>> """
>>>>
>>>> OWN_VERSION = (35,0,-1,0)
>>>> SCHEMA_VERSION = 1384
>>>> NVSCHEMA_VERSION = 1007
>>>> MUSICSCHEMA_VERSION = 1025
>>>> PROTO_VERSION = '91'
>>>> PROTO_TOKEN = 'BuzzOff'
>>>> BACKEND_SEP = '[]:[]'
>>>> INSTALL_PREFIX = '/usr'
>>>>
>>>> Jim A
>>>>
>>>>
>>> On the system where I built with the AUR PKGBUILD it contains:
>>>
>>> # -*- coding: utf-8 -*-
>>>
>>> """
>>> Contains static and global variables for MythTV Python Bindings
>>> related to version information.
>>> The file MythTV/_versions.py is usually generated by ./configure.
>>> """
>>>
>>> OWN_VERSION = (35,0,-1,0)
>>> SCHEMA_VERSION = 1384
>>> NVSCHEMA_VERSION = 1007
>>> MUSICSCHEMA_VERSION = 1025
>>> PROTO_VERSION = '91'
>>> PROTO_TOKEN = 'BuzzOff'
>>> BACKEND_SEP = '[]:[]'
>>> INSTALL_PREFIX = '/usr'
>>>
>>> Jim A
>>>
>>>
>>
>> Jim,
>> Thank you for confirming that both variants work.
>>
>> Roland
>>
>
> I think it would be great if the variable CMAKE_INSTALL_PREFIX could
> somehow tell the
> MYTH_BINDINGS_INSTALL_ROOT what it needed so it could put the
> site-packages/MythTV/ stuff in the right place which is ultimately in the
> $CMAKE_INSTALL_PREFIX/bin directory somewhere.
>
> At least it looks that way to me.
>
> JIm A
>
> It is already there, see
https://github.com/MythTV/mythtv/commit/3a2980a3b96e2c6b128b9c4bb88db2b83aec9bdd
Roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250219/77652446/attachment.htm>
More information about the mythtv-users
mailing list