Subject: problems compiling 2.2.2
From: Jan Stary (stare_AT_ns.arachne.cz)
Date: Wed Apr 02 2003 - 18:20:15 EEST
Hi all,
I am trying to compile ecasound 2.2.2 on my Acer Aspire 1304XC notebook,
running Debian testing with custom kernel 2.4.20, with following problems.
The ./configure script seems to ignore/not understand the --enable's and
--disable's for ALSA and Python. Running just './configure' autodetects
ALSA (and others) correctly, but saying --enable-alsa results in 'ALSA
support: no'. Running --disable-pyecasound doesn't stop the script
checking for python.h (and complaining, because I don't have Python
installed). Relevant pieces of output are <EOF
$ ./configure --disable-pyecasound --enable-sys-readline
...
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
...
checking for artsc-config... none
./configure: line 1: none: command not found # STRANGE !!
./configure: line 1: none: command not found # STRANGE !!
checking for jack/jack.h... no
checking for samplerate.h... yes
checking for python... none
checking for Python include files... ./configure: line 1: python: command not found
configure: warning: Python.h not found
checking for Python libraries... ./configure: line 1: python: command not found
/usr/local/lib /usr/lib
...
-----------------------------------------------------------------
Following packages are now configured:
ecasound: yes (ecasound,libecasound,libecasoundc)
ecatools: yes
pyecasound: yes # I SAID NO
libkvutils: yes
-----------------------------------------------------------------
...
-----------------------------------------------------------------
Following features were selected:
Debugging info: no
Termcap: ncurses
Libaudiofile: yes
ALSA support yes
OSS support yes
aRts support no
JACK support no
Libsamplerate support yes
Use system readline yes
-----------------------------------------------------------------
Following directories are used:
Directory prefix: /usr/local
Python include dir: # SO?
Python module dir: NO # SO?
Libsamplerate headers:
Libsamplerate libs: -lsamplerate
readline includes: /usr/include/readline
-------------------------------------------------------------------
EOF
Then, 'make' tries to compile pyecasound, and fails, of course: <EOF
$ make
...
Making all in pyecasound
make[2]: Entering directory `/usr/local/src/ecasound-2.2.2/pyecasound'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libecasoundc -I -g -O2 -D_REENTRANT -D_REENTRANT -ffast-math -fstrict-aliasing -funroll-loops -DNDEBUG -DENABLE_DBC -c pyecasound.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libecasoundc -I -g -O2 -D_REENTRANT -D_REENTRANT -ffast-math -fstrict-aliasing -funroll-loops -DNDEBUG -DENABLE_DBC -c pyecasound.c -fPIC -DPIC -o .libs/pyecasound.lo
pyecasound.c:24: Python.h: No such file or directory
make[2]: *** [pyecasound.lo] Error 1
make[2]: Leaving directory `/usr/local/src/ecasound-2.2.2/pyecasound'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ecasound-2.2.2'
make: *** [all-recursive-am] Error 2
EOF
Anyway, running just './configure --enable-sys-readline' detects things
correctly: <EOF
...
checking for artsc-config... none
./configure: line 1: none: command not found # STRANGE
./configure: line 1: none: command not found # STRANGE
checking for jack/jack.h... no
checking for samplerate.h... yes
checking for python... none
checking for Python include files... ./configure: line 1: python: command not found
configure: warning: Python.h not found
checking for Python libraries... ./configure: line 1: python: command not found
/usr/local/lib /usr/lib
...
-----------------------------------------------------------------
Following packages are now configured:
ecasound: yes (ecasound,libecasound,libecasoundc)
ecatools: yes
pyecasound: no
libkvutils: yes
-----------------------------------------------------------------
Following features were selected:
Debugging info: no
Termcap: ncurses
Libaudiofile: yes
ALSA support yes
OSS support yes
aRts support no
JACK support no
Libsamplerate support yes
Use system readline yes
-----------------------------------------------------------------
Following directories are used:
Directory prefix: /usr/local
Libsamplerate headers:
Libsamplerate libs: -lsamplerate
EOF
Running 'make' then succeeds: <EOF
...
Making all in pyecasound
make[2]: Entering directory `/usr/local/src/ecasound-2.2.2/pyecasound'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/ecasound-2.2.2/pyecasound'
EOF
But then, after the successful make, I su (I compile as user, under
/usr/local/src/ecasound-2.2.2), and 'make install' fails again, because
of unknown target (!), which is something rotten in Denmark; or the build
system. And again, it has something to do with python:
Making install in pyecasound
make[1]: Entering directory `/usr/local/src/ecasound-2.2.2/pyecasound'
make[2]: Entering directory `/usr/local/src/ecasound-2.2.2/pyecasound'
make install-exec-hook
make[3]: Entering directory `/usr/local/src/ecasound-2.2.2/pyecasound'
make[3]: *** No rule to make target `install-exec-hook'. Stop.
make[3]: Leaving directory `/usr/local/src/ecasound-2.2.2/pyecasound'
make[2]: *** [install-exec-am] Error 2
make[2]: Leaving directory `/usr/local/src/ecasound-2.2.2/pyecasound'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/src/ecasound-2.2.2/pyecasound'
make: *** [install-recursive] Error 1
It seems ./configure creates a 'do nothing' Makefile for pyecasound,
but then 'make install' tries to run some targets from it.
My build utils are:
gcc 2.95.4
autoconf (GNU Autoconf) 2.57
autoheader (GNU Autoconf) 2.57
automake (GNU automake) 1.4-p6
comming with Debian testing.
Any feedback depply appreciated.
Thanks.
Jan
This archive was generated by hypermail 2b28 : Wed Apr 02 2003 - 18:08:58 EEST