Picon

Re: new release

>>>>> "Richard" == Richard A Kelsey <kelsey <at> mumble.net> writes:

Richard> Scheme 48 version 0.56 is now available at s48.org.  0.56 has fixes
Richard> for some recently-reported bugs:

Richard>    - Added scheme/posix to the list of directories that get installed.

Unfortunately, that part doesn't work yet.  Here's what's missing.

*** Makefile.in~	Mon May 28 17:15:14 2001
--- Makefile.in	Fri Jun  1 09:01:57 2001
***************
*** 278,284 ****
  		echo "$(LIB) not a writable directory" >&2;		 \
  		exit 1;							 \
  	}
! 	for dir in rts env big opt misc link; do			  \
  		{ mkdir -p $(LIB)/$$dir && [ -w $(LIB)/$$dir ]; } || {	  \
  			echo "$(LIB)/$$dir not a writable directory" >&2; \
  			exit 1;						  \
--- 278,284 ----
  		echo "$(LIB) not a writable directory" >&2;		 \
  		exit 1;							 \
  	}
! 	for dir in rts env big opt misc link posix; do			  \
  		{ mkdir -p $(LIB)/$$dir && [ -w $(LIB)/$$dir ]; } || {	  \
  			echo "$(LIB)/$$dir not a writable directory" >&2; \
  			exit 1;						  \
(Continue reading)

kelsey | 1 Jun 2001 11:40
Favicon

Re: new release

   From: sperber <at> informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
   Date: 01 Jun 2001 09:03:06 +0200

   Richard> Scheme 48 version 0.56 is now available at s48.org.  0.56 has fixes
   Richard> for some recently-reported bugs:

   Richard>    - Added scheme/posix to the list of directories that get installed.

   Unfortunately, that part doesn't work yet.  Here's what's missing.

   [...]

Yes.  This was pointed out to me shortly after I sent out the
notices and I quickly fixed it, hoping that I was quick enough
to avoid too many downloads of the bad version.

                                   -Richard

Benjamin Collar | 1 Jun 2001 22:27
Picon

two compile bugs found

Howdy

I'm cross compiling scheme48 0.56 for the Agenda VR3 PDA--runs Linux-vr. I
ran into a couple of problems getting it to compile.

1) using CONFIG_SITE=../agenda-config.site ./configure for some reason
some rather important CFLAGS and LDFLAGS weren't being picked up. 

CFLAGS needs "-s -mips2 -O2 -fno-exceptions"
LDFLAGS needs "-s -mips2"

It WAS picking up, however, -msoft-float for both these variables. I don't
know why it would use some of the CFLAGS line in my config.site but not
others...

2) During make lines 255 and 256 of c/scheme48.h redefine the symbols from
lines 222 and 223. Manually remove these and things compile fine.

Ben

Eric Knauel | 8 Jun 2001 17:15
Picon

socklen_t and MacOS X 10.0.3/Darwin PPC 1.3.3


Hi,

building scheme48 0.56 on MacOS X 10.0.3 works fine except for
c/unix/socket.c since MacOS X does not seem to know
socklen_t. 

./configure reports that it could not find socklen_t. doc/news.txt
states that socklen_t will be defined automatically then. Somehow this
doesn't seem to work on OS X. I attached the config.log and
config.status generated, I hope this is the information you need.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:604: cc -E conftest.c
configure:682: cc -o conftest -O2   conftest.c  1>&5
configure:703: cc -o conftest -O2   conftest.c  1>&5
configure:827: cc -o conftest -O2   conftest.c -lm   1>&5
configure:867: cc -o conftest -O2   conftest.c -ldl  -lm  1>&5
configure:907: cc -o conftest -O2   conftest.c -lmld  -ldl -lm  1>&5
/usr/bin/ld: can't locate file for: -lmld
configure:947: cc -o conftest -O2   conftest.c -lnsl  -ldl -lm  1>&5
/usr/bin/ld: can't locate file for: -lnsl
configure:987: cc -o conftest -O2   conftest.c -lgen  -ldl -lm  1>&5
/usr/bin/ld: can't locate file for: -lgen
configure:1027: cc -o conftest -O2   conftest.c -lsocket  -ldl -lm  1>&5
/usr/bin/ld: can't locate file for: -lsocket
(Continue reading)

