chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] srfi-29 on 4.1.7


From: David N Murray
Subject: Re: [Chicken-users] srfi-29 on 4.1.7
Date: Mon, 07 Sep 2009 13:40:50 -0400 (EDT)

On Sep 2, Kon Lovett scribed:

>
> I am working on srfi-19 but this will not be available until Fri.
>


Thanks Kon.

I tried to install srfi-19 and it requires type-errors:1.4.0.  Both
chicken.kitten-technologies.co.uk and galinha.ucpel.tche.br are reporting
Error: [Server] version not found: ("type-errors" "1.4.0")

If I try `chicken-install type-errors` both are reporting
Error: [Server] no such extension or version

I updated my copy of the svn repository, found check-errors, fixed
check-errors.setup to update the version and did a chicken-install from
check-errors/tags/1.4.0/ to resolve that.  Patch attached for
check-errors.setup

The next problem was that chicken-primitive-object-inlines.scm was missing
from the srfi-19 egg.  Going back to svn to build it, it wasn't there,
either.  I copied it from lookup-table/trunk/.

Next,

~/srfi-19/trunk# chicken-install
  /usr/local/bin/csc -feature compiling-extension   srfi-19-period.scm
-shared -optimize-level 2 -debug-level 1 -output-file srfi-19-period.so
-emit-import-library srfi-19-period -inline -local -no-procedure-checks
Syntax error (import): cannot import from undefined module

        srfi-19-core

        Expansion history:

        extras.import.scm: 27   ##sys#register-primitive-module
        <syntax>                (import scheme chicken)
        <syntax>                (##core#undefined)
        <syntax>                (import chicken scheme type-errors)
        <syntax>                (import scheme chicken (only
data-structures ->string conc))
        data-structures.import.scm: 27   ##sys#register-primitive-module
        <syntax>                (##core#undefined)
        <syntax>                (##core#undefined)      <--

This looks like srfi-19-core needs to be built before srfi-19-period.  I
fixed srfi-19.setup (patch attached).

chicken-install srfi-19/trunk finally works.

~/srfi-19/trunk/tests$ csi run.scm
[snip a bunch of loads]
; loading /usr/local/lib/chicken/4/locale-current.so ...

Error: (set-timezone-component!) bad argument type - not a std-offset:
273629200

        Call history:

        <syntax>                (import scheme chicken (only srfi-1
alist-cons) type-checks)
        <syntax>                (##core#undefined)
        <syntax>                (##core#undefined)
        <syntax>                (##core#undefined)
        <syntax>                (##core#undefined)
        <syntax>                (##core#undefined)
        <syntax>                (##core#undefined)
        <eval>          (##sys#require (quote srfi-19)) <--

I tried reinstalling locale from both the locale/tags/0.6.2 and
locale/tags/trunk directories, but I keep getting the same error.  I think
I'm out of my league at this point.

Thanks for uploading srfi-19, though.

Dave

Attachment: check-errors.diff
Description: Text document

Attachment: srfi-19.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]