[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn-0.14.1-r2927-setup.exe & cygwin

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-08-14 20:25:47 CEST

When I run svn.exe from the svn-0.14.1-r2927-setup.exe install
from a Cygwin bash shell on Windows 2000, I get the following error:

$ pwd
/c/Program Files/cygnus/cygwin/bin

$ ls
cygintl-1.dll cygwin1.dll diff.exe diff3.exe

$ ./diff.exe
c:\Program Files\cygnus\cygwin\bin\diff.exe: *** MapViewOfFileEx
'shared'(0x12), Win32 error 6. Terminating.

Running diff.exe from a cmd.exe works fine.

It appears that the cyg*dll in this SVN install are from 1.3.11-3 by
running strings on the dlls, while the cygwin package I have on my
system is 1.3.12-4.

If I move the cyg*dll out of this directory, then running diff.exe
from Cygwin bash works fine. Copying my 1.3.12-4 cygintl-1.dll and
cygwin1.dll into the directory also works fine.

Given that we want to run svn from cmd.exe and on systems that may
or may not have Cygwin installed, I think the installer will need
to be smarter about what it installs and how it finds diff.exe
and diff3.exe.

If a system has Cygwin installed on it, then it should use Cygwin's
diff and diff3. This prevents Cygwin DLL mismatches and prevents
future problems when users upgrade either Cygwin and/or SVN
independently.

If the system doesn't have Cygwin installed, then it can install
the Cygwin DLLs. We still have a problem if later on a user
installs Cygwin and then run's svn from Cygwin.

Of course, long term we'll have an internal diff library and can
skip all this, but we need a short term solution here.

Are there any capabilities in the install tool to scan the binaries
and libraries for strings and replace them with the path to diff
and diff3? ActiveState's Perl installer does this so Perl can be
installed anywhere on the system.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 14 20:26:29 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.