From owner-freebsd-ports Tue May 27 17:16:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA11126 for ports-outgoing; Tue, 27 May 1997 17:16:12 -0700 (PDT) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA11095; Tue, 27 May 1997 17:16:00 -0700 (PDT) Received: from cola112.scsn.net ([206.25.247.112]) by mail.scsn.net (Post.Office MTA v3.0 release 0121 ID# 0-32322U5000L100S10000) with ESMTP id AAA126; Tue, 27 May 1997 20:08:19 -0400 Received: (from root@localhost) by cola112.scsn.net (8.8.5/8.8.5) id UAA10457; Tue, 27 May 1997 20:15:30 -0400 (EDT) Message-ID: <19970527201529.08649@cola112.scsn.net> Date: Tue, 27 May 1997 20:15:29 -0400 From: "Donald J. Maddox" To: Satoshi Asami Cc: joerg@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: acm broken in -current? Reply-To: dmaddox@scsn.net References: <199705272211.PAA15176@silvia.HIP.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <199705272211.PAA15176@silvia.HIP.Berkeley.EDU>; from Satoshi Asami on Tue, May 27, 1997 at 03:11:59PM -0700 Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, May 27, 1997 at 03:11:59PM -0700, Satoshi Asami wrote: > This one is weird.... > > Satoshi > ------- > ===> Configuring for acm-4.7 > checking for ranlib > checking how to run the C preprocessor > checking for ANSI C header files > checking for stdlib.h > checking for malloc.h > checking for unistd.h > checking for elf.h > checking for return type of signal handlers > checking for X include and library files with xmkmf > checking for -laudio > checking for AuCloseServer > checking for ACloseAudio > checking for -lnsl > checking for -lsocket > checking for -ldnet_stub > checking for -lbsd > checking for -lm > checking for strdup > checking for gettimeofday > checking for setsid > checking for rand > checking for random > Hmm. Your system does not support either random() or rand(). > ACM needs one of the random number generators to operate. > *** Error code 1 Well, I can tell you that it's failing because: 1) The configure script looks for elf.h (we have it), and decides we are SVR4. 2) The configure script adds '-lelf' to the list of libraries to link with (we don't have it). 3) When the configure script tries to compile the test file that determines whether or not we have rand{om}, it fails because ld cannot find -lelf. I have no idea what the right fix is. Strangely, I find that if I execute 'configure' with `sh -x configure`, it succeeds(!)... What do you make of that? -- Donald J. Maddox (dmaddox@scsn.net)