[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Etch e perl CPAN



On Sunday 18 March 2007 19:51, Gianluca wrote:
> Salve a tutti,
> 	su una Debian Etch non riesco ad installare i seguenti moduli perl:

Perchè non provi ad installarli dall'Archivio? molti moduli sono già 
pacchettizzati:

> Net::DNS
libnet-dns-perl
> Digest::SHA1
libdigest-sha1-perl 
> Digest::Nilsimsa
questa manca
> Bit::Vector
libbit-vector-perl
> Date::Calc
libdate-calc-perl
> Unix::Syslog
libunix-syslog-perl
> Convert::UUlib
libconvert-uulib-perl
> Time::HiRes
questo dovrebbe essere fornito da perl stesso


> Dalla consolle cpan (perl -MCPAN -e shell).
>
> Gli errori sono sulle librerie (penso).
> Questo è parte dell'output del comando "install Digest::SHA1":
>
> ...
> /usr/lib/perl/5.8/CORE/perlvars.h:31: error: expected ?=?, ?,?, ?;?,
> ?asm? or ?__attribute__? before ?*? token
> /usr/lib/perl/5.8/CORE/perlvars.h:48: error: expected ?=?, ?,?, ?;?,
> ?asm? or ?__attribute__? before ?*? token
> /usr/lib/perl/5.8/CORE/perlvars.h:52: error: expected ?=?, ?,?, ?;?,
> ?asm? or ?__attribute__? before ?*? token
> SHA1.xs: In function ?sha_update?:
> SHA1.xs:291: warning: incompatible implicit declaration of built-in
> function ?memcpy?
> SHA1.xs:302: warning: incompatible implicit declaration of built-in
> function ?memcpy?
> SHA1.xs:307: warning: incompatible implicit declaration of built-in
> function ?memcpy?
> SHA1.xs: In function ?sha_final?:
> SHA1.xs:348: warning: incompatible implicit declaration of built-in
> function ?memset?
> SHA1.xs:352: warning: incompatible implicit declaration of built-in
> function ?memset?
> SHA1.xs: In function ?XS_Digest__SHA1_clone?:
> SHA1.xs:495: warning: incompatible implicit declaration of built-in
> function ?memcpy?
> SHA1.xs: In function ?XS_Digest__SHA1_sha1_transform?:
> SHA1.xs:617: warning: incompatible implicit declaration of built-in
> function ?memset?
> SHA1.xs:619: warning: incompatible implicit declaration of built-in
> function ?memcpy?
> make: *** [SHA1.o] Error 1
>   /usr/bin/make -j3 -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible
>
> Da cosa dipende? Per altri moduli non ho avuto problemi.

no idea in effetti, dovresti postare un log un po' più accurato, tipo cosa fa 
prima di dare errore?

> Gianluca
>
> --
> echo aculnaiG | awk 'BEGIN { FS = "" }
> { for (i = NF; i >= 1; i-- )
>   printf $i }'; echo

-- 
:wq



Reply to: