https://bugs.freedesktop.org/show_bug.cgi?id=89328

--- Comment #3 from Samuel Iglesias <sigles...@igalia.com> ---
Created attachment 113857
  --> https://bugs.freedesktop.org/attachment.cgi?id=113857&action=edit
remove mako check when python is not installed

> The distribution tarballs (should) provide all the auto-generated files, 
> similar to any other autotools project. As such one should not need any of 
> python/mako/lex/etc but a plain compiler toolchain.
> 
> Imho we should fix these in a way that, when the files are generated, all the 
> non-compiler requirements are non-fatal.
> 

I wrote a patch (attached) that removes the python mako module check when
python is not installed in the system. If it needs to do something with python,
it is going to fail anyway.

I tested this patch in a virtual machine without python installed to check if I
can compile mesa from a tarball created by 'make dist' command. At least now,
mako doesn't block the configuration step. The build fails at a later time due
to some python files but unrelated to autogenerated format_pack.c and
format_unpack.c files because the latter ones were already generated by make
dist.

If you think this patch is interesting to have in master, just say so and I
will send this patch to the mailing list.

> Although I cannot find a way to do that of the top of my head.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to