gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] regresssion from 2011: git head fails to build on NetBSD


From: Eric S. Raymond
Subject: Re: [gpsd-dev] regresssion from 2011: git head fails to build on NetBSD
Date: Sun, 27 Oct 2013 13:17:54 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Hal Murray <address@hidden>:
> You might look into making just plain "scons" give an error message if 
> chrpath isn't available.  I don't understand that area, but I'd be happy to 
> type some magic command (or edit a file) if I really want to build without 
> chrpath.

It sort of does - look at the autoconf-style messages above the build proper.

The reason scond shouldn't abort in this case is that building without
chrpath is OK if you're a packager building for installation. chrpath is
oinly needed if you wnt to run GPSD binaries in the GPSD source directory.

> What's the scons equivalent of "make clean"?  How do I get rid of all the 
> stuff that scons made so I can start over after installing chrpath?

scons -c

> scons check now says:
> 
> Regression test FAILED: 3 errors in 83 tests total (0 not found).
> The following test Failed:
> ================================================================
> "test/daemon/trimble-lassen_iq-3dfix.log"
> "test/daemon/trimble-lassen_iq-playacar.log"
> "test/daemon/trimble-lassen_iq.log"
> ================================================================
> Elapsed time: 150
> scons: *** [gps-regress] Error 3
> scons: building terminated because of errors.
> 
> Is that what is expected?
> 
> Above that summary is lots and lots of printout including stuff like this:
> 
> Processing test/daemon/trimble-lassen_iq-3dfix.log
> Traceback (most recent call last):
>   File "/home/murray/gpsd/gpsd/gpsfake", line 182, in <module>
>     test.gps_add(logfile, speed=speed, pred=fakehook)
>   File "/home/murray/gpsd/gpsd/gps/fake.py", line 481, in gps_add
>     progress=self.progress)
>   File "/home/murray/gpsd/gpsd/gps/fake.py", line 251, in __init__
>     [iflag, oflag, cflag, lflag, ispeed, ospeed, cc])
> termios.error: (22, 'Invalid argument')

I think that means your Python installation is too old.  What version
are you running?

Try upgrading to a more recent 2.x; I'm running 2.7.5 here but am
pretty sure 2.7.2 would be good enough.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]