develooper Front page | perl.libwww | Postings from March 2001

Re : HTML-Parser 'make test error

From:
sebap@rapcom.qc.ca
Date:
March 1, 2001 15:18
Subject:
Re : HTML-Parser 'make test error
Message ID:
S.0000033720@mail.netadvertizer.com


> "sebastien@plourde.qc.ca" <sebastien@plourde.qc.ca> writes:
> 
>> I have problem too for configure/install html-parser
>> I'm under macos X server
>> i ve got error 1
>>
>> <snip>
>> mkdir blib
>> mkdir blib/lib
>> mkdir blib/lib/HTML
>> mkdir blib/arch
>> mkdir blib/arch/auto
>> mkdir blib/arch/auto/HTML
>> mkdir blib/arch/auto/HTML/Parser
>> mkdir blib/lib/auto
>> mkdir blib/lib/auto/HTML
>> mkdir blib/lib/auto/HTML/Parser
>> mkdir blib/man3
>> cp Parser.pm blib/lib/HTML/Parser.pm
>> cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm
>> cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm
>> cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm
>> cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm
>> cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm
>> /usr/local/bin/perl -I/System/Library/Perl/rhapsody -I/System/Library/Perl
>> /System/Library/Perl/ExtUtils/xsubpp  -typemap
>> /System/Library/Perl/ExtUtils/typemap -typemap typemap Parser.xs >Parser.tc
>> && mv Parser.tc Parser.c
>> /usr/local/bin/perl mkhctype >hctype.h
>> /usr/local/bin/perl mkpfunc >pfunc.h
>> cc -c  -arch i386 -arch ppc -g -pipe -pipe -fno-common
>> -DHAS_TELLDIR_PROTOTYPE -O3    -DVERSION="3.17" -DXS_VERSION="3.17" -fpic
>> -I/System/Library/Frameworks/Perl.framework/Versions/5.005/Headers
>> -DMARKED_SECTION Parser.c
>> Running Mkbootstrap for HTML::Parser ()
>> chmod 644 Parser.bs
>> LD_RUN_PATH="" cc -o blib/arch/auto/HTML/Parser/Parser.bundle  -arch i386
>> -arch ppc  -bundle -undefined suppress Parser.o
>> /usr/bin/ld: for architecture i386
>> /usr/bin/ld: warning /lib/bundle1.o cputype (18, architecture ppc) does not
>> match cputype (7) for specified -arch flag: i386 (file not loaded)
>> /usr/bin/ld: warning /usr/lib/libcc_dynamic.a archive's cputype (18,
>> architecture ppc) does not match cputype (7) for specified -arch flag: i386
>> (can't load from it)
>> /usr/bin/ld: warning /System/Library/Frameworks/System.framework/System
>> cputype (18, architecture ppc) does not match cputype (7) for specified
>> -arch flag: i386 (file not loaded)
>> /usr/bin/ld: Parser.o has external relocation entries in non-writable
>> section (__TEXT,__picsymbol_stub) for symbols:
>> dyld_stub_binding_helper
>> make: *** [blib/arch/auto/HTML/Parser/Parser.bundle] Error 1
>>
>> <snip>
>
> I don't know, but I bet this is not really releated with HTML-Parser
> as such and that you will have the same problem with any XS module you
> try to build.
>

not all but the most important such as libwww and mime64

do you think it acces file probleme, i'm bit newbe for that. create app in
perl is not the same that maintain a server with perl. I prefer the first.


thanks


> Regards,
> Gisle



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About