[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS |
Date: |
Tue, 19 Feb 2019 15:00:06 -0800 |
Yo Rich!
I see many problems. Looks like you missed some prerequisites mentioned
in build.txt.
If you keep track of what you have to install to make this work, then
I'll try to improve build.txt to make things a bit more obvious.
On Tue, 19 Feb 2019 14:41:29 -0800
Rich Wales <address@hidden> wrote:
> # scons --config=force timing=True
Output of configure is always worth reading closely.
> Checking pkg-config for ncurses... no
> Turning off ncurses support, library not found.
No ncurses means things like cgps and gpsmon will not be built.
> Checking pkg-config for libusb-1.0... no
No libusb causes issues with some drivers.
> Checking pkg-config for dbus-1... no
> Turning off dbus-export support, library not found.
dbus lets gpsd talk to Firefox, etc.
> Checking for C header file sys/timepps.h... no
> Forcing magic_hat=no since RFC2783 API is unavailable
That means you will not get KPPS. So you PPS accuracy will suffer
a lot.
> Checking that xsltproc can make man pages... no
> Neither xsltproc nor xmlto found, documentation cannot be built.
No man pages.
> Checking pkg-config for QtNetwork... no
> Turning off Qt support, library not found.
No Qt lib will be built.
The bad news is summarized:
> Altered configuration variables:
> dbus_export = False (default True): enable DBUS export support
> bluez = False (default True): BlueZ support for Bluetooth devices
> ncurses = False (default True): build with ncurses
> qt = False (default True): build QT bindings
> magic_hat = False (default True): special Linux PPS hack for Raspberry
> Pi et al
> Part of the website build requires asciidoc, not installed.
And back to the main problem:
> x86_64-linux-gnu-gcc -pthread -o
> os_compat-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so -c
> -Wno-unused-result -Wsign-compare -fPIC -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -I/usr/include/python3.6m os_compat.c
> x86_64-linux-gnu-gcc -pthread -o
> packet-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so -c
> -Wno-unused-result -Wsign-compare -fPIC -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -I/usr/include/python3.6m packet.c
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
> -Wl,-Bsymbolic-functions -specs=/usr/share/dpkg/no-link.specs
> -Wl,-z,relro -o gps/packet.cpython-36m-x86_64-linux-gnu.so
> crc24q-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> driver_greis_checksum-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> driver_rtcm2-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> gpspacket-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> hex-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> isgps-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> os_compat-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> packet-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so -L. -lrt
> x86_64-linux-gnu-gcc: error: /usr/share/dpkg/no-link.specs: No such
> file or directory
> scons: *** [gps/packet.cpython-36m-x86_64-linux-gnu.so] Error 1
> scons: building terminated because of errors.
I have no idea where the "-specs=/usr/share/dpkg/no-link.specs" thing
is coming from. I suspect from some of the missing dependencies
covered above. Maybe you have not installed the "python-dev" package?
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
pgpcQ_zamCvRZ.pgp
Description: OpenPGP digital signature
- Re: [gpsd-users] Garmin 18X LVC and upcoming week rollover, (continued)
- Re: [gpsd-users] Garmin 18X LVC and upcoming week rollover, Gary E. Miller, 2019/02/18
- Re: [gpsd-users] Garmin 18X LVC and upcoming week rollover, Rich Wales, 2019/02/18
- Re: [gpsd-users] Garmin 18X LVC and upcoming week rollover, Rich Wales, 2019/02/19
- Re: [gpsd-users] Garmin 18X LVC and upcoming week rollover, Gary E. Miller, 2019/02/19
- [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Rich Wales, 2019/02/19
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Gary E. Miller, 2019/02/19
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Rich Wales, 2019/02/19
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS,
Gary E. Miller <=
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Rich Wales, 2019/02/19
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Rich Wales, 2019/02/19
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Gary E. Miller, 2019/02/19
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Gary E. Miller, 2019/02/19
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Lisandro Damián Nicanor Pérez Meyer, 2019/02/19
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Rich Wales, 2019/02/19
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Gary E. Miller, 2019/02/20
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, shouldbe q931, 2019/02/20
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Lisandro Damián Nicanor Pérez Meyer, 2019/02/20
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Kai Harrekilde-Petersen, 2019/02/20