From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Tuexen Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile on Mac OS X Date: Sun, 4 Aug 2002 20:59:53 +0200 Sender: guile-devel-admin@gnu.org Message-ID: <5C6B8E44-A7DC-11D6-900A-0030654C1AB6@lurchi.franken.de> References: <87znw2xy71.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 (Apple Message framework v543) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1028487627 11094 127.0.0.1 (4 Aug 2002 19:00:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 4 Aug 2002 19:00:27 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17bQc5-0002so-00 for ; Sun, 04 Aug 2002 21:00:26 +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 17bQch-0007rv-00; Sun, 04 Aug 2002 15:01:03 -0400 Original-Received: from ilsa.franken.de ([193.175.24.42]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bQbj-0007iH-00 for ; Sun, 04 Aug 2002 15:00:03 -0400 Original-Received: from Powerbook.local. (pD9E4F5BF.dip.t-dialin.net [217.228.245.191]) by ilsa.franken.de (Postfix) with ESMTP id 61638245C5 for ; Sun, 4 Aug 2002 21:00:01 +0200 (CEST) Original-To: guile-devel@gnu.org In-Reply-To: <87znw2xy71.fsf@raven.i.defaultvalue.org> X-Mailer: Apple Mail (2.543) 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:970 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:970 Rob, thank you for your response. I looked a bit into this. Maybe some can give me a hint... The output of the configure script is checking for crypt in -lcrypt... no checking for strptime declaration... yes checking for sleep declaration... no checking for usleep declaration... no But the declarations are there. See [Powerbook:~/guile-1.5.6] tuexen% grep strptime /usr/include/time.h char *strptime __P((const char *, const char *, struct tm *)); [Powerbook:~/guile-1.5.6] tuexen% grep sleep /usr/include/unistd.h unsigned int sleep __P((unsigned int)); int usleep __P((unsigned int)); [Powerbook:~/guile-1.5.6] tuexen% grep usleep /usr/include/unistd.h int usleep __P((unsigned int)); [Powerbook:~/guile-1.5.6] tuexen% The config.log gives no read help: configure:10836: result: no configure:10855: checking for strptime declaration configure:10875: result: yes configure:10884: checking for sleep declaration configure:10904: result: no configure:10913: checking for usleep declaration configure:10933: result: no The code in the configure.in is the following ### Some systems don't declare some functions. On such systems, we ### need to at least provide our own K&R-style declarations. ### GUILE_FUNC_DECLARED(function, headerfile) ### Check for a declaration of FUNCTION in HEADERFILE; if it is ### not there, #define MISSING_FUNCTION_DECL. AC_DEFUN(GUILE_FUNC_DECLARED, [ AC_CACHE_CHECK(for $1 declaration, guile_cv_func_$1_declared, AC_EGREP_HEADER($1, $2, guile_cv_func_$1_declared=yes, guile_cv_func_$1_declared=no)) if test [x$guile_cv_func_]$1[_declared] = xno; then AC_DEFINE([MISSING_]translit($1, [a-z], [A-Z])[_DECL]) fi ]) GUILE_FUNC_DECLARED(strptime, time.h) GUILE_FUNC_DECLARED(sleep, unistd.h) GUILE_FUNC_DECLARED(usleep, unistd.h) Any help is welcome. Best regards Michael On Sonntag, Aug 4, 2002, at 20:42 Europe/Berlin, Rob Browning wrote: > Michael Tuexen writes: > >> see my comments below. > > Thanks. I'll look at this in a bit. BTW, in general, if you don't > mind, it might be better to send info like this to the list -- that > way if I drop the ball (get too busy or whatever), someone else will > be able to fix the problem. > > No big deal either way. > > -- > 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 > > -- Michael.Tuexen@micmac.franken.de _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel