[DB-SIG] Help installing DCOracle2 under NT

Andreas Jung Andreas Jung" <ajung-ml@andreas-jung.com
Thu, 10 May 2001 07:27:35 -0400


Hi,

using DistUtils for installing DCO2 is currently only working for Unix
(tested
under Linux). Try to remove the check from the setup.py file. Otherwise try
to run the Makefile by hand. Checking for -lpthread is neccessary under Unix
because Python and DCO2 will not run when the Python interpreter is linked
against -lpth.

Did you use the source code or the binary distribution ?

Andreas
Digital Creations

----- Original Message -----
From: "Matthew Cahn" <matthew.cahn@bms.com>
To: <db-sig@python.org>
Cc: <matt@digicool.com>
Sent: Wednesday, May 09, 2001 2:24 PM
Subject: [DB-SIG] Help installing DCOracle2 under NT


> Can anyone give me some help in installing DCOracle2 under
> Windows NT?
>
> I have:
>
>    Windows NT Service Pack 5
>    Python 2.0 from www.python.org installed.
>    DCO2NTA6.ZIP from http://www.zope.org/Members/matt/dco2,
> unzipped.
>
> Should I do this? -- it complains about not being linked against
> pthread:
>
>    C:\Unzipped\Dco2nta6\ZOracleDA>   c:\python20\python.exe
> setup.py install
>    Traceback (most recent call last):
>      File "setup.py", line 36, in ?
>        raise exceptions.RuntimeError,'Python must be linked
> against -lpthread'
>    RuntimeError: Python must be linked against -lpthread
>
> I copied dco2.pyd into C:\Python20\DLLs.
>
> Then I get:
>
>    In a python shell in IDLE:
>    >>> import dco2
>    Traceback (innermost last):
>      File "<pyshell#7>", line 1, in ?
>        import dco2
>    ImportError: DLL load failed: The specified module could not
> be found.
>
> Any help would be appreciated.
>
> Matthew Cahn
> Matthew.CahnNOSPAM@bms.com
>
>
>
> _______________________________________________
> DB-SIG maillist  -  DB-SIG@python.org
> http://mail.python.org/mailman/listinfo/db-sig