From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile on Mac OS X Date: Mon, 05 Aug 2002 10:53:27 -0500 Sender: guile-devel-admin@gnu.org Message-ID: <874re9xpxk.fsf@raven.i.defaultvalue.org> References: <39EBF59A-A847-11D6-912C-0030654C1AB6@lurchi.franken.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028562816 31222 127.0.0.1 (5 Aug 2002 15:53:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2002 15:53:36 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17bkAi-000875-00 for ; Mon, 05 Aug 2002 17:53:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bkBI-0008Ib-00; Mon, 05 Aug 2002 11:54:04 -0400 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bkAh-0008F6-00 for ; Mon, 05 Aug 2002 11:53:28 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 2C9B117EA; Mon, 5 Aug 2002 10:53:27 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 1FE7BDD6; Mon, 5 Aug 2002 10:53:27 -0500 (CDT) Original-To: Michael Tuexen In-Reply-To: <39EBF59A-A847-11D6-912C-0030654C1AB6@lurchi.franken.de> (Michael Tuexen's message of "Mon, 5 Aug 2002 09:44:52 +0200") Original-Lines: 43 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:981 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:981 Michael Tuexen writes: >>> GUILE_FUNC_DECLARED(strptime, time.h) >>> GUILE_FUNC_DECLARED(sleep, unistd.h) >>> GUILE_FUNC_DECLARED(usleep, unistd.h) >> >> Looks like usleep and sleep are in unistd.h on (most?) platforms, but >> on yours they're in time.h. >> > No, see the the following output (from an earlier e-mail): OK. What happens if you: 1) create a tiny C file containing #include int main(int argc, char *argv[]) { sleep(1); return 0; } and try to compile it with "gcc -Wall myfile.c"? 2) Put an AC_EGREP_HEADER([sleep], [unistd.h]) followed by an "exit 1" into your configure.in and then re-run autoconf, and then re-run configure? After the exit, is there anything useful in the log? (may not be). 3) examine the configure script itself -- find the sleep or usleep test and see what it's doing. Stick an "exit 1" or some echoes in there somewhere useful (if possible) so you can see what's going on. I believe if you want to see the output of an echo, you will need to redirect it to fd 5 like this: echo "Howdy!" >&5 This may allow you to see what gcc command it's running, and the contents of the relevant source file. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel