[CM] Building Snd-FTH on Debian unstable...

Michael Scholz scholz-micha@gmx.de
Mon, 12 Mar 2007 04:57:08 +0100


> make check failed with the following:
>
> make[1]: Entering directory `/usr/local/src/fth/tests'
> #{                                                      \
>         echo '# Signature of the current package.';
> \
>         echo 'm4_define([AT_PACKAGE_NAME],      [FTH])';
> \
>         echo 'm4_define([AT_PACKAGE_TARNAME],   [fth])';
> \
>         echo 'm4_define([AT_PACKAGE_VERSION],   [1.0.8])';
> \
>         echo 'm4_define([AT_PACKAGE_STRING],    [FTH 1.0.8])';
> \
>         echo 'm4_define([AT_PACKAGE_BUGREPORT],
> [mi-scholz@users.sourceforge.net])';    \
>         } >./package.m4

I think this is a GNU Make issue.  The comment sign in the first line
says it is only usable if --enable-maintainer-mode was given,
otherwise the entire line should be commented out.  Normally make sees
only one line but not GNU Make?

> I configured with ./configure --with-gtk --with-jack --with-forth, but
> Snd bailed in the link step because there was no -lfth on the command
> line:

You need a working fth in your $PATH, otherwise the configuration
won't work.  If you have fth in your $PATH what does it say for the
following command lines:

fth -e .prefix             # e.g. /usr/local
fth -e .cflags             # e.g. -I/usr/local/include/fth
fth -e .libs               # e.g. -L/usr/local/lib -lfth -lm
fth -e .version            # e.g. 1.0.8

> I put the following in my makefile:
>
> GUILE_LIBS=-lfth
>
> I guess there's no FTH_LIBS... ;-)

I think Guile was first.  You can read GUILE_* as XEN_* names.

Mike