| Re: [hatari-devel] Error while compiling python | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
Hi,
On 10/21/20 12:25 AM, Laurent Sallafranque wrote:
I've got an error while compiling hatari at the very end (compiling the 
python UI)
I've got python3 on my computer but not python.
Maybe something could be changed into the makefile to detect the python 
version to use ?
This is the Python v2 vs Python v3 issue.
Hatari Python scripts still support both.
If you're on Debian stable, or Ubuntu 18.04,
install python-minimal (= python2).
If you're on Ubuntu 20.04 LTS, or Debian unstable, install either 
python-is-python2, or python-is-python3.
I guess something about this should be in readme,
but I'm not sure what package installs the symlink
on other distros.
	- Eero
Regards
Laurent
I've badly translated some french messages if this helps.
Scanning dependencies of target conftypes
[100%] Generating ../../python-ui/conftypes.py
/usr/bin/env: «python»: Aucun fichier ou dossier de ce type  "(no file 
or directory of this type)"
make[2]: *** [python-ui/CMakeFiles/conftypes.dir/build.make:62 : 
../python-ui/conftypes.py] Erreur 127
make[2]: *** Suppression du fichier « ../python-ui/conftypes.py » "File 
deleting"
make[1]: *** [CMakeFiles/Makefile2:1286 : 
python-ui/CMakeFiles/conftypes.dir/all] Erreur 2
make: *** [Makefile:141 : all] Erreur 2