Error: i686-pc-linux-gnu-ranlib libpython2.5.a i686-pc-linux-gnu-gcc -pthread -Wl,--as-needed -Xlinker -export-dynamic -o python \ Modules/python.o \ -L. -lpython2.5 -lpthread -ldl -lutil -L/usr/lib -lz -lm ./libpython2.5.so: undefined reference to `inflateEnd' ./libpython2.5.so: undefined reference to `deflate' ./libpython2.5.so: undefined reference to `deflateInit_' ./libpython2.5.so: undefined reference to `inflateInit2_' ./libpython2.5.so: undefined reference to `inflate' ./libpython2.5.so: undefined reference to `crc32' ./libpython2.5.so: undefined reference to `deflateEnd' ./libpython2.5.so: undefined reference to `deflateCopy' ./libpython2.5.so: undefined reference to `deflateInit2_' ./libpython2.5.so: undefined reference to `adler32' ./libpython2.5.so: undefined reference to `inflateCopy' collect2: ld returned 1 exit status make: *** [python] Error 1 !!! ERROR: dev-lang/python-2.5_rc1 failed.
No idea why did you get the ebuild, but not in the official tree.