Jens Nödler: XML::Parser installieren

Beitrag lesen

Hallo Forumer,

Ich möchte gerne unter Linux Suse 6.2 das Perlmodul XML:Parser 2.30 installieren. Das geht mit perl Makefile.pl, make, make install, aber nach dem perl Makefile.pl-Aufruf bekam ich folgendes zu sehen:

Expat must be installed prior to building XML::Parser and I can't find it in the standard library directories. You can download expat from: http://sourceforge.net/projects/expat/

Ich habe mir also Expat 1.95.0 geladen und versucht es zu installieren, doch ich bekomme es nicht hin. Es scheint, als ob Expat erst kompiliert werden müsste, doch das kann ich nicht.

In der Expat Readme steht folgendes:
To build expat, you first run the configuration shell script in the top level distribution directory:
./configure
After running the configure script, the "make" command will build things and "make install" will install things into their proper location. Note that you need to have write permission into the directories into which things will be installed.

Nach dem Aufruf von "sh ./configure" erhalte ich:
linux:/expat # sh ./configure
: command not found
: command not found
: command not found
: command not found
: command not found
'/configure: line 68: syntax error near unexpected token do '/configure: line 68: do

Hat jemand von euch das Modul zum laufen gebracht? Wenn ja, wie?

--

Wie bearbeitet ihr XML-Daten per Perl? Ich habe im Archiv gelesen, dass Wolfgang selbst einen XML-Parser geschrieben hat, doch auf xwolf.com konnte ich den Parser nicht finden.
Danke für eure Hilfe
bye
  jens nödler