denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Error during make when building Denemo


From: Richard Shann
Subject: Re: [Denemo-devel] Error during make when building Denemo
Date: Sat, 05 Jul 2014 09:09:08 +0100

It looks like when Eloi fixed this (as in the thread
http://lists.gnu.org/archive/html/denemo-devel/2014-03/msg00104.html
) he only did it on the AUBIO_3 code, as the audio/audio.h is included
for both AUBIO_3 and 4 at the top of the file but #include <audio.h> is
only deleted for the AUBIO_3 code.
So I have pushed the file with the spurious include removed for AUBIO_4.
I can't easily test this, but from what you say this compiles and so I'm
sure it will work too.
Thanks for reporting this.
Richard

On Sat, 2014-07-05 at 11:40 +1000, Nick Payne wrote:
> No that doesn't fix the problem. The path on my system to audio.h is 
> /home/nick/source/denemo/src/audio, and I tried both
> 
> export CPPFLAGS="-I/home/nick/source/denemo/src/audio"
> 
> and
> 
> export CFLAGS="-I/home/nick/source/denemo/src/audio"
> 
> before running make, and the error message was exactly the same as 
> before with both. When I look at pitchrecog.c, it's not failing on the 
> #include "audio/audio.h" on line 21, it's failing further on:
> 
> #define AUBIO_UNSTABLE 1
> #include <aubio/aubio.h>
> #include <audio.h>           <-- error msg points to this line
> #include <glib.h>
> #include "audio/pitchrecog.h"
> 
> I commented this line out (as per 
> http://lists.gnu.org/archive/html/denemo-devel/2014-03/msg00104.html) 
> and it then compiles ok. So what is the <audio.h> which appears to be 
> missing?
> 
> Nick
> 
> On 05/07/14 00:34, Richard Shann wrote:
> > 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
> >
> >
> 





reply via email to

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