[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: Lisandro Damián Nicanor Pérez Meyer
Subject: Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS
Date: Wed, 20 Feb 2019 10:12:51 -0300

El martes, 19 de febrero de 2019 22:15:47 -03 Rich Wales escribió:
> > /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.

With the above and the fact that you could build it with a VM then it's clear 
that you have a package mismatch somewhere. Maybe a PPA, maybe some incomplete 

At this point, and in my point of view, you should be asking in an ubuntu help 

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

Flags for linking. What exactly? I don't know.
> Answering Lisandro's question:  Yes, I am building as root (in a *sudo
> bash* shell).

Don't. That's not necessary, you only need root for installing. Some people 
even consider building stuff as root as a security issue.

¿De qué vive un superamigo? De las regalías de su merchandising, que sólo
puede ser adquirido por burgueses. Como a los burgueses no les agradan las
clases bajas, los superamigos sólo salvan burgueses.
  José Hipólito Moyano -

Lisandro Damián Nicanor Pérez Meyer

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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