gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Is GPSD receiving PPS?


From: Gary E. Miller
Subject: Re: [gpsd-users] Is GPSD receiving PPS?
Date: Mon, 7 Mar 2016 12:46:43 -0800

Yo Bo!

On Mon, 07 Mar 2016 20:26:17 +0100
Bo Berglund <address@hidden> wrote:

> gpsclient.c:7:20: fatal error: Python.h: No such file or directory
>  #include <Python.h>
>                     ^
> compilation terminated.
> scons: *** [gpsclient-py_2_7_9_final_0.so] Error 1
> scons: building terminated because of errors.

RTFM, as build.txt says:

    "You will need both basic Python and (if your package system makes
    the distinction) the Python development package used for building C
    extensions.  Usually these are called "python" and "python-dev". You
    will know you are missing the latter if your compilation fails
    because of a missing Python.h."



> Could I split the build command 
> scons && scons check && sudo scons udev-install
> 
> into three separate commands instead so that I can see which is
> actually generating the errors?
> Something like:
> 
> scons
> scons check
> sudo scons udev-install

Of course.  the && just says to stop if an error occurs.

> Then I could do that after I have succeeded building and thereupon
> uninstalling teh stuff that I got from apt-get.

Yup.

> Right now if I just enter scones I get to the same error as above,
> which indicates that something happens early.

Yup, you are likely missing python-dev.


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgp7NKaCPYR6m.pgp
Description: OpenPGP digital signature


reply via email to

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