[PythonCE] Global defpaths error while building Python

rajashekhar v rajashekharv at gmail.com
Mon Jun 15 13:01:22 CEST 2009

Hi Group,

*I have download pythonce source, and try to build** it** to generate
CAB file**.

I have downloaded and installed all the below requirements which are
mentioned in the readme-wince.txt.
- Python 2.5 for Windows, installed on your PC
- Microsoft eMbedded Visual C++ 4.0 with Service Pack 4
- Pocket PC 2003 SDK

As per the readme.txt , i executed the scons cab, but i'm getting the
below errors.
Please help me to resolve this.

>> > C:\Source\python-wince\PCbuild\WinCE>scons
>> > scons: Reading SConscript files ...
>> > <type 'exceptions.NameError'>: global name
>> 'defpaths'
>>** > is not defined:

In the pythonce group some one has faced the same problem and reply
was like this.
**I got the same problem trying to compile PythonCE.
I resolved it by creating en empty 'defpaths' list on line 365 of msevc.py
and manually added 'include_path', 'lib_path' and 'exe_path' to it.*

As per this suggestion, manually add the paths of what ??
include_path = ??
lib_path = ??
exe_path = ??

Please help me .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonce/attachments/20090615/2221e936/attachment.htm>

More information about the PythonCE mailing list