Il giorno mer, 14/10/2009 alle 10.39 +0530, Arun Tomar ha scritto:
> I"m on osol0906, with python2.6 on a virtualenv. I want to install
> psycopg2 (postgres driver), but i'm not able to. 
> 
> I"ve tried both the methods, easy_install and python setup.py build
> both
> of them throws error. 
> 
> (venv)arun at opensolaris:/tmp/psycopg2-2.0.13$ python
> Python 2.6.1 (r261:67515, Mar 10 2009, 14:11:34) [C] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> ^D
> 
> (venv)arun at opensolaris:/tmp$ cd psycopg2-2.0.13/
> (venv)arun at opensolaris:/tmp/psycopg2-2.0.13$ ls
> AUTHORS    debian  examples  lib      MANIFEST     PKG-INFO
> psycopg2da
> scripts    setup.py  ZPsycopgDA
> ChangeLog  doc     INSTALL   LICENSE  MANIFEST.in  psycopg   README
> setup.cfg  tests
> 
> (venv)arun at opensolaris:/tmp/psycopg2-2.0.13$ python setup.py build
> running build
> running build_py
> creating build
> creating build/lib.solaris-2.11-i86pc-2.6
> creating build/lib.solaris-2.11-i86pc-2.6/psycopg2
> copying lib/tz.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2
> copying lib/extensions.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2
> copying lib/pool.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2
> copying lib/__init__.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2
> copying lib/psycopg1.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2
> copying lib/extras.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2
> copying lib/errorcodes.py -> build/lib.solaris-2.11-i86pc-2.6/psycopg2
> running build_ext
> error: No such file or directory 

setup.py does not find pg_config. Install the development packages for
PostgreSQL.

Hope this helps,
federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                fog at debian.org
INIT.D Developer                                           fog at initd.org
 Degli altri, della gente senza domande, si puo' fare a meno.
                                                       -- macchinavapore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Questa ? una parte del messaggio  firmata digitalmente
URL: 
<http://mail.opensolaris.org/pipermail/databases-discuss/attachments/20091014/c3caf86f/attachment.bin>

Reply via email to