[Stoq-users] Dificuldade Para Instalar STOQ
Jose Ricardo Costa
bazarjricardo em gmail.com
Quinta Maio 20 11:12:24 BRT 2010
Bom dia a todos,
Estou tentando instalar o STOQ e não estou conseguindo preciso de uma ajuda.
Entrei no site do stoq e vi os requisitos minimos, e estava instalando
todos antes de instalar o STOQ segunda a lista de requisitos eu precisaria:
- PostgreSQL <http://www.postgresql.org/> – 8.1 ou maior (apenas no
servidor)
- PyGTK <http://www.pygtk.org/> – 2.9.1 ou maior
- Psycopg <http://initd.org/pub/software/psycopg/PSYCOPG-2-0/> – 2.0.5
(PAREI AQUI)
- Zope.Interface <http://www.zope.org/Products/ZopeInterface> – 3.0.0 ou
maior (instalei)
- Python Imaging Library <http://www.pythonware.com/products/pil/> –
1.1.5 ou maio r(instalei)
- Report Lab <http://www.reportlab.org/> – 1.20 (instalei)
- PySerial <http://pyserial.sourceforge.net/> – 2.2 ou maior (instalei)
Quando tento instalar o PSYCOPG ele me da a seguinte mensagem de erro:
loja em loja-laptop:/media/PASTA/Arquivos instalação stoq/psycopg2-2.0.14$
sudo python setup.py install
[sudo] password for loja:
running install
running build
running build_py
running build_ext
Warning: Unable to find 'pg_config' filebuilding 'psycopg2._psycopg'
extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.14
(release-candidate-1 dt dec ext pq3)" -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1
-I/usr/local/include/python2.4 -I. -c psycopg/psycopgmodule.c -o
build/temp.linux-i686-2.4/psycopg/psycopgmodule.o
In file included from psycopg/psycopgmodule.c:32:
./psycopg/psycopg.h:31:22: error: libpq-fe.h: Arquivo ou diretório não
encontrado
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: Arquivo ou diretório não
encontrado
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
Eu estou tentando instalar no ubuntu Ubuntu 10.04 LTS.
Galera desculpa a amolação mas sou um usuario iniciante em Linux, se vocês
poderem me ajudar ficarei agradecido.
Atenciosamente
Fabiano
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://www.async.com.br/pipermail/stoq-users/attachments/20100520/5a14a5ad/attachment.html>
More information about the Stoq-users
mailing list