From 40f3aecaa2e590faf8ed87adebb755c17bd4ad5d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 19 Jul 2015 17:30:08 -0400 Subject: A build note on the Python 2 to 3 transition. --- build.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build.txt') diff --git a/build.txt b/build.txt index 0746552f..7e86df5e 100644 --- a/build.txt +++ b/build.txt @@ -16,6 +16,12 @@ this line will do: If you get any errors, you need to read the detailed instructions that follow. +If 'scons' fails, it is possible that your target system has moved to +Python 3 as its default 'python' interpreter, but you can work around +it by saying "python2 /usr/bin/scons" or something similar. GPSD's +own Python scripts assume that "#!/usr/bin/env python2" will invoke a +Python 2 interpreter. + == Supported platforms == Native-build success should be expected on the following platforms, -- cgit v1.2.1