Gentoo Forums
Gentoo Forums
Quick Search: in
Problems installing Postgres
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
yeyo069
n00b
n00b


Joined: 05 Nov 2009
Posts: 1

PostPosted: Thu Nov 05, 2009 11:18 am    Post subject: Problems installing Postgres Reply with quote

I get this message when trying to emerge postgres-server:

checking for Python distutils module... ./configure: line 7073: 20649 Aborted "${PYTHON}" -c 'import distutils' 2>&-
no
configure: error: distutils module not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-db/postgresql-server-8.4.1-r1/work/postgresql-8.4.1/config.log
* ERROR: dev-db/postgresql-server-8.4.1-r1 failed:
* econf failed
*
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3109: Called econf '--prefix=/usr' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--prefix=/usr/lib/postgresql-8.4' '--datadir=/usr/share/postgresql-8.4' '--docdir=/usr/share/doc/postgresql-8.4' '--sysconfdir=/etc/postgresql-8.4' '--includedir=/usr/include/postgresql-8.4' '--mandir=/usr/share/postgresql-8.4/man' '--enable-depend' '--without-tcl' '--without-perl' '--without-python' '--with-readline' '--with-krb5' '--with-gssapi' '--enable-nls' '--with-pam' '--enable-integer-datetimes' '--with-openssl' '--disable-thread-safety' '--disable-thread-safety-force' '--with-zlib' '--with-ldap' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=i686 -pipe' 'LDFLAGS=-Wl,-O1' '--disable-thread-safety' '--with-perl' '--with-python' '--with-tcl' '--with-libxml' '--with-libxslt' '--without-ossp-uuid' '--with-system-tzdata=/usr/share/zoneinfo' '--with-includes=/usr/include/postgresql-8.4/' '--with-libraries=/usr/lib/postgresql-8.4/lib' '--enable-nls'
* ebuild.sh, line 545: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =dev-db/postgresql-server-8.4.1-r1',
* the complete build log and the output of 'emerge -pqv =dev-db/postgresql-server-8.4.1-r1'.
* The complete build log is located at '/var/tmp/portage/dev-db/postgresql-server-8.4.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/postgresql-server-8.4.1-r1/temp/environment'.
* S: '/var/tmp/portage/dev-db/postgresql-server-8.4.1-r1/work/postgresql-8.4.1'


I'm a newbie when it comes to gentoo and I wanted to know if there someone who can help me with this problem.
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 832

PostPosted: Fri Nov 06, 2009 12:10 pm    Post subject: Reply with quote

What version of python are you using?
distutils should be in /usr/lib/pythonx.x/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum