[Chicago] save myself some pain or; how to compile against system python header files?

Kenneth Stox ken at stox.org
Wed Dec 18 02:58:48 CET 2013


Probably needs the python-dev package installed. 

On Tue, 2013-12-17 at 19:37 -0600, Rob Kapteyn wrote:
> On Debian and Ubuntu, missing headers errors usually mean you have a
> new OS install and you did not install the build-essential package.
> 
> Is that your problem ?
> If so, do:
> 
> sudo apt-get install build-essential
> 
> and everything will work automagically.
> 
> -Rob
> 
> 
> 
> On Tue, Dec 17, 2013 at 6:42 PM, Daniel Peters
> <danieltpeters at gmail.com> wrote:
>         I'm trying to setup an application that needs to have access
>         to the system header files, specifically from the build
>         instructions:
>         
>         
>         --with-python=<include directory> - Build the Python API. Use
>         directory which contains python headers.
>         
>         
>         and....i'm curious, would this be wiser to compile against a
>         virtualenv? Can I compile this against a virtualenv?  and,
>         finally, where are said files on debian? Aren't they in the
>         python-dev package, thus giving me a resounding No, and No to
>         my first two questions?  
>         
>         thanks for any helo chipy
>         
>         
>         
>         _______________________________________________
>         Chicago mailing list
>         Chicago at python.org
>         https://mail.python.org/mailman/listinfo/chicago
>         
> 
> 
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> https://mail.python.org/mailman/listinfo/chicago




More information about the Chicago mailing list