unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Rob Browning <rlb@defaultvalue.org>
Cc: guile-devel@gnu.org
Subject: Re: Guile on Mac OS X
Date: Mon, 05 Aug 2002 10:53:27 -0500	[thread overview]
Message-ID: <874re9xpxk.fsf@raven.i.defaultvalue.org> (raw)
In-Reply-To: <39EBF59A-A847-11D6-912C-0030654C1AB6@lurchi.franken.de> (Michael Tuexen's message of "Mon, 5 Aug 2002 09:44:52 +0200")

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> 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 <unistd.h>
       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


  reply	other threads:[~2002-08-05 15:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87znw2xy71.fsf@raven.i.defaultvalue.org>
2002-08-04 18:59 ` Guile on Mac OS X Michael Tuexen
2002-08-05  5:24   ` Rob Browning
2002-08-05  7:44     ` Michael Tuexen
2002-08-05 15:53       ` Rob Browning [this message]
2002-08-05 16:37         ` Michael Tuexen
2002-08-05 18:23           ` Rob Browning
2002-08-05 22:03             ` Michael Tuexen
2002-08-04 12:34 Michael Tuexen
2002-08-04 18:21 ` Rob Browning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874re9xpxk.fsf@raven.i.defaultvalue.org \
    --to=rlb@defaultvalue.org \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).