Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Help installing XML::Parser Version 2.23

Help installing XML::Parser Version 2.23
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2001
Location: Rio Rancho, NM
Status: Offline
Reply With Quote
May 23, 2005, 11:13 AM
 
I'm trying to install XML::Parser on 10.4, the instruction state:

To configure this module, cd to the directory that contains this README file
and type the following:

perl Makefile.PL

Alternatively, if you plan to install XML::Parser somewhere other than
your system's perl library directory. You can type something like this:

perl Makefile.PL PREFIX=/home/me/perl INSTALLDIRS=perl

Then to build you run make.

make

You can then test the module by typing:

make test
When I try make the terminal complains that the command is not found.
     
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status: Offline
Reply With Quote
May 23, 2005, 12:48 PM
 
Originally Posted by gregjsmith
I'm trying to install XML:arser on 10.4, the instruction state:



When I try make the terminal complains that the command is not found.
If make is not found, you'll need to install the Developer Tools (Xcode) that came with your Tiger DVD, this package includes all the command line dev tools like gcc, g++, autoconf, make, install, etc...
"In Nomine Patris, Et Fili, Et Spiritus Sancti"

     
Fresh-Faced Recruit
Join Date: Jul 2001
Location: Rio Rancho, NM
Status: Offline
Reply With Quote
May 23, 2005, 06:42 PM
 
That makes too much sense. Works much better that way. WHen I run the make test there are errors (see below). I'm installing XML Parser becasue it's a dependancy for SOAP Lite, but when I try to install SOAP lite after installing this it tells me XML parser isn't installed.

Skip ../blib/lib/XML/Parser/Expat/xmltok/xmltok_impl.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/iasciitab.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/nametab.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/xmlwf.dsp (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/latin1tab.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmltok.dsp (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmltok.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/expat.html (unchanged)
Skip ../blib/lib/XML/Parser/Expat.pm (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlparse/xmlparse.o (unchanged)
Skip ../blib/lib/XML/Parser/Expat/Makefile (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmlrole.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmlrole.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmltok_impl.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/filemap.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/gennmtab/gennmtab.dsp (unchanged)
Skip ../blib/lib/XML/Parser/Expat/lib/xmlparse.lib (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlparse/xmlparse.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/expat.dsw (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmltok_ns.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmlrole.o (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/asciitab.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmldef.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmltok.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/gplelect.html (unchanged)
Skip ../blib/lib/XML/Parser/Expat/lib/xmltok.lib (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/unixfilemap.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/bin/xmltok.dll (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlparse/xmlparse.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlparse/hashtable.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/xmlfile.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlparse/xmlparse.dsp (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/xmltok.o (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/codepage.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/readfilemap.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/codepage.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/xmlwf.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/MPL-1_0.html (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/win32filemap.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/expat.mak (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/xmltchar.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlparse/hashtable.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/sample/elements.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/sample/build.bat (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlwf/xmlfile.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/utf8tab.h (unchanged)
Skip ../blib/lib/XML/Parser/Expat/bin/xmlwf.exe (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmlparse/hashtable.o (unchanged)
Skip ../blib/lib/XML/Parser/Expat/bin/xmlparse.dll (unchanged)
Skip ../blib/lib/XML/Parser/Expat/xmltok/dllmain.c (unchanged)
Skip ../blib/lib/XML/Parser/Expat/gennmtab/gennmtab.c (unchanged)
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/astress.........FAILED tests 4-23
Failed 20/23 tests, 13.04% okay
t/cdata...........PositionContext: Parse position is outside of buffer at /Users/Shared/Downloads/XML-Parser-2.23/blib/lib/XML/Parser/Expat.pm line 344.
t/cdata...........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay
t/decl............PositionContext: Parse position is outside of buffer at /Users/Shared/Downloads/XML-Parser-2.23/blib/lib/XML/Parser/Expat.pm line 344.
t/decl............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-17
Failed 16/17 tests, 5.88% okay
t/defaulted.......
no element found at line 1, column 0, byte -1 at /Users/Shared/Downloads/XML-Parser-2.23/blib/lib/XML/Parser.pm line 153
t/defaulted.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/encoding........
no element found at line 1, column 0, byte -1 at /Users/Shared/Downloads/XML-Parser-2.23/blib/lib/XML/Parser.pm line 153
t/encoding........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/external_ent....
no element found at line 1, column 0, byte -1 at /Users/Shared/Downloads/XML-Parser-2.23/blib/lib/XML/Parser.pm line 153
t/external_ent....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
t/file............ok
t/finish..........ok
t/namespaces......PositionContext: Parse position is outside of buffer at /Users/Shared/Downloads/XML-Parser-2.23/blib/lib/XML/Parser/Expat.pm line 344.
t/namespaces......dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-16
Failed 15/16 tests, 6.25% okay
t/partial.........
no element found at line 1, column 0, byte -1 at t/partial.t line 21
t/partial.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay
t/stream..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/astress.t 23 20 86.96% 4-23
t/cdata.t 2 512 2 2 100.00% 2
t/decl.t 2 512 17 32 188.24% 2-17
t/defaulted.t 255 65280 4 6 150.00% 2-4
t/encoding.t 255 65280 4 6 150.00% 2-4
t/external_ent.t 255 65280 5 8 160.00% 2-5
t/namespaces.t 2 512 16 30 187.50% 2-16
t/partial.t 255 65280 2 2 100.00% 2
Failed 8/11 test scripts, 27.27% okay. 63/81 subtests failed, 22.22% okay.
make: *** [test_dynamic] Error 2
     
Dedicated MacNNer
Join Date: Feb 2001
Location: Manhattan
Status: Offline
Reply With Quote
May 24, 2005, 12:44 PM
 
You need to make sure that Expat is installed. These Perl libraries are essentially wrappers built around Expat.
(Last edited by ameat; May 24, 2005 at 12:45 PM. (Reason:HTML disabled...))
     
Fresh-Faced Recruit
Join Date: Jul 2001
Location: Rio Rancho, NM
Status: Offline
Reply With Quote
May 24, 2005, 05:07 PM
 
I installed Expat then tried XML Parser again, and it still had the same errors.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:20 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2