Calculating dependencies.>>> md5 ;-) postgresql-7.1.tar.gz >>> md5 ;-) rl42-pg.patch >>> Unpacking source... >>> Unpacking postgresql-7.1.tar.gz patching file configure.in patching file src/include/config.h.in patching file src/bin/psql/tab-complete.c patching file src/interfaces/perl5/GNUmakefile >>> Source unpacked. creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking which template to use... linux checking whether to build with locale support... yes checking whether to build with recode support... no checking whether to build with multibyte character support... no checking whether to build with Unicode conversion support... no checking for default port number... 5432 checking for default soft limit on number of connections... 32 checking for gcc... gcc checking whether the C compiler (gcc -mcpu=i686 -march=i686 -O3 -pipe ) works... yes checking whether the C compiler (gcc -mcpu=i686 -march=i686 -O3 -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes using CFLAGS=-mcpu=i686 -march=i686 -O3 -pipe checking whether the C compiler (gcc -mcpu=i686 -march=i686 -O3 -pipe ) works... yes checking whether the C compiler (gcc -mcpu=i686 -march=i686 -O3 -pipe ) is a cross-compiler... no checking for Cygwin environment... no checking for mingw32 environment... no checking for executable suffix... no checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking whether to build with Tcl... yes checking whether to build with Tk... yes checking whether to build Perl modules... yes checking whether to build Python modules... yes checking for python... python checking for Python extension makefile... no configure: error: The Python extension makefile was expected at `/usr/lib/python2.2/config/Makefile.pre.in\' but does not exist. This means the Python module cannot be built automatically. !!! ERROR: the ./configure command did not complete successfully. !!! ("./configure --prefix=/usr --mandir=/usr/share/man --host=i686-pc-linux-gnu --enable-syslog --with-tcl --with-perl --with-python --with-openssl=/usr --enable-locale") !!! Since this is a critical task, ebuild will be stopped. done! >>> emerge dev-db/postgresql-7.1 to / !!! emerge aborting on /usr/portage/dev-db/postgresql/postgresql-7.1.ebuild .