Skip site navigation (1) Skip section navigation (2)

Error compilando pg_top

From: Gustavo <ghreyes71(at)googlemail(dot)com>
To: pgsql-es-ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Error compilando pg_top
Date: 2009-05-29 20:55:51
Message-ID: 6494b8f60905291355o33a01eb4p2dd164c5a275f83f@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
1. Se trata de un PostgreSQL 7.3
2. Plataforma Linux
3. Instale postgresql-devel y libncurses5-dev para las dependencias.
4. El error es:

   make  all-am
   make[1]: Entering directory `/usr/src/pg_top-3.6.2'
   gcc -DHAVE_CONFIG_H -I.  -I/usr/include/pgsql   -Wall -g -MT
sprompt.o -MD -MP -MF .deps/sprompt.Tpo -c -o sprompt.o sprompt.c
   In file included from sprompt.c:29:
   c.h:54:64: pg_config_manual.h: No such file or directory
   In file included from c.h:57,
                 from sprompt.c:29:
   /usr/include/pgsql/pg_config_os.h:8: error: redefinition of `slock_t'
   /usr/include/pgsql/pg_config_os.h:8: error: `slock_t' previously
declared here
   make[1]: *** [sprompt.o] Error 1
   make[1]: Leaving directory `/usr/src/pg_top-3.6.2'
   make: *** [all] Error 2

5. Es obvio que la cosa viene por "pg_config_manual.h", pero no se
donde deberia estar o en que paquete viene. Se debe a que uso la
version 7.3? Pasar a 8.x no es una opcion.

Se agradece la ayuda de la comunidad.
Gracias.

-- 

        \|||||||/
        ( @   @ )
 -----oOOo-( )---oOOo--------
 |     Gustavo H Reyes       |
 |  " espacio disponible "   |
 |  " para publicidad ;) "   |
 |  Ciudad de Buenos Aires   |
 |      REP. ARGENTINA       |
 ---------------0ooo---------
   ooo0        (   )
   (  )         ) /
    \ (        (_/
     \_)

Responses

pgsql-es-ayuda by date

Next:From: Carlos BazánDate: 2009-05-29 21:16:43
Subject: Funciones y esquemas
Previous:From: Ernesto QuiñonesDate: 2009-05-29 17:31:38
Subject: Fwd: [pgsql-advocacy] 8.4 release draft in progress ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group