Re: [Discuss-gnuradio] Problem in usable Python.h header file.
On Wed, Oct 18, 2006 at 06:13:04AM -0700, Written wrote: > > > > Tarun Tiwari wrote: > > > > Hi, > > > > I am installing GNU Radio 3.0 on Linux Mandriva Official 2007.0, when I am > > trying to do ./configure I receive an error like "unable to find usable > > Python.h header file" > > > > I found my Python.h file is in /usr/local/include/python2.4 whereas . > > /configure command alwasy look for /usr/linclude/python2.4 > > > > I used export PYTHONPATH=/usr/local/include/python2.4 but that is not > > working. Can someone tell me where is the problem, and what do i need to > > do > > to resolve this issue? > > > > Thank you. > > > > Tarun Mani Tiwari > > > > ___ > > Discuss-gnuradio mailing list > > Discuss-gnuradio@gnu.org > > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > > Python 2.4 did not work with GNU Radio 2.8 (so we used 2.3). I'm not sure > if it works with 3.0 or not. You may want to try Python 2.3. > > Thanks, > > Written Folks, GNU Radio works fine with Python 2.3 and 2.4. There's something suspicious about Python.h being found in /usr/local/include/*. This would indicate that somebody built python from source, which is definitely NOT required. Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Problem in usable Python.h header file.
GNU Radio 3.0 works fine wtih Python 2.4. > Tarun Tiwari wrote: > I found my Python.h file is in /usr/local/include/python2.4 whereas . > /configure command alwasy look for /usr/linclude/python2.4 > I used export PYTHONPATH=/usr/local/include/python2.4 but that is not > working. Can someone tell me where is the problem, and what do i need to > do > to resolve this issue? PYTHONPATH is to tell python where to look, not to tell configure where to find python. You need to tell configure what directories to look in. As an example, on NetBSD, base system includes and libraries are in /usr/include and /usr/lib, and packages built via pkgsrc are in /usr/pkg/include and /usr/pkg/lib. /usr/pkg isn't in the default search path, so I use: LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib -L/usr/adroit/lib -R/usr/adroit/lib" CPPFLAGS="-I/usr/pkg/include -I/usr/adroit/include" ./configure --prefix=/usr/adroit $CONF_ARGS to search additional prefixes when building GNU Radio from svn; in general you need to pass such LDFLAGS/CPPFALGS to use packages in places other than the default compiler search path. (Note that whether to use -R depends on your OS and the rules for finding shared libraries at runtime - there's the -R approach, the ld.so.conf/LD_LIBRARY_PATH approach, and the bind-full-paths-in-binaries approach. I have no idea which of these approaches Mandriva uses.) But, I'd say it's odd on a GNU/Linux system that python is in a place that isn't in the default compiler search paths. Did you build it by hand? pgpsjyIyPzgCu.pgp Description: PGP signature ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Problem in usable Python.h header file.
Tarun Tiwari wrote: > > Hi, > > I am installing GNU Radio 3.0 on Linux Mandriva Official 2007.0, when I am > trying to do ./configure I receive an error like "unable to find usable > Python.h header file" > > I found my Python.h file is in /usr/local/include/python2.4 whereas . > /configure command alwasy look for /usr/linclude/python2.4 > > I used export PYTHONPATH=/usr/local/include/python2.4 but that is not > working. Can someone tell me where is the problem, and what do i need to > do > to resolve this issue? > > Thank you. > > Tarun Mani Tiwari > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > Python 2.4 did not work with GNU Radio 2.8 (so we used 2.3). I'm not sure if it works with 3.0 or not. You may want to try Python 2.3. Thanks, Written -- View this message in context: http://www.nabble.com/Problem-in-usable-Python.h-header-file.-tf2465188.html#a6875929 Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Problem in usable Python.h header file.
Hi,I am installing GNU Radio 3.0 on Linux Mandriva Official 2007.0, when I am trying to do ./configure I receive an error like "unable to find usable Python.h header file "I found my Python.h file is in /usr/local/include/python2.4 whereas ./configure command alwasy look for /usr/linclude/python2.4I used export PYTHONPATH=/usr/local/include/python2.4 but that is not working. Can someone tell me where is the problem, and what do i need to do to resolve this issue? Thank you.Tarun Mani Tiwari ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio