[Top][All Lists]

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

Re: build failure under pkgsrc

From: Gary E. Miller
Subject: Re: build failure under pkgsrc
Date: Mon, 2 Aug 2021 19:56:04 -0700

Yo Greg!

On Sat, 31 Jul 2021 20:40:40 -0400
Greg Troxel <> wrote:

> rebuilt: No previous build information found Preparing target
> /usr/pkg/include/gps.h... scons: *** [/usr/pkg/include/gps.h]
> /usr/pkg/include/gps.h: Permission denied scons: building terminated
> because of errors. Ensure your PYTHONPATH includes
> /usr/pkg/lib/python3.8/site-packages/ *** Error code 2
> What I don't understand is why scons is trying to do what is an
> installation step during the build step, and I can't find any
> reference in SConscript.

Sorry, I've been out all weekend visting my new grandson.  Back now, and

I suspect this in SConcript is the problem, it is the only
palce include/gps.h is mentioned by name:

headerinstall = [env.Install(installdir('includedir'), x)
                 for x in ("include/libgpsmm.h", "include/gps.h")]

That is similar to how the install location for binaries is set:

binaryinstall.append(env.Install(installdir('bindir'), bin_binaries))
oWithout your full build log I'm not sure what is working for you so I
can copy that for gps.h

I'm too tired to debug tonight.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  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: pgplYHQgIm_pq.pgp
Description: OpenPGP digital signature

reply via email to

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