On Fri, Sep 11, 2015 at 5:55 PM, Laura Abbott <[email protected]> wrote:
>
> Cython is necessary to compile if --enable-python is used.
> Currently, the configuration just sets Cython to ':' if
> it isn't found. ':' is a valid command which results in
> confusing build errors:
>
>   CCLD     libkmod/libkmod.la
>   CCLD     libkmod/libkmod-internal.la
> ar: `u' modifier ignored since `D' is the default (see `U')
>   CYTHON  libkmod/python/kmod/kmod.c
>   CC       libkmod/python/kmod/libkmod_python_kmod_kmod_la-kmod.lo
> gcc: error: ./libkmod/python/kmod/kmod.c: No such file or directory
> gcc: fatal error: no input files
>
> Explicitly check if cython is available and then error out
> if it isn't found.
> ---

Since we distribute the  generated python files, cython is only needed
on "building from git tree" cases, not for packages.


Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to