IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Installation PostgreSQL Discussion :

Nouvelle installation PostgreS [8.3]


Sujet :

Installation PostgreSQL

  1. #1
    Membre averti
    Avatar de mboubidi
    Homme Profil pro
    DBA Oracle
    Inscrit en
    Novembre 2006
    Messages
    326
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : Algérie

    Informations professionnelles :
    Activité : DBA Oracle
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Novembre 2006
    Messages : 326
    Points : 401
    Points
    401
    Par défaut Nouvelle installation PostgreS
    Bonjour,

    Je suis nouveau sur postgres et je veux me débuter et lancer l'installation, quand je lance configure je pense que j'ai une erreur :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    [root@localhost postgresql-8.3.7]# ./configurechecking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking which template to use... linux
    checking whether to build with 64-bit integer date/time support... no
    checking whether NLS is wanted... no
    checking for default port number... 5432
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking if gcc supports -Wdeclaration-after-statement... yes
    checking if gcc supports -Wendif-labels... yes
    checking if gcc supports -fno-strict-aliasing... yes
    checking if gcc supports -fwrapv... yes
    configure: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
    checking whether the C compiler still works... yes
    checking how to run the C preprocessor... gcc -E
    checking allow thread-safe client libraries... no
    checking whether to build with Tcl... no
    checking whether to build Perl modules... no
    checking whether to build Python modules... no
    checking whether to build with GSSAPI support... no
    checking whether to build with Kerberos 5 support... no
    checking whether to build with PAM support... no
    checking whether to build with LDAP support... no
    checking whether to build with Bonjour support... no
    checking whether to build with OpenSSL support... no
    checking for egrep... grep -E
    configure: using CPPFLAGS= -D_GNU_SOURCE 
    configure: using LDFLAGS= 
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for ranlib... ranlib
    checking for strip... strip
    checking whether it is possible to strip libraries... yes
    checking for tar... /usr/bin/tar
    checking whether ln -s works... yes
    checking for gawk... gawk
    checking for bison... no
    configure: WARNING:
    *** Without Bison you will not be able to build PostgreSQL from CVS nor
    *** change any of the parser definition files.  You can obtain Bison from
    *** a GNU mirror site.  (If you are using the official distribution of
    *** PostgreSQL then you do not need to worry about this, because the Bison
    *** output is pre-generated.)  To use a different yacc program (possible,
    *** but not recommended), set the environment variable YACC before running
    *** 'configure'.
    checking for flex... no
    configure: WARNING:
    *** Without Flex you will not be able to build PostgreSQL from CVS or
    *** change any of the scanner definition files.  You can obtain Flex from
    *** a GNU mirror site.  (If you are using the official distribution of
    *** PostgreSQL then you do not need to worry about this because the Flex
    *** output is pre-generated.)
    checking for perl... /usr/bin/perl
    checking for main in -lm... yes
    checking for library containing setproctitle... no
    checking for library containing dlopen... -ldl
    checking for library containing socket... none required
    checking for library containing shl_load... no
    checking for library containing getopt_long... none required
    checking for library containing crypt... -lcrypt
    checking for library containing fdatasync... none required
    checking for library containing shmget... none required
    checking for -lreadline... no
    checking for -ledit... no
    configure: error: readline library not found
    If you have readline already installed, see config.log for details on the
    failure.  It is possible the compiler isn't looking in the proper directory.
    Use --without-readline to disable readline support.
    [root@localhost postgresql-8.3.7]# gmake
    You need to run the 'configure' program first. See the file
    'INSTALL' for installation instructions.
    gmake: *** [all] Error 1
    [root@localhost postgresql-8.3.7]# uname -a
    Linux localhost.localdomain 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
    Veuillez Svp m'aider a exécuter cette installation.

    Salutations.
    Ce que tu veux me dire, est-ce vrai? Est-ce bien? Est-ce utile? Sinon je ne veux pas l'entendre.

    Pensez a

  2. #2
    Rédacteur

    Avatar de SQLpro
    Homme Profil pro
    Expert bases de données / SQL / MS SQL Server / Postgresql
    Inscrit en
    Mai 2002
    Messages
    21 772
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Expert bases de données / SQL / MS SQL Server / Postgresql
    Secteur : Conseil

    Informations forums :
    Inscription : Mai 2002
    Messages : 21 772
    Points : 52 732
    Points
    52 732
    Billets dans le blog
    5
    Par défaut
    Commencez par nous donner les informations élémentaires :
    Windows ? Linux ? et quelle distrib / version ???
    Quelle version de PostGreSQL voulez-vous installer ?
    etc...

    A +
    Frédéric Brouard - SQLpro - ARCHITECTE DE DONNÉES - expert SGBDR et langage SQL
    Le site sur les SGBD relationnels et le langage SQL: http://sqlpro.developpez.com/
    Blog SQL, SQL Server, SGBDR : http://blog.developpez.com/sqlpro
    Expert Microsoft SQL Server - M.V.P. (Most valuable Professional) MS Corp.
    Entreprise SQL SPOT : modélisation, conseils, audit, optimisation, formation...
    * * * * * Expertise SQL Server : http://mssqlserver.fr/ * * * * *

  3. #3
    Membre averti
    Avatar de mboubidi
    Homme Profil pro
    DBA Oracle
    Inscrit en
    Novembre 2006
    Messages
    326
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : Algérie

    Informations professionnelles :
    Activité : DBA Oracle
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Novembre 2006
    Messages : 326
    Points : 401
    Points
    401
    Par défaut
    Bonjour chef,

    Merci pour le feedback, alors j'ai télécharger la version 8.3.7 sur Linux 7 64bits
    Ce que tu veux me dire, est-ce vrai? Est-ce bien? Est-ce utile? Sinon je ne veux pas l'entendre.

    Pensez a

  4. #4
    Membre averti
    Avatar de mboubidi
    Homme Profil pro
    DBA Oracle
    Inscrit en
    Novembre 2006
    Messages
    326
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : Algérie

    Informations professionnelles :
    Activité : DBA Oracle
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Novembre 2006
    Messages : 326
    Points : 401
    Points
    401
    Par défaut
    Bonsoir a tous,

    une petite mise a jour, j'ai reussis a l'installer mais avec un peux de gymnastique,

    1- j'ai installer Bison
    2- j'ai installer zlib
    3- j'ai executer configure without readline comme suit:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    ./configure --without-readline
    après j'ai installer avec les etapes suivantes :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    gmakesu
    gmake install
    adduser postgres
    mkdir /usr/local/pgsql/data
    chown postgres /usr/local/pgsql/data
    par contre j'ai l'erreur suivante :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    [postgres@localhost ~]$ /usr/local/pgsql/bin/psqlpsql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
    j'ai essayer de vérifier si le serveur est up :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    ./pg_ctl -D /usr/local/var/postgres -l /home/postgres/server.log start
    mais j'ai l'erreur suivante :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    postgres cannot access the server configuration file "/usr/local/var/postgres/postgresql.conf": No such file or directory
    Salutations.
    Ce que tu veux me dire, est-ce vrai? Est-ce bien? Est-ce utile? Sinon je ne veux pas l'entendre.

    Pensez a

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Probleme depuis nouvelle installe de mysql
    Par Jim_Nastiq dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 12
    Dernier message: 05/07/2006, 11h48
  2. [debutant] Link error - nouvelle installation
    Par dwalin dans le forum MFC
    Réponses: 3
    Dernier message: 02/05/2006, 21h45
  3. impossible de ré-installer Postgres sous xp
    Par imer5 dans le forum PostgreSQL
    Réponses: 1
    Dernier message: 07/03/2005, 11h53
  4. Nouvelle installation MySql4.0.2d - Problème retour chariot
    Par pit_bulle dans le forum Installation
    Réponses: 2
    Dernier message: 30/09/2004, 16h07
  5. [PostGres] Problème installation PostGres sous Windows
    Par Torpille dans le forum PostgreSQL
    Réponses: 4
    Dernier message: 27/08/2004, 16h05

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo