2009-02-06 10:02:51 Compiling Perl..
Emanuele Italia (ITALY)
Message: 68994
Hello,
i'm tring to compile perl, but i found out this error:
v.c: In function ‘Perl_sv_utf8_decode’:
sv.c:2489: warning: unused variable ‘has_utf’
sv.c: In function ‘Perl_sv_setpvn’:
sv.c:2959: warning: unused variable ‘iv’
sv.c: In function ‘Perl_sv_magic’:
sv.c:3345: warning: suggest explicit braces to avoid ambiguous ‘else’
sv.c: In function ‘Perl_sv_unmagic’:
sv.c:3491: warning: suggest explicit braces to avoid ambiguous ‘else’
sv.c: In function ‘Perl_sv_gets’:
sv.c:4419: error: ‘FILE’ has no member named ‘_IO_read_end’
sv.c:4419: error: ‘FILE’ has no member named ‘_IO_read_ptr’
sv.c:4435: error: ‘FILE’ has no member named ‘_IO_read_ptr’
sv.c:4473: error: ‘FILE’ has no member named ‘_IO_read_ptr’
sv.c:4486: error: ‘FILE’ has no member named ‘_IO_read_end’
sv.c:4486: error: ‘FILE’ has no member named ‘_IO_read_ptr’
sv.c:4487: error: ‘FILE’ has no member named ‘_IO_read_ptr’
sv.c:4514: error: ‘FILE’ has no member named ‘_IO_read_ptr’
make[3]: *** [sv.o] Error 1
Any ideas?
Thanks in advance
Emanuele
TranslateQuoteReplyEditDelete
2009-02-06 11:56:38 Re: Compiling Perl..
Emanuele Italia (ITALY)
Message: 68996
I installed the "microperl" (http://rowetel.com/ucasterisk/ipkg/Packages) but it looks quite limited.
Do you have any suggestions how to compile a "normal" Perl?
Thanks
Emanuele
TranslateQuoteReplyEditDelete
2009-02-06 13:19:30 Re: Compiling Perl..
Mike Frysinger (UNITED STATES)
Message: 68999
microperl is the only thing that cross-compiles. if you want more (like the extended packages), you'll need to compile things yourself.
QuoteReplyEditDelete
2009-02-06 13:19:47 Re: Compiling Perl..
Mike Frysinger (UNITED STATES)
Message: 69000
it's broken in the branch and has been fixed in trunk already
QuoteReplyEditDelete
2009-02-09 04:50:36 Re: Compiling Perl..
Emanuele Italia (ITALY)
Message: 69077
It doesn't compile the Perl from trunk..but i just download the perl directory.
do i have to download all trunk tree?
Thanks in advance
Emanuele
TranslateQuoteReplyEditDelete
2009-02-09 11:55:23 Re: Compiling Perl..
Mike Frysinger (UNITED STATES)
Message: 69136
i imagine it'd work just dropping it into the 2008R1.5 release, but we've never tested it and doing that isnt supported, so if it breaks ...