On 26 aug 2010, at 15.10, Trevor Woerner wrote:
Hi,
I was trying to compile Xorg and had a bit of a stumble in the mesa
directory.
The configure.ac looks for the talloc package and assumes your
distribution has supplied a "talloc.pc" to work with the pkg-config
system. Unfortunately mine doesn't so my build doesn't succeed.
Investigating this issue it appears as though the only parts of mesa
which need talloc are:
- src/mesa/program/ir_to_mesa.cpp
- src/mesa/main/shaderapi.c
- src/glsl
But what's even more interesting is that the talloc sources appear to
be included in the mesa package:
- src/talloc
If the talloc sources are being included in the mesa package, why does
the configure.ac require talloc be installed before you can start
building?
It is only there for system which does not have nice/sane packaging
management. For those systems that do the mesa should use the system
provided copy.
Can the 3 components which require talloc not use the talloc already
included in the mesa package?
I more appropriate fix would be to add checks for the talloc header
and library so we do not require a talloc.pc, mesa should however for
autoconf builds use the system provided copy.
Cheers Jakob.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev