Installation de PostgreSQL 9.0.1 sur Ubuntu 10.04
Bonjour ;
j'essaye d'installer postgresql 9.0.1 sur ubuntu 10.04 depuis son code source et pour ce faire j'ai suivis les étapes suivantes :
- j'ai téléchargé le code source postgresql-9.0.1.tar.gz ;
- j'ai décompressé le tout ;
Code:
1 2
| iso81@iso81-desktop:~$ gunzip postgresql-9.0.1.tar.gz
iso81@iso81-desktop:~$ tar xf postgresql-9.0.1.tar |
- j'ai changé de répertoire puis j'ai lancé la configuration :
Code:
1 2 3 4 5 6 7 8 9 10 11
| iso81@iso81-desktop:~$ cd postgresql-9.0.1
iso81@iso81-desktop:~/postgresql-9.0.1$ ./configure --enable--nls='fr'
...
checking whether NLS is wanted... yes
...
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. |
La bibliothèque GNU readline est présente par défaut sur mon système,
http://pix.kegtux.org/images/capturegestionn.png
mais celle ci est introuvale ! Peut être que mon compilateur regarde dans le mauvais répertoire ? Alors, où se trouve le bon ?
Un petit coup d'œil dans le fichier journal généré :
Code:
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
| iso81@iso81-desktop:~/postgresql-9.0.1$ more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by PostgreSQL configure 9.0.1, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --enable-nls=fr
...
configure:2396: checking whether NLS is wanted
configure:2430: result: yes
...
Configured with: ../src/configure -v
--with-pkgversion='Ubuntu 4.4.3-4ubuntu5'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++
--prefix=/usr
--enable-shared
--enable-multiarch
--enable-linker-build-id
--with-system-zlib
--libexecdir=/usr/lib
--without-included-gettext # ==> Pourquoi ???
--enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4
--program-suffix=-4.4
--enable-nls # ==> Mon paramètre est bien présent
--enable-clocale=gnu
--enable-libstdcxx-debug
--enable-plugin
--enable-objc-gc
--enable-targets=all
--disable-werror
--with-arch-32=i486
--with-tune=generic
--enable-checking=release
--build=i486-linux-gnu
--host=i486-linux-gnu
--target=i486-linux-gnu |
La bibliothèque GNU gettext est également présente sur mon système,
http://pix.kegtux.org/images/capturegestqlq.png
alors pourquoi --without-included-gettext ?
:merci: