I could not find a machine with VS 2003 so i tried my chance with MINGW/MSYS, following
http://boodebr.org/main/python/build-windows-extensions I installed MSYS and MINGW and ran python setup.py bdist_wininst A few issues i found: -windows is confused between rinterface.h (from rpy) and Rinterface.h (from R) -Rinterface.h is not shipped with the windows binary installer of R -windows/mingw does not know what to do with uintptr_t i worked around those 3 by: -replacing uintptr_t with unsigned int -renaming rinterface.h to r_interface.h -copying RInterface.h from a src distribution of R now i am stuck with a mysterious writing build\temp.win32-2.5\Release\rpy\rinterface\rinterface.def Traceback (most recent call last): File "setup.py", line 156, in <module> [pack_name + '.rinterface', pack_name + '.rinterface.tests'] File "C:\Python25\lib\distutils\core.py", line 151, in setup dist.run_commands() File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands self.run_command(cmd) File "C:\Python25\lib\distutils\dist.py", line 994, in run_command cmd_obj.run() File "C:\Python25\lib\distutils\command\bdist_wininst.py", line 107, in run self.run_command('build') File "C:\Python25\lib\distutils\cmd.py", line 333, in run_command self.distribution.run_command(command) File "C:\Python25\lib\distutils\dist.py", line 994, in run_command cmd_obj.run() File "C:\Python25\lib\distutils\command\build.py", line 112, in run self.run_command(cmd_name) File "C:\Python25\lib\distutils\cmd.py", line 333, in run_command self.distribution.run_command(command) File "C:\Python25\lib\distutils\dist.py", line 994, in run_command cmd_obj.run() File "C:\Python25\lib\distutils\command\build_ext.py", line 299, in run self.build_extensions() File "C:\Python25\lib\distutils\command\build_ext.py", line 425, in build_extensions self.build_extension(ext) File "C:\Python25\lib\distutils\command\build_ext.py", line 522, in build_extension target_lang=language) File "C:\Python25\lib\distutils\ccompiler.py", line 845, in link_shared_object extra_preargs, extra_postargs, build_temp, target_lang) File "C:\Python25\lib\distutils\cygwinccompiler.py", line 246, in link target_lang) File "C:\Python25\lib\distutils\unixccompiler.py", line 214, in link libraries) File "C:\Python25\lib\distutils\ccompiler.py", line 1242, in gen_lib_options opt = compiler.runtime_library_dir_option (dir) File "C:\Python25\lib\distutils\unixccompiler.py", line 278, in runtime_library_dir_option compiler = os.path.basename(sysconfig.get_config_var("CC")) File "C:\Python25\lib\ntpath.py", line 200, in basename return split(p)[1] File "C:\Python25\lib\ntpath.py", line 164, in split d, p = splitdrive(p) File "C:\Python25\lib\ntpath.py", line 119, in splitdrive if p[1:2] == ':': TypeError: 'NoneType' object is unsubscriptable I will do some more digging in distutils to try and figure about what is going on, but I welcome any hint from knowledgeable people Laurent 2008/10/22 laurent oget <[EMAIL PROTECTED]>: > If I can get my hands on a windows machine with VS 2003 and python > 2.5.2, should I expect python setup.py bdist_wininst > to produce a windows installer? > > Laurent > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list