2011/3/27 marcomaggi <mrc...@gmail.com>:
> With current checkout of master branch I get:
>
> $ ./gen-git-build.sh
> Condition components:
> 1. &who who: ascii-tab
Current master branch requires correct SRFI library installed.
If you've just "git pull" for updating tree, please do a fresh checkout
(i.e. "git clone") and remove your psyntax-mosh cache (~/.mosh).
SRFI-19 was broken at this commit
https://github.com/higepon/mosh/commit/faaf0119e0d616f4c908166613cd840b90e42e65#diff-2
and if you installed this particular revision, please uninstall this first.
Alternatively, pre-bootstrapped tarball is always available at
http://storage.osdev.info/pub/mosh/mosh-current.tar.gz
but this may slightly old from higepon/master (it is based on my
release branch at
https://github.com/okuoku/mosh
).
Would you mind trying with nmosh? Likewise:
nmosh --loadpath=lib misc/scripts/gen-alias-libs.sps
nmosh --loadpath=lib misc/scripts/gen-nmosh-stubs.sps
nmosh --loadpath=lib misc/scripts/gen-corelibmk.sps
I think this would work. If not, you might have another SRFI collection
in your MOSH_LOADPATH environment variable(or a new bug have found :-P).
> If I ignore the
> error and let it go on, I get en error because "svn" cannot be
> executed on my system: tracking Mosh development is becoming
> difficult...
Mosh bootstrapping relies googlecode's subversion service and
its availability is quite low today... This is why I had decided keep updating
mosh-current.tar.gz.
> Anyway, the true problem I have is that I get the following error when
> precompiling my libraries or running the tests with a clean .mosh
> cache:
- snip -
> --- Compiling for Mosh Scheme
> test -f ../src/libraries/compile-all.mosh.sps && MOSH_LOADPATH=./
> fasl.d:/usr/local/lib/scheme /usr/local/bin/mosh --verbose ../src/
> libraries/compile-all.mosh.sps
> Condition components:
> 1. &error
> 2. &who who: compiler
> 3. &message message: "[internal error] iform-count-size-upto:
> unknown iform tag:16"
> 4. &irritants irritants: ()
> error error in raise: returned from non-continuable exception
It seems you've hit some mosh's VM bytecode compiler bug.
> The code does not work with Vicare/Ikarus either, or, more precisely:
> running it without precompiling works, running it after precompilation
> of libraries fails because the property value is not created correctly
> at expand time. It seems to me that Vicare fails for a different
> problem.
R6RS does't guarantee the same object accessible between expand-phase
and run-phase.
I think we need some additional API for controlling this behavior.
(e.g. Guarantee to preserve SRFI-39 parameter object values between phases.)
I think it's psyntax-mosh specific and Higepon might know about it
more than me..
> Should I focus on libraries import
> levels?
No. Probably.
Would you mind if i port your library into nmosh? I know porting
libraries into explicit-phasing R6RS
might lose some code readability and there is only 2 or 3
explicit-phasing R6RS implementation(nmosh, Larceny, Gambit-R6RS)...
> Condition components:
> 1. &error
> 2. &who who: compiler
> 3. &message message: "[internal error] iform-count-size-upto:
Following commint may fix the problem.
https://github.com/higepon/mosh/commit/41be327a03254df681332fb3959cae5fa93cfbb2
Could you try git clone and build?
Cheers.
> --
> You received this message because you are subscribed to the Google Groups "Mosh Developer Disscus" group.
> To post to this group, send email to mosh-develo...@googlegroups.com.
> To unsubscribe from this group, send email to mosh-developer-di...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mosh-developer-discuss?hl=en.
>
>
Do you get the same error?
You need to start from git clone to be sure the compiler is rebuild.
Cheers.
make distclean
cd boot
make clean
make
cd ..
make
will force recompile the compiler.
Cheers.
Awesome. I'm going to add this into my nmosh testsuite.
Thanks!