Subject: Re: [ecasound] (fwd) Re: ports/50858: compile of ecasound-2.2.2 fails with undeclared functions
From: Kai Vehmanen (k_AT_eca.cx)
Date: Fri May 30 2003 - 04:36:17 EEST
On Fri, 30 May 2003, Junichi Uekawa wrote:
>> Or maybe even better would be, --disable--pyecasound (all python stuff)
>> and --enable-pyecasound-c-impl (?) to compile the C extension module.
> How about using "--enable-pyecasound=python" or
> "--enable-pyecasound=c" ?
That's indeed a good idea. I've combined this now with Jeremy's ideas
concerning pyecasound installation prefix, and as a result:
- changed: pyecasound - redefined configure option
--enable-pyecasound=IMPL where 'IMPL' is either
'c' or 'python'; --disable-pyecasound disables
- changed: pyecasound - if python prefix does not match
ecasound's build prefix, pyecasound will be
disabled; you can override this by specifying
the python module directory explicitly with
the --with-python-modules=DIR option
... if the prefix does not match, configure prints a huge warning and
suggests how to override the module path. For example:
checking for Python libraries... none
*** Python modules won't be installed as the module install prefix does
*** not match ecasound's build prefix! To override, set python
*** module directory explicitly (for example
The suggested path in the warning is actually queried from python if the
binary is available. Otherwise suggests ".../modules=DIR". :)
> the value of the option is available from "$enableval",
> and if "$enableval" does not contain a reasonable value,
> you can default to whichever version that seems reasonable.
Yup, if --enable-pyecasound is not given, it defaults to
--enable-pyecasound=python (although requires that python binary is found
and in PATH), while --disable-pyecasound is same as
Now I'll put these to CVS. If you have the time, please test these.
I tried all combinations at least once myself, but as I have a custom
python installation, something might still be broken...
-- http://www.eca.cx Audio software for Linux!
This archive was generated by hypermail 2b28 : Fri May 30 2003 - 04:37:11 EEST