Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4291A35E.1090304@familiehaase.de> Date: Mon, 23 May 2005 11:33:18 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: marcos rebelo , cygwin Subject: Re: XML::LibXSLT on Cygwin References: <319d96980505222238593c9c8b AT mail DOT gmail DOT com> <319d96980505230024657d9702 AT mail DOT gmail DOT com> In-Reply-To: <319d96980505230024657d9702@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes marcos rebelo wrote: Ok, to clarify this: Which module do you try to install: 1. XML::LibXSLT (M/MS/MSERGEANT/XML-LibXSLT-1.57.tar.gz) 2. XML::XSLT (J/JS/JSTOWE/XML-XSLT-0.48.tar.gz) 3. XSLT (J/JO/JOSTEN/XML-XSLT-0.20.tar.gz) I guess the 1st. > This email has already sent but is about the XML::XSLT > > It is possible to install this Perl module in the Cygwin. > > When I do 'perl Makefile.pl' the script blows up and creats the file > 'perl.exe.stackdump' > > I changed the code of the Makefile.pl inside the 'sub backtick' from > > open(STDOUT, ">$DEVNULL"); > open(STDERR, ">$DEVNULL"); > my $results = `$command`; > > to: > > 191 warn $DEVNULL; > 192 warn $command; > 193 > 194 # open(STDOUT, ">$DEVNULL"); > 195 # open(STDERR, ">$DEVNULL"); > 196 > 197 my $results = `$command`; > 198 warn $results; > > and I get this output > > running xslt-config... /dev/null at Makefile.PL line 191. > xslt-config --version at Makefile.PL line 192. > C:\cygwin\bin\perl.exe (2672): *** unable to remap > C:\cygwin\bin\cygiconv-2.dll to same address as parent0xD70000) != 0xD80000 > 3 [main] perl 2416 fork_parent: child 2672 died waiting for dll loading > > How can I fix this? The require: require XML::LibXML; if ($XML::LibXML::VERSION < 1.57) { die "XML::LibXML 1.57 or higher required\n"; } at the beginning and this line in WriteMakefile(): 'PREREQ_PM' => { 'XML::LibXML' => "1.57", }, are the problem. After removing this from Makefile.PL it works ok (iff you have XML::LibXML already installed;) $ make test /bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic........ok t/02dromeds......ok t/03input........ok t/04params.......Bad free() ignored (PERL_CORE) at /usr/lib/perl5/5.8/Test.pm line 375. t/04params.......ok t/05quick........ok 4/7Bad free() ignored (PERL_CORE). t/05quick........ok t/06output.......Bad free() ignored (PERL_CORE) at t/06output.t line 153. t/06output.......ok t/07blankdoc.....ok t/08literal......ok t/09exslt........ok t/10functions....Use of uninitialized value in concatenation (.) or string at t/10functions.t line 9. Use of uninitialized value in concatenation (.) or string at t/10functions.t line 9. t/10functions....ok All tests successful. Files=10, Tests=94, 31 wallclock secs (15.42 cusr + 13.10 csys = 28.52 CPU) Perl forks a process and tries to load the module in this child process which doesn't work without running rebase on ALL shared libraries and shared perl modules. See the rebase package for details about the command rebaseall (don't run it without reading the docs!). Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/