GnuWin32 required for sarge?

Issue #32 invalid
Former user created an issue

I am using Windows 7 64-bit machine and installed python 2.7.9 (64-bit version) via MSI.

Installation of 'sarge' went fine without any errors from Windows cmd prompt. But when I run test, I am getting following error. Is this expected? Is GnuWin32 required for 'sarge'? Is there no support for 'sarge' on vanilla 64-bit arch?

C:\work\vinay.sajip-sarge-8ef70d2c06b7>python setup.py test running test Traceback (most recent call last): File "setup.py", line 84, in <module> cmdclass={ 'test': TestCommand }, File "C:\Python27\lib\distutils\core.py", line 151, in setup dist.run_commands() File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "setup.py", line 20, in run import test_sarge File "C:\work\vinay.sajip-sarge-8ef70d2c06b7\test_sarge.py", line 49, in <module> ' were installed to on the PATH.' % (fn, list)) ImportError: To run these tests on Windows, you need the GnuWin32 coreutils package. This appears not to be installed correctly, as the file u'libiconv2.dll' does not appear to be in the current directory. See http://gnuwin32.sourceforge.net/packages/coreutils.htm for download details. Once downloaded and installed, you need to copy libiconv2.dll, libintl3.dll, cat.exe, echo.exe, tee.exe, false.exe, true.exe, sleep.exe and touch.exe to the test directory or have the directory they were installed to on the PATH.

Comments (1)

  1. Vinay Sajip repo owner

    This is not a bug. Gnu-Win32 is only needed for running the tests on Windows, not for sarge itself. This is documented here. The Gnu-Win32 executables should work on 64-bit architectures, too.

  2. Log in to comment