SVK on Cygwin

Beatnik on 2006-09-09T10:32:51

Installing SVK on Cygwin with CPAN gives me the following error:

Warning: prerequisite File::Spec 3.18 not found. We have 3.05.
Warning: prerequisite IO::Digest 0 not found.
Warning: prerequisite PerlIO::via::dynamic 0.11 not found.
Warning: prerequisite SVN::Mirror 0.66 not found.
      5 [main] perl 5076 C:\cygwin\bin\perl.exe: *** fatal error - unable to remap C:\cygwin\bin\cygexpat-0.dll to same address as parent(0xCF0000) != 0xD00000
      5 [main] perl 5076 C:\cygwin\bin\perl.exe: *** fatal error - unable to remap C:\cygwin\bin\cygexpat-0.dll to same address as parent(0xCF0000) != 0xD00000
      6 [main] perl 2844 child_copy: loaded dll bss write copy failed, 0x6BB04000..0x6BB04120, done 0, windows pid 2288016, Win32 error 5
      6 [main] perl 2844 child_copy: loaded dll bss write copy failed, 0x6BB04000..0x6BB04120, done 0, windows pid 2288016, Win32 error 5
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install


Googling a bit on the "unable to remap" issue returned some pages on 'rebase' and 'rebaseall'. After the 'rebaseall', CPAN installed SVK cleanly.

A rundown:
  1. Close all Cygwin windows, stop all Cygwin services and all Cygwin applications
  2. Start the ash shell by typing ash in your Start > Run... Then type
    rebaseall
    . There is also a short section on similar issues in the Perl 5.8.8 package. The rebase apparently remaps the memory addresses in the DLLs (whatever that may mean :) )