tuffy / python-audio-tools

A collection of audio handling programs which work from the command line.
http://audiotools.sourceforge.net
GNU General Public License v2.0
249 stars 58 forks source link

Won't build because of missing config.h (fails when building audiotools.cdio extension) #41

Closed jeanmenezes closed 9 years ago

jeanmenezes commented 9 years ago

Hello,

audiotools won't build on my system (Arch Linux, x86_64). The relevant part of the log is as follows:

building 'audiotools.cdio' extension
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -I/usr/include/python3.4m -c src/cdiomodule.c -o build/temp.linux-x86_64-3.4/src/cdiomodule.o
In file included from src/cdiomodule.h:2:0,
             from src/cdiomodule.c:1:
/usr/include/cdio/cdda.h:24:20: fatal error: config.h: No such file or directory
 #include <config.h>
                ^
compilation terminated.
error: command 'gcc' failed with exit status 1
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 1

Any thoughts on this?

Thanks in advance!

tuffy commented 9 years ago

It looks like something strange is happening with your libcdio build since "cdda.h" is looking for a normally autogenerated file in "/usr/include/cdio" that isn't there. What version of libcdio are you using? Perhaps a fresh install might be of some use.

jeanmenezes commented 9 years ago

I have libcdio 0.92-1 installed. Some further googling reveals that the last version to include config.h was before 0.83. Anyways, I don't need cdio functionality right now, so I disabled it and could build audiotools without any further trouble.

Thanks!

On Thu, Oct 23, 2014 at 4:07 PM, tuffy notifications@github.com wrote:

It looks like something strange is happening with your libcdio build since "cdda.h" is looking for a normally autogenerated file in "/usr/include/cdio" that isn't there. What version of libcdio are you using? Perhaps a fresh install might be of some use.

— Reply to this email directly or view it on GitHub https://github.com/tuffy/python-audio-tools/issues/41#issuecomment-60281957 .

Jean Menezes da Rocha Compositor Professor -- Faculdades Est Mestre e Doutorando em Composição pela Universidade Federal da Bahia