[PlanetCCRMA] Re: jack_fst - Library requirements

Shayne O'Connor forums@machinehasnoagenda.com
Sun Nov 28 23:33:01 2004


hi andres

hmmm, i patched it the way you said, but i'm pretty much getting the
same problem - i had a look in /usr/src/, but there was no fst folder,
so i'm not sure if it's in a different place. 

here's the steps i'm going through:


> 1. Copy AEffect.h & aeffectx.h from vstsdk2.3/source/common/ to fst-1.6/vst/
> 
> 2. cd to fst-1.6/vst & do ../fixheaders
> 
> 3. copy mkinstalldirs from /usr/share/automake-x.x to /fst-1.6/
> 
> 4. Edit aeffectx.h to this:
> 
> struct VstFileType
> {
>                 if (_name)
>                         strcpy (name, _name);
>                 if (_macType)
>                         strcpy (macType, _macType);
>                 if (_dosType)
>                         strcpy (dosType, _dosType);
>                 if (_unixType)
>                         strcpy (unixType, _unixType);
>                 if (_mimeType1)
>                         strcpy (mimeType1, _mimeType1);
>                 if (_mimeType2)
>                         strcpy (mimeType2, _mimeType2);
>         }
> 
> 5. cd to top directory, do ./autogen.sh; ./configure; make; make install; /sbin/ldconfig
> 
> 6. cd to /jack_fst-1.2/
> 
> 7. ./configure; make; make install
> 
> 8. this is what i get:
> 
> make  all-am
> make[1]: Entering directory `/home/mrmachine/linux-progz/audio/vst/jack_fst-1.2'if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include -I/usr/local/include/vst   -MT jfst.o -MD -MP -MF ".deps/jfst.Tpo" \
>   -c -o jfst.o `test -f 'jfst.c' || echo './'`jfst.c; \
> then mv -f ".deps/jfst.Tpo" ".deps/jfst.Po"; \
> else rm -f ".deps/jfst.Tpo"; exit 1; \
> fi
> In file included from jfst.c:25:
> /usr/local/include/vst/aeffectx.h:918: error: syntax error before "if"
> /usr/local/include/vst/aeffectx.h:938: error: syntax error before '}' token
> make[1]: *** [jfst.o] Error 1
> make[1]: Leaving directory `/home/mrmachine/linux-progz/audio/vst/jack_fst-1.2'
> make: *** [all] Error 2


does this sound right?

shayne