Re: Problème installation Postgi s sous Centos 7.

Alain Benard <[email protected]>
Newsgroups gmane.comp.db.postgresql.french
Message-ID <[email protected]>
Bonjour,
merci Bernard pour ces liens où je devrais trouver mon bonheur (j'y ai 
même entrevu des solutions à mon problème de dépendance dans le dernier 
lien [

http://www.postgresonline.com/journal/archives/362-An-almost-idiots-guide-to-install-PostgreSQL-9.5,-PostGIS-2.2-and-pgRouting-2.1.0-with-Yum.htm

] lors de la phase 'Installing PostGIS binaries' qui décrit le même 
problème que je rencontre - ce lien utilise finalement la même méthode 
que moi : http://yum.postgresql.org/)

Je regarde ça fin de semaine prochaine et reviendrai vers la liste (pour 
finaliser normalement).

Pour répondre à ta question sur l'utilisation de cette façon de faire, 
je l'utilise car jusqu'ici ça a marché (avec d'ancienne version de 
Centos / Postgres / Postgis) et c'est d'ailleurs cette méthode qui est 
décrite dans ton dernier lien. A l'occasion je jetterai un oeil sur les 
autres méthodes.
Merci et bon weekend.
Alain.

Le 19/02/2016 18:15, Bernard Schoenacker a écrit :
> Le Fri, 19 Feb 2016 18:08:52 +0100,
> Bernard Schoenacker <[email protected]> a écrit :
>
>> Le Fri, 19 Feb 2016 17:38:47 +0100,
>> Alain Benard <[email protected]> a écrit :
>>
>>> Bonjour,
>>> je viens d'installer un serveur Centos 7 et j'y ai mis
>>> postgresql-9.4 de la façon suivante :
>>>
>>>    * wget
>>>      http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-2.noarch.rpm
>>>    * rpm -i pgdg-centos94-9.4-2.noarch.rpm
>>>    * yum install postgresql94 postgresql94-devel postgresql94-server
>>>      postgresql94-libs postgresql94-contrib
>>>
>>> Tout va bien jusqu'ici et je me lance donc dans l'installation de
>>> postgis  (fourni apparemment par le même rpm que ci-dessus) :
>>>
>>>    * yum install postgis2_94 postgis2_94-docs postgis2_94-utils
>>>
>>>              Voici un extrait du genre d'erreur rencontrées :
>>>                Le paquet postgis2_94.x86_64 0:2.1.8-1.rhel7 sera
>>> installé --> Traitement de la dépendance : hdf5 pour le
>>> paquet : postgis2_94-2.1.8-1.rhel7.x86_64
>>>              --> Résolution des dépendances terminée
>>>              Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
>>> (pgdg94) Requiert : libcfitsio.so.2()(64bit)
>>>              Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
>>> (pgdg94) Requiert : libfreexl.so.1()(64bit)
>>>              Erreur : Paquet : postgis2_94-2.1.8-1.rhel7.x86_64
>>> (pgdg94) Requiert : hdf5
>>>              Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
>>> (pgdg94) Requiert : libCharLS.so.1()(64bit)
>>>              Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
>>> (pgdg94) Requiert : libdapserver.so.7()(64bit)
>>>              Erreur : Paquet : gdal-libs-1.11.0-3.rhel7.x86_64
>>> (pgdg94) Requiert : libnetcdf.so.7()(64bit)
>>>
>>> Mes recherches m'amènent ici :
>>> http://www.postgresql.org/message-id/[email protected]
>>> Mais ce que Devrim Gündüz nous raconte dans ce post ne change
>>> strictement rien.
>>> Je trouve assez désolant qu'un rpm mis en place à cet endroit ne
>>> soit pas opérationnel.
>>> Merci par avance pour votre aide.
>>> Alain.
>>>    
>> bonjour,
>>
>> pourquoi ne as avoir employé dnf ?
>> http://www.tecmint.com/dnf-next-generation-package-management-utility-for-linux/
>>
>> le repository pour centos :
>> wget
>> https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm
>>
>> normalement c'est :
>>
>> sudo rpm -ivh pgdg-centos95-9.5-2.noarch.rpm
>>
>>
>> la doc pour rpm : http://www.gunduz.org/seminer/RPM/
>>
>> désolé mais c'est en langue originelle ...
>>
>> autrement :
>> http://www.postgresonline.com/journal/archives/362-An-almost-idiots-guide-to-install-PostgreSQL-9.5,-PostGIS-2.2-and-pgRouting-2.1.0-with-Yum.html
>>
>> slt
>> bernard
>>
>>
>> --
>> Envoi via la liste pgsql-fr-generale
>> ([email protected])
> bonjour,
>
> petit correctif pour la commande rpm :
>
> sudo rpm -ivh
> http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm
>
> slt
> bernard
>
>
> --
> Envoi via la liste pgsql-fr-generale ([email protected])


--
Envoi via la liste pgsql-fr-generale ([email protected])
alain_benard.vcf (text/x-vcard, 292 B)
begin:vcard
fn:Alain Benard
n:Benard;Alain
org:INRA Champenoux;EFPA (EEF/SIG)
adr:;;;Champenoux;;;France
email;internet:[email protected]
title;quoted-printable:Animateur Cati SIOEA et r=C3=A9seau Ecoinformatique
tel;work:03 83 39 40 84
tel;fax:03 83 39 40 69
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.