Global defpaths error while building Python
rajashekhar v <[email protected]> Mon, 15 Jun 2009 16:31:22 +0530
| Newsgroups | gmane.comp.python.windows-ce |
|---|---|
| Message-ID | <[email protected]> |
--===============2096052437== Content-Type: multipart/alternative; boundary=0016362835ea8777de046c60fa61 --0016362835ea8777de046c60fa61 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --0016362835ea8777de046c60fa61 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Group, <br><br><pre><font size=3D"4"><i>I have download pythonce source,= and try to build</i><i> it</i><i> to generate CAB file</i><i>.<br><br>I ha= ve downloaded and installed all the below requirements which are mentioned = in the readme-wince.txt.<br> - Python 2.5 for Windows, installed on your PC<br>- Microsoft eMbedded Visu= al C++ 4.0 with Service Pack 4<br>- Pocket PC 2003 SDK<br><br>As per the re= adme.txt , i executed the scons cab, but i'm getting the below errors.<= br> Please help me to resolve this.<br><br></i><b><i><br></i>>><i> > C= :\Source\python-wince\PCbuild\WinCE>scons<br></i>>><i> > scons:= Reading SConscript files ...<br></i>>><i> > <type 'excepti= ons.NameError'>: global name<br> </i>>><i> 'defpaths'<br></i>>></b><i><b> > is not de= fined:</b><br><br><br>In the pythonce group some one has faced the same pro= blem and reply was like this.<br></i><b>I got the same problem trying to co= mpile PythonCE.<br> I resolved it by creating en empty <strong>'defpaths'</strong> list= on line 365 of msevc.py<br>and manually added 'include_path', '= ;lib_path' and 'exe_path' to it.</b><br><br>As per this suggest= ion, manually add the paths of what ??<br> include_path =3D ??<br>lib_path =3D ??<br>exe_path =3D ??<br><br>Please hel= p me .<br><br><br>Thanks, <br>Rajashekhar<br></font></pre><br> --0016362835ea8777de046c60fa61-- --===============2096052437== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PythonCE mailing list [email protected] http://mail.python.org/mailman/listinfo/pythonce --===============2096052437==--