| | 1 | |
| | 2 | make |
| | 3 | make's error : |
| | 4 | |
| | 5 | {{{ |
| | 6 | /misc_obj/XML-Parser-2.36> make |
| | 7 | cp Parser/Encodings/x-sjis-cp932.enc blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc |
| | 8 | cp Parser/Encodings/iso-8859-7.enc blib/lib/XML/Parser/Encodings/iso-8859-7.enc |
| | 9 | cp Parser/Style/Tree.pm blib/lib/XML/Parser/Style/Tree.pm |
| | 10 | cp Parser/Encodings/iso-8859-9.enc blib/lib/XML/Parser/Encodings/iso-8859-9.enc |
| | 11 | cp Parser/Encodings/x-euc-jp-unicode.enc blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc |
| | 12 | cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README |
| | 13 | cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-kr.enc |
| | 14 | cp Parser/Encodings/windows-1250.enc blib/lib/XML/Parser/Encodings/windows-1250.enc |
| | 15 | cp Parser/Encodings/windows-1252.enc blib/lib/XML/Parser/Encodings/windows-1252.enc |
| | 16 | cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc |
| | 17 | cp Parser/Encodings/Japanese_Encodings.msg blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg |
| | 18 | cp Parser/Encodings/iso-8859-3.enc blib/lib/XML/Parser/Encodings/iso-8859-3.enc |
| | 19 | cp Parser/Style/Subs.pm blib/lib/XML/Parser/Style/Subs.pm |
| | 20 | cp Parser/Encodings/iso-8859-4.enc blib/lib/XML/Parser/Encodings/iso-8859-4.enc |
| | 21 | cp Parser/Encodings/iso-8859-8.enc blib/lib/XML/Parser/Encodings/iso-8859-8.enc |
| | 22 | cp Parser/Encodings/x-euc-jp-jisx0221.enc blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc |
| | 23 | cp Parser/Encodings/iso-8859-2.enc blib/lib/XML/Parser/Encodings/iso-8859-2.enc |
| | 24 | cp Parser/Encodings/x-sjis-jdk117.enc blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc |
| | 25 | cp Parser/Encodings/x-sjis-unicode.enc blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc |
| | 26 | cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl |
| | 27 | cp Parser/Style/Objects.pm blib/lib/XML/Parser/Style/Objects.pm |
| | 28 | cp Parser.pm blib/lib/XML/Parser.pm |
| | 29 | cp Parser/Style/Debug.pm blib/lib/XML/Parser/Style/Debug.pm |
| | 30 | cp Parser/Encodings/x-sjis-jisx0221.enc blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc |
| | 31 | cp Parser/Style/Stream.pm blib/lib/XML/Parser/Style/Stream.pm |
| | 32 | cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc |
| | 33 | make[1]: Entering directory `/misc_obj/XML-Parser-2.36/Expat' |
| | 34 | cp Expat.pm ../blib/lib/XML/Parser/Expat.pm |
| | 35 | /boot/common/bin/perl /boot/common/lib/perl5/5.10.0/ExtUtils/xsubpp -noprototypes -typemap /boot/common/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c |
| | 36 | gcc -c -fno-strict-aliasing -pipe -O -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\" -fpic "-I/boot/common/lib/perl5/5.10.0/BePC-haiku/CORE" Expat.c |
| | 37 | In file included from /misc_obj/XML-Parser-2.36/Expat/Expat.xs:15: |
| | 38 | /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/perl.h:2555: haiku/haikuish.h: No such file or directory |
| | 39 | In file included from /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/perl.h:4695, |
| | 40 | from /misc_obj/XML-Parser-2.36/Expat/Expat.xs:15: |
| | 41 | /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/proto.h:211: parse error before `*' |
| | 42 | In file included from /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/perl.h:4725, |
| | 43 | from /misc_obj/XML-Parser-2.36/Expat/Expat.xs:15: |
| | 44 | /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/intrpvar.h:85: parse error before `PL_statbuf' |
| | 45 | /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/intrpvar.h:85: warning: data definition has no type or storage class |
| | 46 | /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/intrpvar.h:86: parse error before `PL_statcache' |
| | 47 | /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/intrpvar.h:86: warning: data definition has no type or storage class |
| | 48 | make[1]: *** [Expat.o] Error 1 |
| | 49 | make[1]: Leaving directory `/misc_obj/XML-Parser-2.36/Expat' |
| | 50 | make: *** [subdirs] Error 2 |
| | 51 | /misc_obj/XML-Parser-2.36> |
| | 52 | }}} |
| | 54 | |
| | 55 | |
| | 56 | /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/perl.h:2555 |
| | 57 | |
| | 58 | {{{ |
| | 59 | #if defined(__HAIKU__) |
| | 60 | # include "haiku/haikuish.h" |
| | 61 | # define ISHISH "haiku" |
| | 62 | #elif defined(__BEOS__) |
| | 63 | # include "beos/beosish.h" |
| | 64 | # define ISHISH "beos" |
| | 65 | #endif |
| | 66 | |
| | 67 | #ifndef ISHISH |
| | 68 | # include "unixish.h" |
| | 69 | # define ISHISH "unix" |
| | 70 | #endif |
| | 71 | }}} |
| | 72 | |
| | 73 | |
| | 74 | Querying for haikuish.h or beosish.h returns no results.[[BR]] |
| | 75 | Querying for ish.h returns /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/unixish.h[[BR]] |
| | 76 | Attempting to copy it to haiku/haikuish.h[[BR]] |
| | 77 | |
| | 78 | make results: |
| | 79 | |
| | 80 | {{{ |
| | 81 | make[1]: Entering directory `/misc_obj/XML-Parser-2.36/Expat' |
| | 82 | gcc -c -fno-strict-aliasing -pipe -O -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\" -fpic "-I/boot/common/lib/perl5/5.10.0/BePC-haiku/CORE" Expat.c |
| | 83 | Running Mkbootstrap for XML::Parser::Expat () |
| | 84 | chmod 644 Expat.bs |
| | 85 | rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.so |
| | 86 | LD_RUN_PATH="/boot/common/lib" gcc -shared Expat.o -o ../blib/arch/auto/XML/Parser/Expat/Expat.so \ |
| | 87 | /boot/common/lib/perl5/5.10.0/BePC-haiku/CORE/libperl.so -lexpat \ |
| | 88 | |
| | 89 | chmod 755 ../blib/arch/auto/XML/Parser/Expat/Expat.so |
| | 90 | cp Expat.bs ../blib/arch/auto/XML/Parser/Expat/Expat.bs |
| | 91 | chmod 644 ../blib/arch/auto/XML/Parser/Expat/Expat.bs |
| | 92 | make[1]: Leaving directory `/misc_obj/XML-Parser-2.36/Expat' |
| | 93 | }}} |
| | 94 | |
| | 95 | |
| | 96 | |
| | 97 | /misc_obj/XML-Parser-2.36> make test |
| | 98 | |
| | 99 | {{{ |
| | 100 | make[1]: Entering directory `/misc_obj/XML-Parser-2.36/Expat' |
| | 101 | make[1]: Leaving directory `/misc_obj/XML-Parser-2.36/Expat' |
| | 102 | /boot/common/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t |
| | 103 | t/astress.........ok |
| | 104 | t/cdata...........ok |
| | 105 | t/decl............ok |
| | 106 | t/defaulted.......ok |
| | 107 | t/encoding........ok |
| | 108 | t/external_ent....Couldn't load LWP based external entity handler |
| | 109 | Switching to file-based external entity handler |
| | 110 | (To avoid this message, use NoLWP option to XML::Parser) |
| | 111 | t/external_ent....ok |
| | 112 | t/file............ok |
| | 113 | t/finish..........ok |
| | 114 | t/namespaces......ok |
| | 115 | t/parament........Couldn't load LWP based external entity handler |
| | 116 | Switching to file-based external entity handler |
| | 117 | (To avoid this message, use NoLWP option to XML::Parser) |
| | 118 | t/parament........ok |
| | 119 | t/partial.........ok |
| | 120 | t/skip............ok |
| | 121 | t/stream..........ok |
| | 122 | t/styles..........ok |
| | 123 | All tests successful. |
| | 124 | Files=14, Tests=130, 1 wallclock secs ( 0.91 cusr + 0.36 csys = 1.28 CPU) |
| | 125 | /misc_obj/XML-Parser-2.36> |
| | 126 | }}} |
| | 127 | |
| | 128 | |
| | 129 | |
| | 130 | So, this indicates a problem with Haiku's perl port. right? |