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

 
 

sr #108790: scons fails on CentOS 6.6 x64

Submitter:  None
Submitted:  Wed 08 Apr 2015 04:28:38 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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.

Anonymous
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??


Anonymous
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))])

SOURCE CODE CHECKOUT with
git clone git://git.savannah.nongnu.org/gpsd.git

PYTHON, SCONS, GCC VERSIONS
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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code