gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Building gpsd on a fresh machine


From: Sanjeev Gupta
Subject: Re: [gpsd-dev] Building gpsd on a fresh machine
Date: Sun, 23 Dec 2018 12:02:06 +0800

Gary,

I attach a typescript.  I think the problem is that if the library is not installed, the *check* for the library fails.

===
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libusb-1.0', required by 'virtual:world', not found
OSError: 'pkg-config --cflags --libs libusb-1.0' exited 1:
  File "/home/sanjeev/SRC/gpsd/SConstruct", line 1226:
    for s in libgpsd_sources],
  File "/usr/lib/scons/SCons/Environment.py", line 260:
    return MethodWrapper.__call__(self, target, source, *args, **kw)
  File "/usr/lib/scons/SCons/Environment.py", line 224:
    return self.method(*nargs, **kwargs)
  File "/usr/lib/scons/SCons/Builder.py", line 644:
    env = env.Override(env_kw)
  File "/usr/lib/scons/SCons/Environment.py", line 636:
    if merges: env.MergeFlags(merges)
  File "/usr/lib/scons/SCons/Environment.py", line 814:
    args = self.ParseFlags(args)
  File "/usr/lib/scons/SCons/Environment.py", line 800:
    do_parse(arg)
  File "/usr/lib/scons/SCons/Environment.py", line 671:
    for t in arg: do_parse(t)
  File "/usr/lib/scons/SCons/Environment.py", line 676:
    arg = self.backtick(arg[1:])
  File "/usr/lib/scons/SCons/Environment.py", line 594:
    raise OSError("'%s' exited %d" % (command, status))
===




--
Sanjeev Gupta
+65 98551208     http://www.linkedin.com/in/ghane


On Sun, Dec 23, 2018 at 6:56 AM Gary E. Miller <address@hidden> wrote:
Yo Sanjeev!

On Sun, 23 Dec 2018 03:33:23 +0800
Sanjeev Gupta <address@hidden> wrote:

> I am trying to, the hard way, build gpsd on a fresh, clean, Ubuntu
> install.  This will help validate build.txt .

Cool.  Been a while since that has been done on Ubuntu.  Thanks for
the feedback.

>    1. Is libusb-dev now a hard requirement?  scons does not proceed
> without that.  The instructions say it is optional

Where do you see that?  I see no such thing:

gpsd # fgrep libusb-dev * -r
gpsd #

>    2. pkgconf is not installed by default

I do not see anyplace that pkgconfig is actually run by scons.  Some
files are placed in pkgconfig directories.  And just for libQgpsmm.prl.
I don't think the gpsd tar ball installs any distro packages on any
distro.

What are the errors you see on both?

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

Attachment: scons.txt
Description: Text document


reply via email to

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