helpGPSD - Support: sr #108790, scons fails on CentOS 6.6 x64


sr #108790: scons fails on CentOS 6.6 x64

Submitted by:  None
Submitted on:  Wed 08 Apr 2015 04:28:38 AM UTC  
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 08 Apr 2015 04:45:37 PM UTC, comment #2:

I got everything compiled and running.

I ended by using python-2.7.9 and scons-2.3.4. Put python-2.7.9 into /usr/local and used it as primary python by setting path and ld path to /usr/local. I know RHEL/CentOS chokes if the system installed python is modified so I only modded my env vars, and so far I haven't seen any problems. Fingers crossed ....

To GPSD DEVELOPERS/MAINTAINERS: Thank you for your work on gpsd. I've been using it for years. The time and effort necessary to continually improve gpsd are significant, and I appreciate it.

Wed 08 Apr 2015 12:15:08 PM UTC, comment #1:

Googling found something: Python 2.6 doesn't implicitly number the {} fields if you leave the numbers out. You need to explicitly specify a 0.

gpsd-3.14 SConstruct lines 1528 and 1532 each have {}. If changed to {0} scons and scons build complete. Does that mess everything up????

Python 2.6.6 is standard on RHEL/CentOS 6.6 and cannot be replaced [per-se].

I have Python 3.3.5 altinstalled as /usr/local/bin/python3.3. Tried using it (set /usr/local/bin front of path, ld_library_path as /usr/local/lib, and aliased python to python3.3), but scons still failed.

I suspect gpsd is finding the system's original python regardless of my attempts to bypass. Is there a [correct] way to tell gpsd to use my alt install of python3.3 in /usr/local??

Wed 08 Apr 2015 04:28:38 AM UTC, original submission:

scons fails on git clone of trunk with CentOS 6.6 x64

Checking that xsltproc can make man pages... yes
Checking for QtNetwork... yes
Altered configuration variables:
bluez = False (default True): BlueZ support for Bluetooth devices
ValueError: zero length field name in format:
File "/root/gpsd/SConstruct", line 1420:
['''pep8 --ignore=E501,W602,E122,E241,E401 {} gps/[a-zA-Z].py .py'''.format(" ".join(python_progs))])

git clone git://

python -V
Python 2.6.6

scons -version
SCons by Steven Knight et al.:
script: v2.3.4, 2014/09/27 12:51:43, by garyo on lubuntu
engine: v2.3.4, 2014/09/27 12:51:43, by garyo on lubuntu
engine path: ['/usr/lib/scons-2.3.4/SCons']
Copyright (c) 2001 - 2014 The SCons Foundation

gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1