This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: install package from cpan report "address space needed by ... is already occupied"


On Fri, Jul 27, 2012 at 5:20 AM, Aaron Schneider wrote:
> On 25/07/2012 3:13, ping wrote:
>>
>> I'm trying to install App::Asciio in cygwin, but got following error,
>> please advice, or what info are still needed to proceed, thanks!
>>
>> CPAN: Module::Build loaded ok (v0.3613)
>>
>>    CPAN.pm: Going to build N/NK/NKH/App-Asciio-1.02.71.tar.gz
>>
>>        0 [main] perl 6432 child_info_fork::abort: address space needed
>> by 'Base64.dll' (0xC60000) is already occupied
>>        1 [main] perl 3844 child_info_fork::abort: unable to remap
>> Util.dll to same address as parent (009A0000) - try running rebaseall
>>        0 [main] perl 10708 child_info_fork::abort: address space needed
>> by 'Base64.dll' (0xC60000) is already occupied
>>        0 [main] perl 11276 child_info_fork::abort: unable to remap
>> Util.dll to same address as parent (009A0000) - try running rebaseall
>>        0 [main] perl 1976 child_info_fork::abort: address space needed
>> by 'Base64.dll' (0xC60000) is already occupied
>>
>
> Could you rename your c:\cygwin folder to c:\cygwin_bak and try a fresh
> install and see if happens the same? Are you installing cpan modules from
> binaries or compiling them with 'perl Build.PL'?
>
> - There should be no need to rebase any dll, try installing all cpan modules
> from source code (the tar.gz). Install only perl from cygwin's setup.exe. If
> there are any compilation issues with any cpan module you will see it right
> away. All modules should compile and pass all t tests. You will need to
> install dependencies like gcc, gcc4, libbz2-devel, pkg-config and probably
> more from setup.exe.
> - Remember to keep closed all terminals and cygwin sessions when running
> setup.exe

> - I wasn't able to compile a lot of cpan modules under cygwin, for example
> P/PD/PDENIS/Test-Strict-0.14.tar.gz with either perl 5.10 or perl 5.14. This
> is not the case for Ubuntu, for example, at least trying to install all cpan
> dependencies for App-Asciio-1.02.71.

This part is a problem of a wrong test in Test-Strict-0.14/t/01all.t.

It falsely assumes cygwin is MSWin32 because Win32 is loadable and
then tries to convert
paths by Win32::GetLongPathName().
Expand the attached two files into .cpan/ to apply my patch
automatically on your next cpan attempt.
-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/

Attachment: Test-Strict-0.14.tar.gz
Description: GNU Zip compressed data

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]