Re: [Chicken-users] chicken-setup in the hygienic branch

2008-08-27 Thread Mario Domenech Goulart
On Wed, 27 Aug 2008 19:36:36 +0200 Peter Bex <[EMAIL PROTECTED]> wrote:

> On Wed, Aug 27, 2008 at 07:05:35PM +0200, Tobia Conforto wrote:
> > I cannot get it to work:
> > 
> > $ chicken-setup.hy utf8
> > Error: unbound variable: ##sys#register-macro-2
> > 
> > That's the only line of output.
> > Exit code = 70
> > 
> > What am I missing?
> 
> You must recompile. First you compile Chicken 4 with your
> old Chicken 3, but then you need to make clean and compile
> Chicken 4 with Chicken 4 again.

Or "make bootstrap" before "make"?

Best wishes.
Mario


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


Re: [Chicken-users] chicken-setup in the hygienic branch

2008-08-27 Thread Tobia Conforto

Peter Bex wrote:

Tobia Conforto wrote:

I cannot get it to work:

$ chicken-setup.hy utf8
Error: unbound variable: ##sys#register-macro-2


You must recompile. First you compile Chicken 4 with your old  
Chicken 3, but then you need to make clean and compile Chicken 4  
with Chicken 4 again.


Thank you.  This worked in the end, but I had to replace the make  
clean step with make distclean, otherwise it wouldn't pick up the new  
Chicken compiler I was giving it on the commandline.



Tobia


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


Re: [Chicken-users] chicken-setup in the hygienic branch

2008-08-27 Thread Peter Bex
On Wed, Aug 27, 2008 at 07:05:35PM +0200, Tobia Conforto wrote:
> I cannot get it to work:
> 
> $ chicken-setup.hy utf8
> Error: unbound variable: ##sys#register-macro-2
> 
> That's the only line of output.
> Exit code = 70
> 
> What am I missing?

You must recompile. First you compile Chicken 4 with your
old Chicken 3, but then you need to make clean and compile
Chicken 4 with Chicken 4 again.

This has something to do with the fact that the old macro hooks
system does not exist anymore, but chicken 3 generates code to match
its own version of libchicken, which does still have those macro hooks.
Felix can probably explain better ;)

HTH,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
-- Donald Knuth


pgpBnj70Zkalt.pgp
Description: PGP signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] chicken-setup in the hygienic branch

2008-08-27 Thread Tobia Conforto

I cannot get it to work:

$ make PLATFORM=macosx ARCH=x86-64 \
CHICKEN=/usr/local/bin/chicken \
PREFIX=/Users/toby/bin/hygienic-chicken \
PROGRAM_SUFFIX=.hy
(compilation ok)

$ make ... install
(installation ok)

$ csi.hy -n
(yase! it works)

$ chicken-setup.hy utf8
Error: unbound variable: ##sys#register-macro-2

That's the only line of output.
Exit code = 70

What am I missing?


Tobia


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