installing a cpan module

E

Edo

Hello


I am trying to install Math::TrulyRandom and having problems

$ /bin/su
Password:
:/some/path/name# cd
:~# /usr/local/bin/perl -MCPAN -e 'install "Math::TrulyRandom"'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 02 Jan 2004 16:48:08 GMT
Running install for module Math::TrulyRandom
Running make for G/GA/GARY/Math-TrulyRandom-1.0.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for
/root/.cpan/sources/authors/id/G/GA/GARY/Math-TrulyRandom-1.0.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Math-TrulyRandom-1.0/
Math-TrulyRandom-1.0/typemap
Math-TrulyRandom-1.0/TrulyRandom.pod
Math-TrulyRandom-1.0/examples/
Math-TrulyRandom-1.0/examples/example_1.pl
Math-TrulyRandom-1.0/truerand.c
Math-TrulyRandom-1.0/MANIFEST
Math-TrulyRandom-1.0/Makefile.PL
Math-TrulyRandom-1.0/COPYRIGHT
Math-TrulyRandom-1.0/TrulyRandom.xs
Math-TrulyRandom-1.0/test.pl
Math-TrulyRandom-1.0/truerand.h
Math-TrulyRandom-1.0/TrulyRandom.pm
Math-TrulyRandom-1.0/README
Removing previously used /root/.cpan/build/Math-TrulyRandom-1.0

CPAN.pm: Going to build G/GA/GARY/Math-TrulyRandom-1.0.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Math::TrulyRandom
cp TrulyRandom.pod blib/lib/Math/TrulyRandom.pod
cp TrulyRandom.pm blib/lib/Math/TrulyRandom.pm
/usr/local/bin/perl5.8.2 /usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp
-typemap /usr/l
ocal/lib/perl5/5.8.2/ExtUtils/typemap -typemap typemap TrulyRandom.xs >
TrulyRandom
..xsc && mv TrulyRandom.xsc TrulyRandom.c
Please specify prototyping behavior for TrulyRandom.xs (see perlxs manual)
cc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET
_BITS=64 -O3 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fpic
"-I/usr/local/lib/perl5/
5.8.2/i686-linux/CORE" TrulyRandom.c
In file included from /usr/include/asm/sigcontext.h:4,
from /usr/include/bits/sigcontext.h:28,
from /usr/include/signal.h:326,
from
/usr/local/lib/perl5/5.8.2/i686-linux/CORE/unixish.h:107,
from
/usr/local/lib/perl5/5.8.2/i686-linux/CORE/perl.h:1969,
from TrulyRandom.xs:6:
/usr/include/linux/compiler.h:17: warning: `__attribute_used__' redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the
previous definiti
on
cc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET
_BITS=64 -O3 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fpic
"-I/usr/local/lib/perl5/
5.8.2/i686-linux/CORE" truerand.c
In file included from /usr/include/asm/sigcontext.h:4,
from /usr/include/bits/sigcontext.h:28,
from /usr/include/signal.h:326,
from truerand.c:41:
/usr/include/linux/compiler.h:17: warning: `__attribute_used__' redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the
previous definiti
on
Running Mkbootstrap for Math::TrulyRandom ()
chmod 644 TrulyRandom.bs
rm -f blib/arch/auto/Math/TrulyRandom/TrulyRandom.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib TrulyRandom.o truerand.o -o
blib/arch/a
uto/Math/TrulyRandom/TrulyRandom.so
chmod 755 blib/arch/auto/Math/TrulyRandom/TrulyRandom.so
cp TrulyRandom.bs blib/arch/auto/Math/TrulyRandom/TrulyRandom.bs
chmod 644 blib/arch/auto/Math/TrulyRandom/TrulyRandom.bs
Manifying blib/man3/Math::TrulyRandom.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.2 "-Iblib/lib" "-Iblib/arch"
test.pl
1
and stuck here... nothing else happening.


thank you
 
S

Sisyphus

Edo said:
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.2 "-Iblib/lib" "-Iblib/arch"
test.pl
1
and stuck here... nothing else happening.

Yes, I get the same - don't know why, and I'm not really motivated to
find out why. This module has not been updated since May 1996.

Will Crypt::Random not suit your purposes ?

Cheers,
Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top