From owner-freebsd-perl@FreeBSD.ORG Thu Apr 15 10:22:24 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CA9716A4CE for ; Thu, 15 Apr 2004 10:22:24 -0700 (PDT) Received: from mail04.stbernard.com (mail04.stbernard.com [199.245.188.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2C8743D1D for ; Thu, 15 Apr 2004 10:22:23 -0700 (PDT) (envelope-from khall@stbernard.com) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Thu, 15 Apr 2004 10:22:20 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Math::TrulyRandom not working in FreeBSD 5.2.1 Thread-Index: AcQjDjWR161G9oO+TIyFxcxwjwBTAA== From: "Kelly Hall" To: Subject: Math::TrulyRandom not working in FreeBSD 5.2.1 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 17:22:24 -0000 The module Math::TrulyRandom is not working in FreeBSD 5.2.1. I = installed perl 5.6.1 via ports, and installed Math::TrulyRandom via = CPAN. "make test" hangs forever. A solution is to add the statement: return 0; as the last line of the function tick() in the file truerand.c. I can only guess that GCC is having issues? GENERIC 5.2.1 kernel, stock perl 5.6.1 and stock gcc 3.3.3. Kelly -bash-2.05b$ uname -a FreeBSD puma.rapid.stbernard.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 -bash-2.05b$ perl -version This is perl, v5.6.1 built for i386-freebsd -bash-2.05b$ gcc --version gcc (GCC) 3.3.3 [FreeBSD] 20031106