From 3a96d2837c2d5648692737ad5ddcc3893e12e913 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 29 Apr 2016 21:24:48 +0200 Subject: conv_gen: Use python2 to execute the script The script does not work with python3: $ python3 utils/conv_gen.py File "utils/conv_gen.py", line 124 def _print_term(self, fi, num_states, pack = False): Second there is no 'python' on FreeBSD and one needs to select the major version to use. GEN conv_cs3_gen.c GEN conv_xcch_gen.c GEN conv_cs2_gen.c python: not found python: not found python: not found By using python2 we solve both issues. On Debian python2 is located inside the python-minimal package. --- src/gsm/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gsm') diff --git a/src/gsm/Makefile.am b/src/gsm/Makefile.am index 1b186b1e..7f5fa25b 100644 --- a/src/gsm/Makefile.am +++ b/src/gsm/Makefile.am @@ -37,4 +37,4 @@ libosmogsm_la_LIBADD = libgsmint.la EXTRA_DIST = libosmogsm.map conv%gen.c: ../../utils/conv_gen.py - $(AM_V_GEN)python ../../utils/conv_gen.py + $(AM_V_GEN)python2 ../../utils/conv_gen.py -- cgit v1.2.3