[mythtv-users] Build from source on Archlinux -Master

Roland Ernst rcrernst at gmail.com
Wed Dec 29 19:57:40 UTC 2021


On Wed, Dec 29, 2021 at 8:27 PM James Abernathy <jfabernathy at gmail.com>
wrote:

>
>
> On Wed, Dec 29, 2021 at 2:02 PM Roland Ernst <rcrernst at gmail.com> wrote:
>
>>
>>
>> On Wed, Dec 29, 2021 at 5:15 PM James Abernathy <jfabernathy at gmail.com>
>> wrote:
>>
>>> I installed mythv v31 on Archlinux using "yay -S mythtv" to get the
>>> dependencies mostly installed. After setting up the backend, it's all
>>> working normally.
>>>
>>> Then I installed and cloned master. The ./configure worked fine.
>>> However, the "sudo make install" had an error. The tail of that console is:
>>>
>>> running install_egg_info
>>> running egg_info
>>> writing MythTV.egg-info/PKG-INFO
>>> writing dependency_links to MythTV.egg-info/dependency_links.txt
>>> writing top-level names to MythTV.egg-info/top_level.txt
>>> reading manifest file 'MythTV.egg-info/SOURCES.txt'
>>> writing manifest file 'MythTV.egg-info/SOURCES.txt'
>>> removing
>>> '/usr/lib/python3.10/site-packages/MythTV-32.0._1-py3.10.egg-info' (and
>>> everything under it)
>>> Copying MythTV.egg-info to
>>> /usr/lib/python3.10/site-packages/MythTV-32.0._1-py3.10.egg-info
>>> running install_scripts
>>> error: cannot copy tree 'build/scripts-3.10': not a directory
>>> make[1]: *** [Makefile:27: install] Error 1
>>> make[1]: Leaving directory
>>> '/home/jim/build/mythtv/mythtv/bindings/python'
>>> make: *** [Makefile:75: bindings/python_install] Error 2
>>> [jim at den-pc mythtv]$
>>>
>>> The only dependencies I had to install beyond what v31 installed was:
>>> touchsound and python-setuptools. I must have missed something.
>>>
>>> Jim A
>>>
>>>
>> I don't think that you missed a dependency. Obviously the "MythTV" python
>> package is built.
>> The  scripts in question are 'mythpython', 'mythwikiscripts' and should
>> be built in a folder under
>> 'mythtv/bindings/python/build/'
>> Could you please check the existence of such folder containing the
>> scripts?
>>
>> Additionally, check the log file of the build: Look for
>>
>> running build_scripts
>> creating build/scripts-3.10
>> copying and adjusting scripts/mythpython -> build/scripts-3.10
>> copying and adjusting scripts/mythwikiscripts -> build/scripts-3.10
>>
>> Roland
>>
> Sorry for a dumb question but where is the log file for the build hidden??
> Below is the folder I think you wanted. I see wikiscripts but not the
> other one.
>
> Jim A
>
> jim at den-pc build]$ ls -l
> ~/build/mythtv/mythtv/bindings/python/build/lib/MythTV/
> total 336
> -rw-r--r-- 1 jim jim  7301 Dec 29 10:21 altdict.py
> -rw-r--r-- 1 jim jim 21134 Dec 29 10:21 connections.py
> -rw-r--r-- 1 jim jim  3795 Dec 29 10:21 _conn_mysqldb.py
> -rw-r--r-- 1 jim jim 52524 Dec 29 10:21 database.py
> -rw-r--r-- 1 jim jim 51895 Dec 29 10:21 dataheap.py
> -rw-r--r-- 1 jim jim  9096 Dec 29 10:21 exceptions.py
> -rw-r--r-- 1 jim jim  1717 Dec 29 10:21 __init__.py
> -rw-r--r-- 1 jim jim 19572 Dec 29 10:21 logging.py
> -rw-r--r-- 1 jim jim 50064 Dec 29 10:21 methodheap.py
> -rw-r--r-- 1 jim jim  4726 Dec 29 10:21 msearch.py
> -rw-r--r-- 1 jim jim 42224 Dec 29 10:21 mythproto.py
> drwxr-xr-x 2 jim jim  4096 Dec 29 14:03 services_api
> -rw-r--r-- 1 jim jim  7426 Dec 29 10:21 static.py
> -rw-r--r-- 1 jim jim 17338 Dec 29 10:21 system.py
> drwxr-xr-x 2 jim jim  4096 Dec 29 14:03 tmdb3
> drwxr-xr-x 2 jim jim  4096 Dec 29 14:03 ttvdb
> drwxr-xr-x 2 jim jim  4096 Dec 29 14:03 ttvdbv4
> drwxr-xr-x 2 jim jim  4096 Dec 29 14:03 tvmaze
> drwxr-xr-x 2 jim jim  4096 Dec 29 14:03 utility
> drwxr-xr-x 2 jim jim  4096 Dec 29 14:03 wikiscripts
> [jim at den-pc build]$
>
>
What shows
ls -l ~/build/mythtv/mythtv/bindings/python/build

The scripts folder should be built under this folder.
Do not mix the 'wikiscripts' folder with the script 'mythwikiscripts'.

Sorry for a dumb question but where is the log file for the build hidden??
>
You need to redirect the output on the terminal to a file.
If you do a 'make clean' and a
'make > build.log 2>&1' without the '-jx' switch, the build takes longer,
but the log file is easier to read.

Roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20211229/d4d0b52c/attachment-0001.htm>


More information about the mythtv-users mailing list