denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] guile 2.0 support


From: Jeremiah Benham
Subject: Re: [Denemo-devel] guile 2.0 support
Date: Mon, 25 Feb 2013 22:04:43 -0600

It all compiles now. I get several warnings about possible unbound variables. I am see that several scripts have this in them:
  (if (not (defined? 'ToggleTripleting::InsideTriplet))
    (define ToggleTripleting::InsideTriplet #t))
They are giving an error like this:
  #f definition in _expression_ context, where definitions are not allowed, ((line . 2) (column . 4) (filename . #f)) (define ToggleTripleting::InsideTriplet #t) #f)

Other than that, everything seems to be working well. I will do some more testing.

Jeremiah

On Mon, Feb 25, 2013 at 2:18 PM, Richard Shann <address@hidden> wrote:
I have fixed denemo-modules/scheme.scm for guile 2.0 compatibility,
I haven't been able to check it though - there may be problems with
other modules. Basically anything that would not execute at run time
will cause 2.0 to barf when it tries to compile it. Such things can be
deleted of course as they can't be in use.

Richard

On Sat, 2013-02-23 at 18:29 -0600, Jeremiah Benham wrote:
>
>
> On Sat, Feb 23, 2013 at 3:44 PM, Richard Shann
> <address@hidden> wrote:
>         On Sat, 2013-02-23 at 14:27 -0600, Jeremiah Benham wrote:
>         > This seems to be working now. I still get this error
>         >
>         > (#f unexpected syntax #f () #f)
>         >
>         > Otherwise denemo seems to be running fine. I think before I
>         did not
>         > give it enough time for the modules to compile or something.
>         Shall I
>         > push this commit to git?
>
>
>         I think there will be at least some - perhaps many - commands
>         not
>         working. Test instrument name and editing the instrument name
>         once it is
>         set. These depend on denemo.scm parsing correctly, and I think
>         if
>         denemo-modules/scheme.scm fails to parse the rest of the code
>         is
>         abandoned.
> I clicked on the instrument name button and renamed it successfully. I
> got this when I hit the tab key to insert a triplet even though
> triplets are working via Notes/Rests->Tuplets->insert triplet:
>
> ** (denemo:27357): WARNING **:
> The tag is
>
> syntax-error
>
>
>
>
>         But if the option to use guile-2.0 is just that - an option -
>         then it
>         could go into git I guess...
>
> After I installed guile-2.0, denemo could no longer find my
> guile-1.8.pc. I checked with find and it was indeed gone. I think this
> is a fault in the packaging. I read in the guile manual that these are
> kind of "slotted" to where they are designed to allow installation of
> a multitude of versions. pkg-config provides the CFLAGS and LIBS of
> 1.6, 1.8, or 2,0 based on the guile-2.0.pc file. I am using ubuntu
> 12.04 and I still see guile-1.6 in the repositories. There is an
> environment variable I can set and guile will list all depreciated
> code. I will check into that.
>
> Jeremiah
>
>
>         Richard
>
>
>




reply via email to

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