[DB-SIG] Help installing DCOracle2 under NT

Matthew Cahn Matthew.Cahn@bms.com
Thu, 10 May 2001 10:12:19 -0400


--------------AF992953BB3D519D9F4883C7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I installed the binary distribution of Python 2.0 under NT.

Do I need to compile DCOracle2, or might there be a binary
distribution for NT?

Thanks,
Matthew

Andreas Jung wrote:

> 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

--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Matthew Cahn
%  Principal Scientific Support Analyst
%  Bristol-Myers Squibb Company
%  Mailbox code: H23-05
%  P.O. Box 4000
%  Princeton, NJ 08543-4000
%
%  Phone: (609) 252-3477
%  Fax:   (609) 252-6030
%  Cell:  (609) 462-3603
%  Email: Matthew.Cahn@bms.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



--------------AF992953BB3D519D9F4883C7
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I installed the binary distribution of Python 2.0 under NT.
<p>Do I&nbsp;need to compile DCOracle2, or might there be a binary
<br>distribution for NT?
<p>Thanks,
<br>Matthew
<p>Andreas Jung wrote:
<blockquote TYPE=CITE>Hi,
<p>using DistUtils for installing DCO2 is currently only working for Unix
<br>(tested
<br>under Linux). Try to remove the check from the setup.py file. Otherwise
try
<br>to run the Makefile by hand. Checking for -lpthread is neccessary under
Unix
<br>because Python and DCO2 will not run when the Python interpreter is
linked
<br>against -lpth.
<p>Did you use the source code or the binary distribution ?
<p>Andreas
<br>Digital Creations
<p>----- Original Message -----
<br>From: "Matthew Cahn" &lt;matthew.cahn@bms.com>
<br>To: &lt;db-sig@python.org>
<br>Cc: &lt;matt@digicool.com>
<br>Sent: Wednesday, May 09, 2001 2:24 PM
<br>Subject: [DB-SIG] Help installing DCOracle2 under NT
<p>> Can anyone give me some help in installing DCOracle2 under
<br>> Windows NT?
<br>>
<br>> I have:
<br>>
<br>>&nbsp;&nbsp;&nbsp; Windows NT Service Pack 5
<br>>&nbsp;&nbsp;&nbsp; Python 2.0 from www.python.org installed.
<br>>&nbsp;&nbsp;&nbsp; DCO2NTA6.ZIP from <a href="http://www.zope.org/Members/matt/dco2">http://www.zope.org/Members/matt/dco2</a>,
<br>> unzipped.
<br>>
<br>> Should I do this? -- it complains about not being linked against
<br>> pthread:
<br>>
<br>>&nbsp;&nbsp;&nbsp; C:\Unzipped\Dco2nta6\ZOracleDA>&nbsp;&nbsp; c:\python20\python.exe
<br>> setup.py install
<br>>&nbsp;&nbsp;&nbsp; Traceback (most recent call last):
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File "setup.py", line 36, in ?
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raise exceptions.RuntimeError,'Python
must be linked
<br>> against -lpthread'
<br>>&nbsp;&nbsp;&nbsp; RuntimeError: Python must be linked against -lpthread
<br>>
<br>> I copied dco2.pyd into C:\Python20\DLLs.
<br>>
<br>> Then I get:
<br>>
<br>>&nbsp;&nbsp;&nbsp; In a python shell in IDLE:
<br>>&nbsp;&nbsp;&nbsp; >>> import dco2
<br>>&nbsp;&nbsp;&nbsp; Traceback (innermost last):
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File "&lt;pyshell#7>", line 1, in ?
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; import dco2
<br>>&nbsp;&nbsp;&nbsp; ImportError: DLL load failed: The specified module
could not
<br>> be found.
<br>>
<br>> Any help would be appreciated.
<br>>
<br>> Matthew Cahn
<br>> Matthew.CahnNOSPAM@bms.com
<br>>
<br>>
<br>>
<br>> _______________________________________________
<br>> DB-SIG maillist&nbsp; -&nbsp; DB-SIG@python.org
<br>> <a href="http://mail.python.org/mailman/listinfo/db-sig">http://mail.python.org/mailman/listinfo/db-sig</a></blockquote>

<pre>--&nbsp;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%&nbsp; Matthew Cahn
%&nbsp; Principal Scientific Support Analyst
%&nbsp; Bristol-Myers Squibb Company
%&nbsp; Mailbox code: H23-05
%&nbsp; P.O. Box 4000
%&nbsp; Princeton, NJ 08543-4000
%
%&nbsp; Phone: (609) 252-3477
%&nbsp; Fax:&nbsp;&nbsp; (609) 252-6030
%&nbsp; Cell:&nbsp; (609) 462-3603
%&nbsp; Email: Matthew.Cahn@bms.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</pre>
&nbsp;</html>

--------------AF992953BB3D519D9F4883C7--