|
From: Oliver V. <vec...@ao...> - 2002-02-18 11:12:33
|
Gerhard H=E4ring wrote:
Thank you for your immediate reply!
> Le 18/02/02 ? 09:52, Oliver Vecernik =E9crivit:
>=20
>>Hi,
>>
>>I'm trying to install pypgsql-2.0.tar.gz on a SuSE 7.3 Linux box. I=20
>>started my build with:
>>
>>python setup.py build
>>
>>and got following error:
>>
>>gcc: unrecognized option `-R/usr/local/pgsql/lib'
>>
>=20
> This is a warning, not an error.
>=20
> Btw. SuSE installs PostgreSQL somewhere else, not /usr/local/pgsql. But=
> maybe you've installed PostgreSQL from a different source or compiled i=
t
> yourself. To use pyPgSQL with SuSE's PostgreSQL RPMs, you'd need to
> change the paths in setup.py.
You're absolutely right. I compiled 7.1.3 myself. Meanwhile I installed=20
the driver and ran the tests.
=2E..........................EF......................
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: CheckWeakReference1 (__main__.PgSQLTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/PgSQLTestCases.py", line 333, in CheckWeakReference1
self.assertEquals(len(self.cnx.cursors.data.keys()), 0,
AttributeError: data
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FAIL: CheckWeakReference2 (__main__.PgSQLTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/PgSQLTestCases.py", line 338, in CheckWeakReference2
self.failUnlessRaises(PgSQL.InterfaceError, self.cur.close)
File "/var/tmp/python-root//usr/lib/python2.1/unittest.py", line 266, =
in failUnlessRaises
raise self.failureException, excName
AssertionError: InterfaceError
----------------------------------------------------------------------
Ran 51 tests in 2.419s
FAILED (failures=3D1, errors=3D1)
What does that mean?
Best Regards,
Oliver
|