« Return to Thread: Global defpaths error while building Python

Global defpaths error while building Python

by rajashekhar v :: Rate this Message:

Reply to Author | View in Thread

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 .


Thanks,
Rajashekhar


_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce

 « Return to Thread: Global defpaths error while building Python