Martin Gasbichler | 8 Jun 2001 19:08
Picon

Re: socklen_t and MacOS X 10.0.3/Darwin PPC 1.3.3

>>>>> "Eric" == Eric Knauel <eric <at> macnews.de> writes:

Eric> Hi,

Eric> building scheme48 0.56 on MacOS X 10.0.3 works fine except for
Eric> c/unix/socket.c since MacOS X does not seem to know
Eric> socklen_t. 

Eric> ./configure reports that it could not find socklen_t. doc/news.txt

I can't reproduce that: my configure is silent about socklen_t.

Eric> states that socklen_t will be defined automatically then. Somehow this
Eric> doesn't seem to work on OS X. I attached the config.log and
Eric> config.status generated, I hope this is the information you need.

Obviously, the wrong version of c/sysdep.h.in made it into the
distribution. Remove c/sysdep.h.in and run autoheader to regenerate
it. Afterwards run ./configure to generate the proper c/sysdep.h.

--

-- 
Martin

Eric Knauel | 8 Jun 2001 19:39
Picon

Re: socklen_t and MacOS X 10.0.3/Darwin PPC 1.3.3


Hi Martin,

Martin Gasbichler <gasbichl <at> informatik.uni-tuebingen.de> writes:

>Eric> ./configure reports that it could not find socklen_t. doc/news.txt
> I can't reproduce that: my configure is silent about socklen_t.

Sorry, I was not precise enough, configure said: "checking for
socklen_t... no" 

>Eric> states that socklen_t will be defined automatically
>Eric> then. Somehow this doesn't seem to work on OS X. I attached the
>Eric> config.log and config.status generated, I hope this is the
>Eric> information you need.
> Obviously, the wrong version of c/sysdep.h.in made it into the
> distribution. Remove c/sysdep.h.in and run autoheader to regenerate
> it. Afterwards run ./configure to generate the proper c/sysdep.h.

I had to run autoconf in addition. Now it works fine, thank you!

Ciao,
    Eric
--

-- 
"Excuse me --- Di Du Du Duuuuh Di Dii --- Huh Weeeheeee" (Albert King)

Picon

Resumers are broken in 0.56


... because of an off-by-one error.  Here's a patch:

Index: scheme/vm/image-gc.scm
===================================================================
RCS file: /afs/informatik.uni-tuebingen.de/pu/cvs/s48/scheme/vm/image-gc.scm,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 image-gc.scm
--- image-gc.scm	2001/05/07 06:34:45	1.1.1.2
+++ image-gc.scm	2001/06/22 15:36:55
 <at>  <at>  -225,44 +225,43  <at>  <at> 

 (define (find-resumer-records)
   (let ((start-hp *hp*))
-    (store! *hp* 0)			; reserve space for header
-    (if (scan-for-resumer-records)
+    (set! *hp* (address1+ *hp*))	; reserve space for header
+    (if (scan-for-resumer-records start-hp)
 	(let ((size (address-difference *hp* (address1+ start-hp))))
 	  (store! start-hp (make-header (enum stob vector) size))
 	  (address->stob-descriptor (address1+ start-hp)))
 	(begin
-	 (set! *hp* start-hp) ; out of space, so undo and give up
-	 false))))
+	  (set! *hp* start-hp)		; out of space, so undo and give up
+	  false))))

-(define (scan-for-resumer-records)
(Continue reading)

RT Happe | 25 Jun 2001 20:45
Picon
Favicon

srfi

S48 0.56:  the Makefile forgets about srfi.

rthappe

Picon

Does Scheme 48 Dream of Electric Sheep?


Just logging a bug ...

This code in scheme/prim.scm ...

; The largest number of seconds that can be converted into a fixnum number
; of milliseconds.

(define maximum-seconds (quotient (- greatest-fixnum-value 1000) 1000))

... effectively means that a Scheme 48 process runs into trouble after
it has run for about six days.  This just happened to our spanking new
multithreaded ftp server.

--

-- 
Cheers =8-} Mike [the Scheme Blader]
Friede, Völkerverständigung und überhaupt blabla


Gmane