This is the mail archive of the cygwin@cygwin.com 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]

RE: Problems with XML::Parser



Firstly you need to build expat. 
http://prdownloads.sourceforge.net/expat/expat-1.95.0.tar.gz

Presently I have had no joy with 1.95.1 and don't have the time right now to
port properly. A few hacks are required but nothing too dificult.

Once this is installed you will need to create a symlink libexpat.dll to
libexpat-0-0-0.dll.

Then you may build XML-Parser-2.29 which is one release back. Same issue
with porting time.

If anyone else wants to post 'em patches, feel *free* to contribute.


--Neil

>-----Original Message-----
>From: RUMBLE,PHIL (A-Scotland,ex1) [mailto:phil_rumble@agilent.com]
>Sent: Thursday, July 19, 2001 5:52 PM
>To: 'cygwin@cygwin.com'
>Subject: Problems with XML::Parser
>
>
>People, 
>
>I seem to unable to build XML::Parser. It builds ok, but the 
>test section
>fails all tests. 
>
>the tests can't seem to open the expat.dll, which does exist. 
>
>Any Ideas
>
>Thanks in advance
>
>Rumble
>
>Here are the results
>
>make test
>
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/astress.t line 11.
>BEGIN failed--compilation aborted at t/astress.t line 11.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/cdata.t line 3.
>BEGIN failed--compilation aborted at t/cdata.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/decl.t line 3.
>BEGIN failed--compilation aborted at t/decl.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/defaulted.t line 3.
>BEGIN failed--compilation aborted at t/defaulted.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/encoding.t line 3.
>BEGIN failed--compilation aborted at t/encoding.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/external_ent.t line 3.
>BEGIN failed--compilation aborted at t/external_ent.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/file.t line 3.
>BEGIN failed--compilation aborted at t/file.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/finish.t line 3.
>BEGIN failed--compilation aborted at t/finish.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/namespaces.t line 3.
>BEGIN failed--compilation aborted at t/namespaces.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/parament.t line 3.
>BEGIN failed--compilation aborted at t/parament.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/partial.t line 3.
>BEGIN failed--compilation aborted at t/partial.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/skip.t line 3.
>BEGIN failed--compilation aborted at t/skip.t line 3.
>Can't load 'blib/arch/auto/XML/Parser/Expat/Expat.dll' for module
>XML::Parser::Expat: dlopen: Win32 error 126 at /usr/li
>b/perl5/5.6.1/cygwin/DynaLoader.pm line 206.
> at blib/lib/XML/Parser.pm line 15
>Compilation failed in require at blib/lib/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted at blib/lib/XML/Parser.pm line 19.
>Compilation failed in require at t/stream.t line 3.
>BEGIN failed--compilation aborted at t/stream.t line 3.
>Failed 13/13 test scripts, 0.00% okay. 113/113 subtests 
>failed, 0.00% okay.
>make: *** [test_dynamic] Error 2
>
>rumble@SQF4210 ~/.cpan/build/XML-Parser-2.30
>$ ls
>Changes  MANIFEST  Makefile.PL   Parser     README              blib
>samples  test.txt
>Expat    Makefile  Makefile.old  Parser.pm  XML.Parser.Expat.0 
> pm_to_blib
>t
>
>rumble@SQF4210 ~/.cpan/build/XML-Parser-2.30
>$ ls -l
>total 161
>-rw-r--r--    1 rumble   None        24367 Oct  5  2000 Changes
>drwxr-xr-x    2 rumble   None        12288 Jul 19 08:32 Expat
>-rw-r--r--    1 rumble   None         2434 Oct  3  2000 MANIFEST
>-rw-r--r--    1 rumble   None        23208 Jul 19 08:32 Makefile
>-rw-r--r--    1 rumble   None         2101 Oct  4  2000 Makefile.PL
>-rw-r--r--    1 rumble   None        23208 Jul 19 08:02 Makefile.old
>drwxr-xr-x    3 rumble   None            0 Oct  5  2000 Parser
>-rw-r--r--    1 rumble   None        31377 Oct  4  2000 Parser.pm
>-rw-r--r--    1 rumble   None         2736 Oct  3  2000 README
>-rw-r--r--    1 rumble   None        28135 Jul 19 08:32 
>XML.Parser.Expat.0
>drwxr-xr-x    4 rumble   None            0 Jul 19 08:32 blib
>-rw-r--r--    1 rumble   None            0 Jul 19 08:32 pm_to_blib
>drwxr-xr-x    2 rumble   None         4096 Oct  5  2000 samples
>drwxr-xr-x    2 rumble   None         4096 Oct  5  2000 t
>-rw-r--r--    1 rumble   None         2927 Jul 19 08:34 test.txt
>
>rumble@SQF4210 ~/.cpan/build/XML-Parser-2.30
>$ less test.txt
>make[1]: Entering directory 
>`/home/rumble/.cpan/build/XML-Parser-2.30/Expat'
>make[1]: Leaving directory 
>`/home/rumble/.cpan/build/XML-Parser-2.30/Expat'
>PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
>-I/usr/lib/perl5/5.6.1/cygwin -I/usr/lib/perl5/5.6.1 -e 'use Test
>::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
>t/astress...........dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-25
>        Failed 25/25 tests, 0.00% okay
>t/cdata.............dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-2
>        Failed 2/2 tests, 0.00% okay
>t/decl..............dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-30
>        Failed 30/30 tests, 0.00% okay
>t/defaulted.........dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-4
>        Failed 4/4 tests, 0.00% okay
>t/encoding..........dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-4
>        Failed 4/4 tests, 0.00% okay
>t/external_ent......dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-5
>        Failed 5/5 tests, 0.00% okay
>t/file..............dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-2
>        Failed 2/2 tests, 0.00% okay
>t/finish............dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-3
>        Failed 3/3 tests, 0.00% okay
>t/namespaces........dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-16
>        Failed 16/16 tests, 0.00% okay
>t/parament..........dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-12
>        Failed 12/12 tests, 0.00% okay
>t/partial...........dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-3
>        Failed 3/3 tests, 0.00% okay
>t/skip..............dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-4
>        Failed 4/4 tests, 0.00% okay
>t/stream............dubious
>        Test returned status 255 (wstat 65280, 0xff00)
>DIED. FAILED tests 1-3
>        Failed 3/3 tests, 0.00% okay
>Failed Test      Status Wstat Total Fail  Failed  List of Failed
>---------------------------------------------------------------
>-------------
>----
>t/astress.t              255 65280    25   25 100.00%  1-25
>t/cdata.t                255 65280     2    2 100.00%  1-2
>t/decl.t                 255 65280    30   30 100.00%  1-30
>t/defaulted.t            255 65280     4    4 100.00%  1-4
>t/encoding.t             255 65280     4    4 100.00%  1-4
>t/external_ent.t         255 65280     5    5 100.00%  1-5
>t/file.t                 255 65280     2    2 100.00%  1-2
>t/finish.t               255 65280     3    3 100.00%  1-3
>t/namespaces.t           255 65280    16   16 100.00%  1-16
>t/parament.t             255 65280    12   12 100.00%  1-12
>t/partial.t              255 65280     3    3 100.00%  1-3
>t/skip.t                 255 65280     4    4 100.00%  1-4
>t/stream.t               255 65280     3    3 100.00%  1-3
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>

__________________________________________________________________________
Please Note :
Only  the intended recipient is authorised to access or use this e-mail.  If
you are not the intended recipient,
please delete this e-mail and notify the sender immediately.   The contents
of this e-mail are the writer's 
opinion and are not necessarily endorsed by the Gunz Companies unless
expressly stated.

We use virus scanning software but exclude all liability for viruses or
similar in any attachment.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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