[CM] snd pd external reports "Unbound variable: in" during startup
Kjetil S. Matheussen
k.s.matheussen at notam02.no
Mon Jul 21 09:08:26 PDT 2008
Okay, that's sounds much better.
First, change your definition of srfi-loaded into:
(define srfi-loaded #f)
And second change insert this definition of c-display:
(define (c-display . args)
(let ((printfunc display))
(c-for-each (lambda (n arg)
(if (> n 0)
(printfunc " "))
(printfunc arg))
args)
(printfunc #\newline)))
On Mon, 21 Jul 2008, Carlos Pita wrote:
> Kjetil, this is the summary I got from configure:
>
> Snd version .......... : 9.3
> CFLAGS ............... : -O2 -I. -g -O2
> -DSND_PD_PATH=\"/site/install/pd-extra.extended/snd-9\"
> LDFLAGS .............. : -Wl,-export-dynamic
> prefix.................: /usr/local
> extension language.....: Guile
> audio system...........: JACK
> graphics toolkit.......: None
> optional libraries.....: fftw gettext
> random features........: ladspa
> environs...............: i686-pc-linux-gnu gcc
>
> Notice that None is selected as graphics toolkit, as it should be.
> This time the build went fine, but I'm still getting errors at
> runtime.
>
> /site/install/pd-extra.extended/snd-9/rt-compiler.scm:47:5: While
> evaluating arguments to not in expression (not srfi-loaded):
> /site/install/pd-extra.extended/snd-9/rt-compiler.scm:47:5: Unbound
> variable: srfi-loaded
>
> So I defined srfi-loaded as 0 at the top of pd-global.scm. But now snd
> pd external complaints about:
>
> /site/install/pd-extra.extended/snd-9/oo.scm:182:15: In expression
> (gtk_events_pending):
> /site/install/pd-extra.extended/snd-9/oo.scm:182:15: Unbound variable:
> gtk_events_pending
>
> notice here the wrong (?) dependency on gtk. So I commented out the
> entire c-display function, but eval-c misses it:
>
> /site/install/pd-extra.extended/snd-9/eval-c.scm:1652:26: In
> expression (c-display "Deleting obsolete cached code " (cadddr
> eval-c-cached-code) ...):
> /site/install/pd-extra.extended/snd-9/eval-c.scm:1652:26: Unbound
> variable: c-display
>
> so here i'm kinda stuck again.
>
> -Carlos
>
>
>
> On Mon, Jul 21, 2008 at 12:44 PM, Kjetil S. Matheussen
> <k.s.matheussen at notam02.no> wrote:
> > On Mon, 21 Jul 2008, Carlos Pita wrote:
> >
> >>
> >> dpkg -l | grep jack
> >>
> >> ii jackd 0.109.2-1ubuntu1
> >> JACK Audio Connection Kit (server and exampl
> >
> > Oops, sorry, I didn't read your first message closely enough.
> > This is a linking problem in ubuntu. (ubuntu tends to do
> > things different than all other distributions)
> > This bug is fixed in snd-ls.
> >
> > Can you try this:
> >
> > wget http://old.notam02.no/arkiv/src/snd/snd-ls-0.9.8.17.tar.gz
> > tar xvzf snd-ls-0.9.8.17.tar.gz
> > cd snd-ls-0.9.8.17
> > ./unpack
> > cd snd-9
> > ./configure --with-snd-as-pd-external
> >
> >
> >
>
More information about the Cmdist
mailing list