Hi Nikita,

Nikita Karetnikov <nik...@karetnikov.org> skribis:

> I removed '#:phases' from 'arguments' and added '#:configure-flags':
>
>   (arguments `(#:configure-flags '("--disable-modular-tests"
>                                    "--disable-rebuilds")))

I guess this disables parts of the test suite.  That’s OK as a first
stab, but eventually we may want to actually fix the problem.  ;-)

> /bin/sh: line 19: python2.5: command not found
> make[4]: *** [install-codegenPYTHON] Error 127

[...]

> AFAICT, the problem is the lack of 'python' in Guix.

Indeed.

> Here is a corresponding snippet from Nixpkgs:
>
> # * Make it build without python
> #     Problem: an example (test?) program needs it.
> #     Possible solution: disable compilation of this example somehow
> #     Reminder: add 'sed -e 's@python2\.[0-9]@python@' -i
> #       $out/bin/gtester-report' to postInstall if this is solved
>
>   buildNativeInputs = [ perl pkgconfig gettext python ];
>
> Is it possible to solve this without 'python'?

Is there a --disable-python switch or something?  If not, you could
check whether it’s just a tiny little thing that needs to be patched to
avoid the dependency.

Or...  you can add a package for Python.  :-)

Thanks,
Ludo’.

Reply via email to