Thread XML::Simple und : Windows <-> Mac
(35 answers)
Opened by Crian at 2005-05-31 19:34
Hey super!
Damit komme ich etwas weiter, allerdings hab ich noch ein Problem bei make all: [tt]Schneeflocke:~/.cpan/build/XML-Parser-2.34 crian$ make all cc -c -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" Expat.c Expat.xs:12:19: error: expat.h: No such file or directory Expat.xs:60: error: parse error before "XML_Parser" und danach folgen noch viele weitere Fehler, die offensichtlich auf die fehlende Header Datei zurückzuführen sind. Vielleicht war der Pfad doch falsch? Oder mir fehlt noch irgendwas anderes? [font=courier]Schneeflocke:~/.cpan/build/XML-Parser-2.34 crian$ locate expat.h /usr/include/php/ext/xml/expat/expat.h[/tt] Vielen Dank für Deine Hilfe. Aus oben von mir zitierter Hilfe: EXPATINCPATH=... To set the directory in which to find expat.h Aha... also setze ich den mal auf /usr/include/php/ext/xml/expat/[/font] Mein Vorgehen bisher war nun also: Code: (dl
)
1 cpan Dabei kommt es dann zum Fehler Code: (dl
)
1 Schneeflocke:~/.cpan/build/XML-Parser-2.34 crian$ make allcc -c -I/usr/include/php/ext/xml/expat/ -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" Expat.c hmmm Code: (dl
)
1 Schneeflocke:~/.cpan/build/XML-Parser-2.34 crian$ locate php_compat.h Gibts da noch eine Möglichkeit, auch diesen Pfad mitzugeben? s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;
use strict; use warnings; Link zu meiner Perlseite |