error after installing on CentOS 5.8 with source

Поиск
Список
Период
Сортировка
От Alan Etkin
Тема error after installing on CentOS 5.8 with source
Дата
Msg-id CALtEXdqKFXMzE46Jpy8AOj0LWsjiwCFvS3rC1f+r8ZtfoxcMyg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: error after installing on CentOS 5.8 with source  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список 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

В списке psycopg по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: error after installing on CentOS 5.8 with source
Следующее
От: Alan Etkin
Дата:
Сообщение: error after installing on CentOS 5.8 with source