[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Compiling pygame on Ubuntu 11.10 oneiric JPGE not found



On 28.01.2012 02:34, Lenard Lindstrom wrote:
> This explains the /usr/lib/i386-linux-gnu directory:
> <http://askubuntu.com/questions/52617/what-is-usr-lib-i386-linux-gnu-for>.

Thanks, for the link. That indeed explains the matter. Though the answer
or the policy document do no not explains how programs should locate the
libraries.

> Though a temporary soludtion, adding more lookup paths to config_unix.py
> would mean constant maintenance.

Maybe, but the spec indicates that this will become a standard location
for libraries under debian-based systems, which make up a good part of
the Linux eco-system and probably also the systems of the pygame developers.

"Multiarch seeks to address all of these issues, at the expense of a
one-time transition, by migrating libraries to subdirectories that
include the architecture triplet as part of the path"

But the question is, does the pygame compilation process really need to
know where the library is installed? Since the linker knows how to find
the library, config_unix.py could just compile & link a minimal C file
which includes the library and test if that succeeds. Just like GNU
autoconf does.

Chris