[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] This python version requires swig to be run....
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] This python version requires swig to be run.... |
Date: |
Wed, 12 Dec 2007 10:31:14 -0800 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Wed, Dec 12, 2007 at 04:14:25PM +0100, Vincenzo Pellegrini wrote:
> Hi,
>
> I've just tried to compile my DVB-T application on a Fedora 7 system
> which has Python 2.5 instead of 2.4 installed.
>
> I get this:
>
> dvb.cc:139:20: error: Python.h: No such file or directory
> dvb.cc:2539:4: error: #error "This python version requires swig to be run
> with the '-classic' option"
> dvb.cc:2543:3: error: #error "This python version requires swig to be run
> with the '-nomodern' option"
> dvb.cc:2546:3: error: #error "This python version requires swig to be run
> with the '-nomodernargs' option"
>
> when I try to make check my code..
>
> what am I doing wrong..? / where should I look to change necessary options
> to keep uo with Python changes?
>
> many thanks
>
> --
> Vincenzo Pellegrini
FWIW, I use Fedora 7 with no problems on both 32 and 64-bit machines.
Are you using configure to locate python? The first error indicates
that it's not finding the include directory that contains Python.h.
Eric