[Top][All Lists]

[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 21:54:31 -0800

Yo Rich!

Please keep track of what you had to do.  I'd like those notes when we
figure this out to spare others these issues.

On Tue, 19 Feb 2019 17:15:47 -0800
Rich Wales <address@hidden> wrote:

> > /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.

This is weird.  I know many people running gpsd on Ubuntu 18.04 with
no issues.  I had an Ubuntu 14 a few months ago, and gpsd was trivial
to compile from source.

> Output of *dpkg-buildflags --dump* :
> CFLAGS=-g -O2 -fdebug-prefix-map=/usr/sbin=. -fstack-protector-strong
> -Wformat -Werror=format-security
> 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

No clue there.

> 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.

Scary.  But it worked.

If you can send me a list of the packages you had to install I'll try
to add that to the build.txt.  Plus any other hints you can think

> Answering Lisandro's question:  Yes, I am building as root (in a *sudo
> bash* shell).

You should remove sudo from your system.  It is a security nightmare.

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

Attachment: pgp99BTnkSPd3.pgp
Description: OpenPGP digital signature

reply via email to

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