[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 00:42, Christopher Arndt wrote:
> I stumbled over one issue: even though I had all the dependencies
> installed, the configure script said "JPGEG: not found". When I looked
> into it, I found that the package "libjpeg62[-dev]" installed
> "libjpeg.so[.62]" only in /usr/lib/i386-linux-gnu not in /usr/lib. So I
> had to edit "Setup.in" and add "-L/usr/lib/i386-linux-gnu" to the "JPEG"
> line. Then configure found the library and everthing compiled without a
> hitch.

For the record: here's a command line to compile pygame from a pristine
hg checkout that works on Linux systems, which use this new scheme to
install libraries:

ORIGLIBDIRS="/lib:/lib/`uname -i`-linux-gnu:/lib64:/X11R6/lib" \
    python setup.py build

Chris