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

Re: OT: perl Crypt::IDEA



shock wrote:
> 
> Sorry for the OT, but I haven't found anything relating to my problem.
> I'm trying to install the Crypt::IDEA perl module.  I've tried it with
> both perl -MCPAN -e shell and downloading the .tar.gz file.  Both end
> with the following:
> 
> cc -c  -DDEBIAN -fno-strict-aliasing -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.01\"
> -DXS_VERSION=\"1.01\" -fPIC -I/usr/lib/perl/5.6.1/CORE  IDEA.c
> IDEA.xs: In function `XS_Crypt__IDEA_crypt':
> IDEA.xs:66: `sv_undef' undeclared (first use in this function)
> IDEA.xs:66: (Each undeclared identifier is reported only once
> IDEA.xs:66: for each function it appears in.)
> make: *** [IDEA.o] Error 1
> 
> I have *no* idea what could be causing the problem (I'm quite
> unexperienced with Makefiles, etc.).  If anyone has any suggestions, I'd
> really appreciate it.
> 
> Thanks!

uhm, look in the module documentation and see if the module can work
with the perl version you have. the problem could be there.

however, after a quick grep trough the perl source, i think you can
replace 'sv_undef' with 'PL_sv_undef' to compile it.

hope it helps.

pietro.



Reply to: