psycopg2 [RESOLVIDO]

1. psycopg2 [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 31/07/2010 - 11:41h

alguem que use slack 13.1 ja tentou instalar psycopg2 pq to tentando mais ta dando este erro:

In file included from psycopg/psycopgmodule.c:32:
./psycopg/psycopg.h:31:22: error: libpq-fe.h: No such file or directory
In file included from psycopg/psycopgmodule.c:33:
./psycopg/connection.h:72: error: expected specifier-qualifier-list before 'PGconn'
./psycopg/connection.h:94: error: expected declaration specifiers or '...' before 'PGconn'
In file included from psycopg/psycopgmodule.c:34:
./psycopg/cursor.h:61: error: expected specifier-qualifier-list before 'PGresult'
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:31:28: error: libpq/libpq-fs.h: No such file or directory
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:51: error: expected specifier-qualifier-list before 'Oid'
./psycopg/lobject.h:57: error: expected declaration specifiers or '...' before 'Oid'
./psycopg/lobject.h:57: error: expected declaration specifiers or '...' before 'Oid'
psycopg/psycopgmodule.c: In function 'psyco_register_type':
psycopg/psycopgmodule.c:254: error: 'cursorObject' has no member named 'string_types'
psycopg/psycopgmodule.c:257: error: 'connectionObject' has no member named 'string_types'
error: command 'gcc' failed with exit status 1



  


2. Re: psycopg2 [RESOLVIDO]

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 31/07/2010 - 12:14h

Olhando na net, essa lib faltosa pertence ao pacote do postgresql. Instala ele no seu slackware q pode resolver.


3. Re: psycopg2 [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 31/07/2010 - 17:12h

nada,não tem relacionado sobre o assunto :(


4. Re: psycopg2 [RESOLVIDO]

Joao
stack_of

(usa Slackware)

Enviado em 31/07/2010 - 20:54h

E isso que o Renato informou. Instala o PostgreSQL que vai resolver.


5. Re: psycopg2 [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/08/2010 - 14:00h

opa.. hehehe vlw restalei o postgres e deu certinho vlw ....






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts