gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] 'scons install' fails on Mac OS X 10.10


From: Frank Nicholas
Subject: Re: [gpsd-dev] 'scons install' fails on Mac OS X 10.10
Date: Sat, 14 Feb 2015 09:01:16 -0500


On Feb 13, 2015, at 8:03 AM, Greg Troxel <address@hidden> wrote:


"Eric S. Raymond" <address@hidden> writes:

You might want to compare notes with Greg Troxel, since his Mac OS X
machine does not seem to have these issues.

On mine:

all prereqs are installed via pkgsrc (into /usr/pkg, normally).

I build as

export PYTHON=/usr/pkg/bin/python2.7
export CPPFLAGS=-I/usr/pkg/include
export LDFLAGS="-L/usr/pkg/lib -Wl,R/usr/pkg/lib"
./devtools/do-build prefix=/usr/pkg ntpshm=no qt=no libQgpsmm=no

which is AFAIK the normal thing to do.

I’m building/testing with Apple’s provided developer tools.  The only non-Apple supplied software involved is scons.  Everything else on my test systems either comes with the default OS X installation or the Apple developer tools (free).

If I set “nostrip” to “True”, it builds and installs fine.  I’ve tested and verified this on both OS X 10.10 & 10.9.

Now I’m having issues with gpsd not really recognizing my GPS (I think). The GPS is a Bluetooth GlobalSAT BT-318 (Sirf III, defaults to NMEA), that worked with gpsd back in 2003-2004.

gpsd output below:
address@hidden gpsd $ gpsd -D 6 -N -n /dev/tty.BT-GPS-00F765-BT-GPSCOM
gpsd:INFO: launching (Version 3.12~dev)
gpsd:IO: opening IPv4 socket
gpsd:IO: opening IPv6 socket
gpsd:INFO: listening on port gpsd
gpsd:PROG: NTPD shmat(65536,0,0) succeeded, segment 2
gpsd:PROG: NTPD shmat(65537,0,0) succeeded, segment 3
gpsd:PROG: NTPD shmat(65538,0,0) succeeded, segment 4
gpsd:PROG: NTPD shmat(65539,0,0) succeeded, segment 5
gpsd:PROG: NTPD shmat(65540,0,0) succeeded, segment 6
gpsd:PROG: NTPD shmat(65541,0,0) succeeded, segment 7
gpsd:PROG: shmat() succeeded, segment 65543
gpsd:PROG: shared-segment creation succeeded,
gpsd:INFO: stashing device /dev/tty.BT-GPS-00F765-BT-GPSCOM at slot 0
gpsd:INFO: opening GPS data source type 2 at '/dev/tty.BT-GPS-00F765-BT-GPSCOM'
gpsd:INFO: speed 9600, 8N1
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:PROG: writing oncore control type Cj
gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
gpsd:PROG: Probing "Garmin USB binary" driver...
gpsd:PROG: Probe not found "Garmin USB binary" driver...
gpsd:PROG: Probing "GeoStar" driver...
gpsd:PROG: Sent GeoStar packet id 0xc1
gpsd:IO: => GPS: 5053474700c100010000000050924746
gpsd:PROG: Probe not found "GeoStar" driver...
gpsd:PROG: Probing "Trimble TSIP" driver...
gpsd:INFO: speed 9600, 8O1
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:PROG: writing oncore control type Cj
gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
gpsd:INFO: speed 9600, 8N1
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:PROG: writing oncore control type Cj
gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
gpsd:PROG: Probe not found "Trimble TSIP" driver...
gpsd:PROG: no probe matched...
gpsd:INFO: gpsd_activate(2): activated GPS (fd 5)
gpsd:PROG: PPS chrony socket /tmp/chrony.tty.BT-GPS-00F765-BT-GPSCOM.sock doesn't exist
gpsd:PROG: PPS thread launched
gpsd:INFO: NTPD ntpshm_link_activate: 1
gpsd:INFO: device /dev/tty.BT-GPS-00F765-BT-GPSCOM activated
gpsd:INFO: running with effective group ID 20
gpsd:INFO: running with effective user ID 666
gpsd:INFO: startup at 2015-02-14T13:57:25.000Z (1423922245)
gpsd:PROG: switching to match packet type 1: $GPGGA,135724.940,3909.1355,N,08543.4957,W,1,06,1.3,196.1,M,,,,0000*19\x0d\x0a
gpsd:PROG: switch_driver(NMEA0183) called...
gpsd:PROG: selecting NMEA0183 driver...
gpsd:INFO: /dev/tty.BT-GPS-00F765-BT-GPSCOM identified as type NMEA0183, 0.789017 sec @ 9600bps
gpsd:PROG: => Probing for Garmin NMEA
gpsd:IO: => GPS: $PGRMCE*0E\x0d\x0a
gpsd:IO: <= GPS: $GPGGA,135724.940,3909.1355,N,08543.4957,W,1,06,1.3,196.1,M,,,,0000*19
gpsd:DATA: GPGGA: registers fractional time 135724.94
gpsd:WARN: can't use GGA time until after ZDA or RMC has supplied a year.
gpsd:DATA: GGA: hhmmss=135724.940 lat=39.15 lon=-85.72 alt=196.10 mode=3 status=1
gpsd:PROG: GPGGA sentence timestamped 135724.94.
gpsd:PROG: GPGGA starts a reporting cycle.
gpsd:DATA: packet type 1 from /dev/tty.BT-GPS-00F765-BT-GPSCOM with {ONLINE|LATLON|ALTITUDE|STATUS|MODE|PACKET|DRIVER|CLEAR}
gpsd:PROG: => Probing for SiRF
gpsd:IO: => GPS: $PSRF100,0,9600,8,1,0*0C\x0d\x0a
gpsd:IO: <= GPS: $GPGLL,3909.1355,N,08543.4957,W,135724.940,A*29
gpsd:DATA: GPGLL: registers fractional time 135724.94
gpsd:WARN: can't use GLL time until after ZDA or RMC has supplied a year.
gpsd:DATA: GLL: hhmmss=135724.940 lat=39.15 lon=-85.72 mode=2 status=1
gpsd:PROG: GPGLL sentence timestamped 135724.94.
gpsd:DATA: packet type 1 from /dev/tty.BT-GPS-00F765-BT-GPSCOM with {ONLINE|LATLON|STATUS|PACKET}
gpsd:PROG: => Probing for FV-18
gpsd:IO: => GPS: $PFEC,GPint*58\x0d\x0a
gpsd:IO: <= GPS: $GPRMC,135724.940,A,3909.1355,N,08543.4957,W,0.00,,140215,,*03
gpsd:DATA: merge_ddmmyy(140215) sets year 2015
gpsd:DATA: GPRMC: registers fractional time 135724.94
gpsd:DATA: RMC: ddmmyy=140215 hhmmss=135724.940 lat=39.15 lon=-85.72 speed=0.00 track=0.00 mode=2 status=1
gpsd:DATA: GPRMC time is 1423922244.940000 = 2015-02-14T13:57:24.94Z
gpsd:PROG: GPRMC sentence timestamped 135724.94.
gpsd:DATA: packet type 1 from /dev/tty.BT-GPS-00F765-BT-GPSCOM with {ONLINE|TIME|LATLON|SPEED|TRACK|PACKET|PPSTIME}
gpsd:PROG: => Probing for Trimble Copernicus
gpsd:IO: => GPS: $PTNLSNM,0139,01*5C\x0d\x0a
gpsd:IO: <= GPS: $GPVTG,,T,,M,0.00,N,0.0,K*7E
gpsd:DATA: packet type 1 from /dev/tty.BT-GPS-00F765-BT-GPSCOM with {ONLINE|PACKET}
gpsd:CLIENT: => client(0): {"class":"VERSION","release":"3.12~dev","rev":"release-3.11-468-g55af5af","proto_major":3,"proto_minor":10}\x0d\x0a
gpsd:PROG: checking client(0)
gpsd:CLIENT: <= client(0): ?WATCH={"enable":true,"json":true};\x0d\x0a
json: json_read_object() sees '{"enable":true,"json":true};
'
json: Target address for class (offset 0) is 0x0
json: Target address for enable (offset 0) is 0x1080b3430
json: Target address for scaled (offset 0) is 0x1080b3438
json: Target address for timing (offset 0) is 0x1080b3439
json: Target address for split24 (offset 0) is 0x1080b343a
json: Target address for pps (offset 0) is 0x1080b343b
json: Target address for device (offset 0) is 0x1080b3440
json: Target address for remote (offset 0) is 0x1080b34c0
json: Target address for pps (offset 0) is 0x7fff57b6685f
json: JSON parse of '{"enable":true,"json":true};
' begins.
json: Collected attribute name enable
json: Collected token value true.
json: Target address for enable (offset 0) is 0x1080b3430
json: Collected attribute name json
json: Collected token value true.
json: Target address for json (offset 0) is 0x1080b3431
json: JSON parse ends.
gpsd:PROG: device 0 (fd=5, path /dev/tty.BT-GPS-00F765-BT-GPSCOM) already active.
gpsd:CLIENT: => client(0): {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/tty.BT-GPS-00F765-BT-GPSCOM","driver":"NMEA0183","activated":"2015-02-14T13:57:26.151Z","flags":1,"native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}\x0d\x0a{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}\x0d\x0a

Telnet output below:
address@hidden gpsd $ telnet localhost 2947
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
{"class":"VERSION","release":"3.12~dev","rev":"release-3.11-468-g55af5af","proto_major":3,"proto_minor":10}
?WATCH={"enable":true,"json":true};
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/tty.BT-GPS-00F765-BT-GPSCOM","driver":"NMEA0183","activated":"2015-02-14T13:57:26.151Z","flags":1,"native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}
{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}

cgps starts, shows the expected screen layout, and then exits:
address@hidden gpsd $ cgps
cgps: GPS timeout
address@hidden gpsd $ 





reply via email to

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