Instalacion de postgres
Despues de descomprimir el archivo en la carpeta postgresql-8.1.4 pongo ./configure y me aparece esto :
re
checking build system type... I686-pc-linux-gnu
checking host system type... I686-pc-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
configure: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
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 Kerberos 5 support... No
checking whether to build with PAM 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 gawk... No
checking for mawk... Mawk
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 whether ln -s works... Yes
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 lorder... Lorder
checking for tar... /bin/tar
checking for strip... Strip
checking whether it is possible to strip libraries... Yes
checking for bison... No
configure: WARNING:
*** Without Bison you will not be able to build PostgreSQL from CVS or
*** 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 perl... /usr/bin/perl
checking for main in -lbsd... No
checking for setproctitle in -lutil... No
checking for main in -lm... Yes
checking for main in -ldl... Yes
checking for main in -lnsl... Yes
checking for main in -lsocket... No
checking for main in -lipc... No
checking for main in -lIPC... No
checking for main in -llc... No
checking for main in -ldld... No
checking for main in -lld... No
checking for main in -lcompat... No
checking for main in -lBSD... No
checking for main in -lgen... No
checking for main in -lPW... No
checking for main in -lresolv... Yes
checking for library containing getopt_long... None required
checking for main in -lunix... No
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... None required
checking for shmget in -lcygipc... No
checking for readline... 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@Adm-ubuntu:/home/administrador/postgresql-8.1.4#
--------------------------------------------
Me esta tirarndo errores pero no se cuales son?
AYUDA¡¡¡¡¡¡
re
checking build system type... I686-pc-linux-gnu
checking host system type... I686-pc-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
configure: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
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 Kerberos 5 support... No
checking whether to build with PAM 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 gawk... No
checking for mawk... Mawk
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 whether ln -s works... Yes
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 lorder... Lorder
checking for tar... /bin/tar
checking for strip... Strip
checking whether it is possible to strip libraries... Yes
checking for bison... No
configure: WARNING:
*** Without Bison you will not be able to build PostgreSQL from CVS or
*** 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 perl... /usr/bin/perl
checking for main in -lbsd... No
checking for setproctitle in -lutil... No
checking for main in -lm... Yes
checking for main in -ldl... Yes
checking for main in -lnsl... Yes
checking for main in -lsocket... No
checking for main in -lipc... No
checking for main in -lIPC... No
checking for main in -llc... No
checking for main in -ldld... No
checking for main in -lld... No
checking for main in -lcompat... No
checking for main in -lBSD... No
checking for main in -lgen... No
checking for main in -lPW... No
checking for main in -lresolv... Yes
checking for library containing getopt_long... None required
checking for main in -lunix... No
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... None required
checking for shmget in -lcygipc... No
checking for readline... 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@Adm-ubuntu:/home/administrador/postgresql-8.1.4#
--------------------------------------------
Me esta tirarndo errores pero no se cuales son?
AYUDA¡¡¡¡¡¡
1 Respuesta
Respuesta de shenron
1