diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-04-03 10:23:45 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-04-03 10:23:45 -0400 |
commit | 959eb915cb1f061a461f6227afc8954b067589df (patch) | |
tree | 0578e0640914345d8ed44613a614f0c0676c19c8 | |
parent | 75369e70ce9bfa1856efa83370b565c48de884e3 (diff) | |
download | gpsd-959eb915cb1f061a461f6227afc8954b067589df.tar.gz |
Add Gary Miller's Gentoo warning.
-rw-r--r-- | SConstruct | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,6 @@ # * Check for Python development libraries # * Python module build # * Qt binding -# * PYTHONPATH adjustment for Gentoo # * Utility and test productions # * Installation and uninstallation # * Out-of-directory builds: see http://www.scons.org/wiki/UsingBuildDir @@ -316,6 +315,11 @@ env['BUILDERS']["Man"] = Builder(action=manbuilder) env['BUILDERS']["HTML"] = Builder(action=htmlbuilder, src_suffix=".xml", suffix=".html") +# Gentoo systems can have a problem with the Python path +if os.path.exists("/etc/gentoo-release"): + print "This is a Gentoo system." + print "Adjust your PYTHONPATH to see library directories under /usr/local/lib" + env = config.Finish() ## Two shared libraries provide most of the code for the C programs |