error after installing on CentOS 5.8 with source

From: Alan Etkin <spametki(at)gmail(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: error after installing on CentOS 5.8 with source
Date: 2012-07-28 17:54:43
Message-ID: CALtEXdqKFXMzE46Jpy8AOj0LWsjiwCFvS3rC1f+r8ZtfoxcMyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

>
> dir exactly? Didn't you have /usr/local/lib/libpq.so?
>
>
libpq files are stored under /usr/lib (although there is a /usr/local/lib
path)

You can try running the test suite with "make check", after setting

> the PSYCOPG_TESTDB_* env variables and maybe creating a scratch db.
> See tests/testconfig.py to check what are the vars used and their
> default.
>
>
I couldn't run the test until I added the environment PYTHONPATH entry to
the default bash configuration file at etc/profile. with the
...site-packages folder because the python interpreter raised ImportError.

This is surely something misconfigured when installing the python
interpreter in CentOS.

After testing with a new database the result is:

----------------------------------------------------------------------
Ran 382 tests in 131.328s

OK (skipped=45)

Note: The make check test stays idle at test_async_cancel if
PSYCOPG2_TESTDB_PASSWORD is not provided, as the pg database owner is
configured to login for db connection

Thanks again

In response to

Browse psycopg by date

  From Date Subject
Next Message Alan Etkin 2012-07-28 18:10:06 error after installing on CentOS 5.8 with source
Previous Message Daniele Varrazzo 2012-07-27 15:21:45 Re: error after installing on CentOS 5.8 with source