Richard Kelsey | 9 Sep 1996 22:55
Picon

Scheme 48 version 0.45 available


Scheme 48 version 0.45 is available as

  ftp://ftp.nj.nec.com/pub/kelsey/scheme48-0.45.tgz

This is an alpha release.  There are likely to be problems, especially with
portability.  Please report bugs to scheme-48-bugs <at> martigny.ai.mit.edu, and
include the version number in your message.

The main difference between 0.45 and 0.36, the last version that was
widely distributed, are:

  - The thread system now uses a version of engines.
  - Threads are built into the usual image.
  - The OS interface has been rewritten.
  - 0.45 includes the source code for the Pre-Scheme-to-C compiler.
    (A word of warning: the compiler is tempermental and buggy and
     is definitely not up to the quality of the rest of Scheme 48.)

Please read the file doc/news.txt for other differences.

                                    -Richard Kelsey

Bill Sommerfeld | 10 Sep 1996 19:06
Picon

compilation error in s48-0.45 on NetBSD/i386 1.2BETA

c/sysdep.h includes c/fake/sys-select.h, which includes <sys/select.h>
if HAVE_SYS_SELECT_H is defined.

On NetBSD, you need to include <sys/types.h> before you can include
<sys/select.h>.

c/unix/socket.c does not include any header which drags in sys/types.h
before including sysdep.h

The enclosed change allows the file to compile.

Note that on NetBSD, <sys/select.h> doesn't contain any definitions
useful to user-space code; it would probably be better to avoid
including it.

				- Bill

*** socket.c~	Mon Aug  5 17:36:21 1996
--- socket.c	Tue Sep 10 13:02:25 1996
***************
*** 9,14 ****
--- 9,16 ----
   * to each according to their need.  I have what I need.
   * I don't need a copyright.
   */
+ #include <stdlib.h>
+ #include <unistd.h>
  #include "sysdep.h"

  #if defined(HAVE_SOCKET)
(Continue reading)

Picon

Re: compilation error in s48-0.45 on NetBSD/i386 1.2BETA

>>>>> "Bill" == Bill Sommerfeld <sommerfeld <at> orchard.medford.ma.us> writes:

Bill> c/sysdep.h includes c/fake/sys-select.h, which includes <sys/select.h>
Bill> if HAVE_SYS_SELECT_H is defined.

Bill> On NetBSD, you need to include <sys/types.h> before you can include
Bill> <sys/select.h>.

Wow, that seems like bad practice to me.

Bill> c/unix/socket.c does not include any header which drags in sys/types.h
Bill> before including sysdep.h

Bill> The enclosed change allows the file to compile.

Bill> Note that on NetBSD, <sys/select.h> doesn't contain any definitions
Bill> useful to user-space code; it would probably be better to avoid
Bill> including it.

On AIX, it does, unfortunately.  Is there anything harmful in it?

Cheers =8-} Mike

Bill Sommerfeld | 11 Sep 1996 16:39
Picon

Re: compilation error in s48-0.45 on NetBSD/i386 1.2BETA

> Bill> On NetBSD, you need to include <sys/types.h> before you can include
> Bill> <sys/select.h>.
> 
> Wow, that seems like bad practice to me.

Tradition.  Flames to /dev/null.

On many/most UNIX systems I've ever used, I've needed to include
<sys/types.h> before including *any* of the kernel-interface include
files (<sys/*.h>)

						- Bill

Picon

Re: compilation error in s48-0.45 on NetBSD/i386 1.2BETA

>>>>> "Bill" == Bill Sommerfeld <sommerfeld <at> orchard.medford.ma.us> writes:

Bill> On NetBSD, you need to include <sys/types.h> before you can include
Bill> <sys/select.h>.
>> 
>> Wow, that seems like bad practice to me.

Bill> Tradition.  Flames to /dev/null.

Bill> On many/most UNIX systems I've ever used, I've needed to include
Bill> <sys/types.h> before including *any* of the kernel-interface include
Bill> files (<sys/*.h>)

In that case, it's my fault --- I asked Richard to put <sys/select.h>
in there for AIX portability.  I guess c/fake/sys-select.h should have
an #include <sys/types.h> then, possibly conditionalized on the
existence of <sys/types.h> in configure.in.

Cheers =8-} Mike

Henry Cejtin | 12 Sep 1996 08:55
Picon

Re: compilation error in s48-0.45 on NetBSD/i386 1.2BETA

Yes, that is the fix that I put in.

faried nawaz | 12 Sep 1996 12:19

Re: Scheme 48 version 0.45 available

Richard Kelsey wrote...

   This is an alpha release.  There are likely to be problems, especially with
   portability.  Please report bugs to scheme-48-bugs <at> martigny.ai.mit.edu, and
   include the version number in your message.

It built fine (except for the sys/types.h problem for sys/select.h) on
FreeBSD 2.1.5.

Jonathan Rees | 13 Sep 1996 23:16
Picon
Picon

Re: Scheme 48 version 0.45 available

   Date: Thu, 12 Sep 1996 03:19:44 PDT
   From: faried nawaz <nawaz921 <at> cs.uidaho.edu>

   Richard Kelsey wrote...

      This is an alpha release.  There are likely to be problems,
      especially with portability.  Please report bugs to
      scheme-48-bugs <at> martigny.ai.mit.edu, and include the version
      number in your message.

   It built fine (except for the sys/types.h problem for sys/select.h) on
   FreeBSD 2.1.5.

Yes, it built fine on an HP/Apollo 700 as well, once I gave up on HP's
C compiler and used gcc.  (Some problem with fixed or limited table
sizes in the compiler.)

Jonathan

Mark Kruger | 27 Sep 1996 21:36
Picon

make check failure on 0.44

I am running into an error during make check while installing kali-0.44.  The
error mesage:

<prior messages removed>
>
>[sicp
>
>Calls will be compiled in line: (really-make-placeholder placeholder-id placeholder-real-value
set-placeholder-value! placeholder-queue set-placeholder-queue!)
>scheme/misc/sicp.scm ]
>
>Error: exception
>       wrong-type-argument
>       (checked-record-ref #f '#{Proxy 0 24} 1)
>*** Error code 1 (bu21)

Am I missing something obvious?  Any help would be appreciated.  This error
message appears after compiling with gcc version 2.6.3 on a sunos 4.1.3 box, 
2.7.2 on a irix5.3 box, and gcc 2.7.2 on a hpux10.01.


Gmane