Wolfgang Wiese: XML::Parser - Probleme mit Expat ?

Hallo,

ich hab bei der Installation von XML::Parser 2.28
Probleme: Beim Aufruf von 'make' werden Fehler beim
mitgelieferten Modul Expat gemeldet womit auch die Installation abbricht.

Hat jemand dies selbst auch schon gehabt und das problem loesen koennen?

Ciao,
  Wolfgang

  1. hi!

    ich hab bei der Installation von XML::Parser 2.28
    Probleme: Beim Aufruf von 'make' werden Fehler beim
    mitgelieferten Modul Expat gemeldet womit auch die Installation abbricht.

    Welche Fehler?

    bye, Frank!

    1. hi!

      ich hab bei der Installation von XML::Parser 2.28
      Probleme: Beim Aufruf von 'make' werden Fehler beim
      mitgelieferten Modul Expat gemeldet womit auch die Installation abbricht.

      Welche Fehler?

      bye, Frank!

      unrzc9@eliza: 22:01 [~/perl/module] > cd XML-P
      XML-Parser-2.28.tar.gz  XML-Parser-2.28/        
      unrzc9@eliza: 22:01 [~/perl/module] > cd XML-Parser-2.28
      unrzc9@eliza: 22:01 [module/XML-Parser-2.28] > ls
      Changes      MANIFEST     Makefile.PL  Parser.pm    blib         samples
      Expat        Makefile     Parser       README       pm_to_blib   t
      unrzc9@eliza: 22:02 [module/XML-Parser-2.28] > perl Makefile.PL PREFIX=/home/rzsunhome/unrz/unrzc9/perl INSTALLDIRS=perl
      Writing Makefile for XML::Parser::Expat
      Writing Makefile for XML::Parser
      unrzc9@eliza: 22:02 [module/XML-Parser-2.28] > make
      make[1]: Entering directory /home/rzsunhome/unrz/unrzc9/perl/module/XML-Parser-2.28/Expat' cc -c -Iexpat/xmltok -Iexpat/xmlparse -I/local/include -O    -DVERSION=\"2.28\" -DXS\_VERSION=\"2.28\" -Kpic -I/local/perl-5.004/lib/sun4-solaris/CORE -DXML\_NS -DXML\_DTD -DXML\_CONTEXT\_BYTES=512 -DXML\_BYTE\_ORDER=21 -o Expat.o Expat.c "Expat.xs", line 219: warning: non-constant initializer: op "--" "Expat.xs", line 990: undefined symbol: ERRSV "Expat.xs", line 990: left operand of "->" must be pointer to struct/union "Expat.xs", line 990: left operand of "->" must be pointer to struct/union "Expat.xs", line 990: left operand of "->" must be pointer to struct/union "Expat.xs", line 990: left operand of "->" must be pointer to struct/union "Expat.xs", line 990: left operand of "->" must be pointer to struct/union "Expat.xs", line 990: left operand of "->" must be pointer to struct/union "Expat.xs", line 990: warning: improper pointer/integer combination: arg #1 "Expat.xs", line 995: left operand of "->" must be pointer to struct/union "Expat.xs", line 995: left operand of "->" must be pointer to struct/union "Expat.xs", line 995: left operand of "->" must be pointer to struct/union "Expat.xs", line 995: warning: improper pointer/integer combination: arg #1 "Expat.xs", line 995: warning: argument #2 is incompatible with prototype:         prototype: pointer to uint : "/local/perl-5.004/lib/sun4-solaris/CORE/proto.h", line 445         argument : pointer to int "Expat.xs", line 1020: left operand of "->" must be pointer to struct/union "Expat.xs", line 1020: left operand of "->" must be pointer to struct/union "Expat.xs", line 1020: left operand of "->" must be pointer to struct/union "Expat.xs", line 1020: left operand of "->" must be pointer to struct/union "Expat.xs", line 1020: left operand of "->" must be pointer to struct/union "Expat.xs", line 1020: left operand of "->" must be pointer to struct/union "Expat.xs", line 1020: warning: improper pointer/integer combination: arg #1 "Expat.xs", line 1021: left operand of "->" must be pointer to struct/union "Expat.xs", line 1021: left operand of "->" must be pointer to struct/union "Expat.xs", line 1021: left operand of "->" must be pointer to struct/union "Expat.xs", line 1021: warning: improper pointer/integer combination: arg #1 cc: acomp failed for Expat.c make[1]: \*\*\* [Expat.o] Error 2 make[1]: Leaving directory /home/rzsunhome/unrz/unrzc9/perl/module/XML-Parser-2.28/Expat'
      make: *** [subdirs] Error 1

  2. Hallo!

    Vorweg: Ich schreibe hier nicht wegen Deines Problems, da kann ich naemlich nicht helfen. ;-)

    Wollte nur sagen, dass ich mich hier gerade mit dem Modul beschaeftige und bis eben noch die 2.27 verwendet habe. Und da sind wirklich noch einige schlimme Bugs und Unzulaenglichkeiten drin. Aber Du hast mir hier ja nun netterweise mitgeteilt, dass es eine 2.28 gibt, und jetzt bin ich richtig froh, weil mir das einen Haufen Arbeit spart. (Ich nutze es uebrigens unter WinNT, da gibt's das Zeug vorkompiliert bei ActiveState; hatte Deine Problemn also nicht.) Ja, das wollte ich hier nur mal sagen, dass der Update wirklich zu empfehlen ist.

    So lange, und viel Glueck noch fuer Deine Installation

    1. Hallo!

      So lange, und viel Glueck noch fuer Deine Installation

      *sigh*
      Ich hab mir inzwischen einen eigenen Semi-XML-Parser geschrieben.....das ging schneller und Dank
      strukturelles Programmieren Bugfreier :))

      Ciao,
      Wolfgang