EnvironmentSetup/Windows/CygwinErrors

From Wiki.ooo4kids.org

Jump to: navigation, search

Back to EnvironmentSetup/Windows

Possible Cygwin errors exhibited when using CPAN
C:\cygwin\bin\perl.exe: *** unable to remap C:\cygwin\bin\cygiconv-2.dll to same
address as parent(0x7C0000) != 0x7D0000

To fix this, I had to exit the Cygwin shell, run cmd.exe, then type "c:\cygwin\bin\ash.exe" to start the minimal shell, then type "/bin/rebaseall". Then CPAN worked when I ran it again.

ERROR: Can't create '/usr/bin'; Do not have write permissions on '/usr/bin'


I can actually write to /usr/bin; however when I do "ls -ld /usr/bin", cygwin reports no write permission; and "chmod u+w /usr/bin" gives "Permission denied". This causes the install process to fail when it checks permissions. As a kludge, I installed vim, and edited line 368 of /usr/lib/perl5/5.10/ExtUtils/Install.pm, replacing this:

return -w $dir;

with this:

return 1;

which allowed installation to proceed.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox