[maemo-developers] maemoswig error

From: Daniel Martin Yerga dyerga at gmail.com
Date: Sun May 10 13:55:23 EEST 2009
On Sat, 9 May 2009 18:57:22 +0530
amit sethi <amit.pureenergy at gmail.com> wrote:

> I am not sure that if this should be considered a problem directly
> related with maemi
> I am trying to develop python wrappers using maemoswig
> I keep getting the error could not find python.h
> At first i would think that this might be because i did not give the
> right path but that is not the case

You should be sure you are using the python2.5 libraries and not use
the python2.3 ones installed with scratchbox.
I don't know how would be the specific fix in your case, but it smells
to this problem.

You could try the following: 
export SBOX_REDIRECT_IGNORE=/usr/bin/python ; export PATH=/usr/bin:$PATH
Now it should use python2.5 instead of python2.3 when invoking python
in scratchbox, and perhaps it fixes your problem.


-- 
Daniel Martin Yerga
http://yerga.net

More information about the maemo-developers mailing list