This came up a while back in another email, Re: [Denemo-devel]
denemo-1.0.0/1.0.2 wont compile
Date: Tue, 13 May 2014 13:57:36 +0100
that thread ended with:
you are correct,
audio.h is in src/audio in denemo-1.1.4
doing this:-
export CPPFLAGS="-I/path/to/denemo-1.1.4/src/audio"
solves the problem.
denemo-1.1.4 now compiles
But I'm afraid I didn't discover who (or what) is in the wrong here.
But it would seem that defining CPPFLAGS (actually, I think it should be
CFLAGS) to be the path to denemo's audio.h file will cure the problem.
Richard
On Fri, 2014-07-04 at 21:52 +1000, Nick Payne wrote:
Hi
I'm attempting to build Denemo from source on Linux Mint 17 amd64. I
downloaded the Denemo source using the git clone command shown on page
http://denemo.org/downloads-page/ and then installed the build
dependencies using the apt-get install command shown on page
http://denemo.org/hacking-sources/. When I execute the build commands,
running ./autogen.sh completes successfully, as does running
../configure from the bin directory, but when I run make, it
successfully compiles quite a number of files but then fails with the
following:
gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../../intl -I../../include
-I../../libs/libsffile -I../../pixmaps -DPREFIX=\"/usr/local\"
-DBINDIR=\"/usr/local/bin\" -DLOCALEDIR=\"/usr/local/share/locale\"
-DSYSCONFDIR=\"/usr/local/etc/denemo/\"
-DPKGDATADIR=\"/usr/local/share/denemo/\"
-DDATAROOTDIR=\"/usr/local/share/\" -DPKGNAME=\"denemo\"
-DG_LOG_DOMAIN=\"Denemo\" -g -O2 -pthread -D_WITH_AUBIO_4_
-I/usr/include/libxml2 -pthread -I/usr/include/librsvg-2.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo
-I/usr/include/libpng12 -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/freetype2 -pthread
-lgthread-2.0 -lglib-2.0 -lsndfile -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/gtk-3.0 -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/pixman-1
-I/usr/include/libpng12 -pthread -I/usr/include/gtksourceview-3.0
-I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/pixman-1
-I/usr/include/libpng12 -pthread -I/usr/include/gtk-3.0
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1
-I/usr/include/libpng12 -I/usr/include/evince/3.0 -DUSE_EVINCE
-D_HAVE_FLUIDSYNTH_ -D_HAVE_RUBBERBAND_ -D_HAVE_PORTAUDIO_ -pthread
-D_HAVE_PORTMIDI_ -D_HAVE_X11_ -MT pitchrecog.o -MD -MP -MF
.deps/pitchrecog.Tpo -c -o pitchrecog.o `test -f 'audio/pitchrecog.c' ||
echo '../../src/'`audio/pitchrecog.c
../../src/audio/pitchrecog.c:453:19: fatal error: audio.h: No such file
or directory
#include <audio.h>
^
compilation terminated.
make[2]: *** [pitchrecog.o] Error 1
make[2]: Leaving directory `/home/nick/source/denemo/bin/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nick/source/denemo/bin'
make: *** [all] Error 2
Regards
Nick Payne
_______________________________________________
Denemo-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/denemo-devel