gpsd-users
[Top][All Lists]
Advanced

[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: Rich Wales
Subject: Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS
Date: Tue, 19 Feb 2019 17:15:47 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1


Ouch. Can you confirm you installed the python-dev and the: "apt-get build-dep gpsd"

I did both of the above.  However, it turns out that the version of the python-dev package on my (Ubuntu 18.04) system is 2.7.15, whereas my Python is 3.6.5 (!!).  There isn't any python-dev package on my system for Python 3.anything.

Output of dpkg-buildflags --dump :

CFLAGS=-g -O2 -fdebug-prefix-map=/usr/sbin=. -fstack-protector-strong -Wformat -Werror=format-security
CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
CXXFLAGS=-g -O2 -fdebug-prefix-map=/usr/sbin=. -fstack-protector-strong -Wformat -Werror=format-security
FCFLAGS=-g -O2 -fdebug-prefix-map=/usr/sbin=. -fstack-protector-strong
FFLAGS=-g -O2 -fdebug-prefix-map=/usr/sbin=. -fstack-protector-strong
GCJFLAGS=-g -O2 -fdebug-prefix-map=/usr/sbin=. -fstack-protector-strong
LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro
OBJCFLAGS=-g -O2 -fdebug-prefix-map=/usr/sbin=. -fstack-protector-strong -Wformat -Werror=format-security
OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/usr/sbin=. -fstack-protector-strong -Wformat -Werror=format-security

And when I made an empty /usr/share/dpkg/no-link.specs file, the build ran successfully to completion (!).  Still a mystery what this file is really supposed to contain, though.

Answering Lisandro's question:  Yes, I am building as root (in a sudo bash shell).
--
Rich Wales
address@hidden

reply via email to

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