[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
update...
At this point, and in my point of view, you should be asking in an ubuntu help
channel.
> 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.
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 - http://bit.ly/fYgbLJ
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, (continued)
- 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, 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 <=
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Kai Harrekilde-Petersen, 2019/02/20
- 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, 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, shouldbe q931, 2019/02/20
- Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS, Rich Wales, 2019/02/20
- Re: [gpsd-users] Garmin 18X LVC and upcoming week rollover, Kai Harrekilde-Petersen, 2019/02/20
- Re: [gpsd-users] Garmin 18X LVC and upcoming week rollover, Gary E. Miller, 2019/02/20