Re: [Chicken-users] chicken 4.8.3 on MinGW

2014-04-02 Thread Claude Marinier

Hi,

I am happily using Chicken Scheme 4.8.3 on MS Windows 7 and Vista. The 
key is reading the README file and the helpful web page.


There is one problem: make check fails as follows. Note that I built from 
a Windows command prompt like this.


  mingw32-make PLATFORM=mingw PREFIX=C:/Chicken
  mingw32-make PLATFORM=mingw PREFIX=C:/Chicken install
  chicken-install numbers

All those work without error and I can compile and run my application.

I hope someone find this useful.


[ snip ]

 library tests ...

Error: assertion failed: (equal? -1.0 (numerator -5.562684646268e-309))

Call history:

syntax  (equal? -5.0 (numerator -1.25))
syntax  (numerator -1.25)
eval(equal? -5.0 (numerator -1.25))
eval(numerator -1.25)
syntax  (assert (equal? -1.0 (numerator 
-5.562684646268e-309)))
syntax  (##core#let ((tmp262 (equal? -1.0 (numerator 
-5.562684646268e-309 (##core#if (##core#check tmp26..
syntax  (##core#begin (##core#if (##core#check tmp262) tmp262 
(##sys#error assertion failed (##core#quote ...
syntax  (##core#if (##core#check tmp262) tmp262 (##sys#error 
assertion failed (##core#quote (equal? -1.0 (..
syntax  (##core#check tmp262)
syntax  (##sys#error assertion failed (##core#quote (equal? 
-1.0 (numerator -5.562684646268e-309
syntax  (##core#quote (equal? -1.0 (numerator 
-5.562684646268e-309)))
syntax  (equal? -1.0 (numerator -5.562684646268e-309))
syntax  (numerator -5.562684646268e-309)
eval(equal? -1.0 (numerator -5.562684646268e-309))
eval(numerator -5.562684646268e-309)
eval(##sys#error assertion failed (##core#quote (equal? -1.0 
(numerator -5.562684646268e-309--
.\rules.make:660: recipe for target 'check' failed
mingw32-make[1]: *** [check] Error 1
mingw32-make[1]: Leaving directory 
'C:/MinGW/msys/1.0/home/Claude/chicken-4.8.3'

GNUmakefile:54: recipe for target 'check' failed
mingw32-make: *** [check] Error 2

--
Claude Marinier

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Problem with deploy - executable complains it cannot load type-errors

2014-04-02 Thread Matt Welland
Thanks. Using the master fixed it!

Is there a way to specify both the directory name and the executable name
to be created when using -deploy?

Running:

csc -deploy histstore.scm -o target

will create target/target

which I then have to rename. While not a big deal if there is a better way
I'd like to know it.

Matt


On Tue, Apr 1, 2014 at 1:19 AM, Christian Kellermann ck...@pestilenz.orgwrote:

 * Christian Kellermann ck...@pestilenz.org [140401 10:16]:
  * Matt Welland estifo...@gmail.com [140401 08:17]:
   I have made a deployable exe (chicken 4.8.0.5, Ubuntu 32bit) but get
 the
   following when I try to run it:
  
   Error: (require) cannot load extension: type-errors
  
   Call history:
  
   histstore.scm:5: ##sys#require  --
  
   ==The Make Lines===
  
   histstore/histstore : histstore.scm ../margs/margs.scm
   chicken-install -p histstore  -deploy sqlite3 posix srfi-13 srfi-1
   utils format srfi-69 regex regex-literals
   csc histstore.scm -deploy
  
   ==The First Few Lines=
  
   (use sqlite3 posix srfi-13 srfi-1 regex format)
  
   (import (prefix sqlite3 sqlite3:))
  
   ;; (require-library margs)
   (include ../margs/margs.scm)
  
   ==
  
   Full code:
  
 http://www.kiatoa.com/cgi-bin/fossils/opensrc/doc/tip/histstore/histstore.scm
  
   What am I doing wrong?

 Sorry I did not have enough coffe, can you try master? This seems
 to be a bug I have fixed in it. As with older versions chicken-install
 -deploy will not install dependencies of the eggs you specify...

 Sorry for the noise,

 Christian

 --
 May you be peaceful, may you live in safety, may you be free from
 suffering, and may you live with ease.




-- 
Matt
-=-
90% of the nations wealth is held by 2% of the people. Bummer to be in the
majority...
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users