Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge+postgresql
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
vcasali
n00b
n00b


Joined: 10 Aug 2009
Posts: 2

PostPosted: Mon Aug 10, 2009 11:47 am    Post subject: emerge+postgresql Reply with quote

Bom dia pessoal, to começando trabalhar com o gentoo e ja to apanhando dele...hehe

assim baixei o live cd do 2007.0 e instalei, agora to precisando instalar o postgresql mas não ta dando certo.

dou um emerge -av postgresql ele diz que vai baixar 3 pacotes, dai ele fica tentando se conectar em algum site para baixar o postgresql só que não consegue, tem outra maneira para instalar o postgresql

a versao que ele tenta baixar é a 8.0.12

olhando nas tentativas dele ele acha o site ftp, se conecta nele, loga e dai não encontra o diretorio para poder baixar o postgresql

quem puder ajudar agradeço desde ja

Abraço
Back to top
View user's profile Send private message
rodrigopmatias
n00b
n00b


Joined: 02 May 2004
Posts: 21
Location: Palmas - Tocantins - Brasil

PostPosted: Mon Aug 10, 2009 2:00 pm    Post subject: Reply with quote

Modifique o arquivo /etc/make.globals, localize a variavel GENTOO_MIRRORS para o seguinte valor:
Code:
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br http://www.las.ic.unicamp.br/pub/gentoo http://distfiles.gentoo.org"

Execute o comando:
Code:
 root@localhost:~# emege --sync
 root@localhost:~# emege -auv --newuse world

Este ultimo comando se faz necessário pq você esta utilizando um stage muito antigo 2007.0 depois que o ultimo processo tiver ocorrido tente novamente instalar o postgresql-server.
_________________
Gnu/Linux Gentoo current - Kernel 2.6.30
Back to top
View user's profile Send private message
vcasali
n00b
n00b


Joined: 10 Aug 2009
Posts: 2

PostPosted: Wed Aug 12, 2009 6:51 pm    Post subject: Reply with quote

fiz os passos que vc passou rodrigo e quando mandei instalar o postgresql deu esse erro tem alguma outra forma de instalar o postgresql?

obrigado

localhost etc # emerge -av postgresql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-python/egenix-mx-base-3.1.1 7,969 kB
[ebuild N ] dev-db/postgresql-8.1.11 USE="nls pam perl python readline ssl xml zlib -doc -kerberos -pg-intdatetime (-selinux) -tcl -test" 0 kB

Total: 2 packages (2 new), Size of downloads: 7,969 kB

Would you like to merge these packages? [Yes/No] Yes

>>> Emerging (1 of 2) dev-python/egenix-mx-base-3.1.1 to /
/usr/portage/eclass/python.eclass: line 290: syntax error in conditional expression: unexpected token `('
/usr/portage/eclass/python.eclass: line 290: syntax error near `^(f'
/usr/portage/eclass/python.eclass: line 290: ` if [[ "${NOCOLOR:-false}" =~ ^(false|no)$ ]]; then'

!!! ERROR: dev-python/egenix-mx-base-3.1.1 failed.
Call stack:
ebuild.sh, line 1511: Called source '/usr/portage/dev-python/egenix-mx-base/egenix-mx-base-3.1.1.ebuild'
egenix-mx-base-3.1.1.ebuild, line 5: Called inherit 'distutils' 'flag-o-matic'
ebuild.sh, line 1256: Called qa_source '/usr/portage/eclass/distutils.eclass'
ebuild.sh, line 28: Called source '/usr/portage/eclass/distutils.eclass'
distutils.eclass, line 18: Called inherit 'python' 'multilib' 'eutils'
ebuild.sh, line 1256: Called die

!!! died sourcing /usr/portage/eclass/python.eclass in inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-python/egenix-mx-base-3.1.1/temp/build.log'.
Back to top
View user's profile Send private message
elissoncosta
n00b
n00b


Joined: 22 Jan 2009
Posts: 24
Location: Brasil

PostPosted: Sun Sep 20, 2009 4:40 am    Post subject: emerge+postgresql Reply with quote

vcasali,

Complementando as recomendações do rodrigopmatias, sugiro a execução do aplicativo 'revdep-rebuild'(), que verifica o sistema em busca de possíveis problemas em bibliotecas compartilhadas e as corrige.
Para fazer uso desta ferramenta é necessário que voce instale o pacote gentoolkit:

root@localhost:~# emerge -v app-portage/gentoolkit

Após a execução do 'revdep-rebuild', tente reinstalar o postgresql.

Verifique também a necessidade de suporte à linguagem python no seu banco de dados, visto que o pacote 'dev-python/egenix-mx-base' é instalado como dependência. Caso não faça uso dessa linguagem, não precisa compilar o egenix.

root@localhost:~# emerge -v dev-db/postgresql
ou
root@localhost:~# USE="-python" emerge -v dev-db/postgresql

--
Elisson Costa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese 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