11 May 2004 18:04
Re: Re: Work towards getting KDTree compiling
Marc Colosimo <mcolosimo <at> mitre.org>
2004-05-11 16:04:06 GMT
2004-05-11 16:04:06 GMT
On May 10, 2004, at 4:17 PM, Brad Chapman wrote: > Hi Michiel; > > [mingw32] > [snip] > > [Sun] > [snip] > > [Mac OS X] >>> Hmmm. How do they crash? Just a core dump? Can you attach gdb and >>> see anything? Also, is this with gcc? What versions? For the record, >>> I'm compiling with gcc version 2.95.4 and 3.3.3 without any >>> problems. >>> >> >> I'm not sure if this will help much but this is what I get from gdb: >> >>>>> from Bio.KDTree import * >> Reading symbols for shared libraries . done >> Reading symbols for shared libraries . done >> Reading symbols for shared libraries . done >> Reading symbols for shared libraries . done >> Reading symbols for shared libraries . done >> Reading symbols for shared libraries . done >> Reading symbols for shared libraries . done(Continue reading)
.
> Thanks for putting up with this remote debugging process.
>
> First thing about your traceback -- it looks like the bdist_wininst
> is using the Microsoft Visual C++ compiler -- at least that is where
> the traceback is coming from. Is that, uh, strange, or normal
> behavior?
That is probably OK. The bdist_wininst command creates an installer from the
compiled and linked files (created by the build command), but doesn't do any
compiling itself.
> Secondly, it should support compiling on msvc regardless, so I tried
> to modify the setup.py to do this. Basically, msvc uses a different
> interface to specify the compilers, which I tried to take into
> account. I also disabled C++ compilation on msvc until we have
> someone with the compiler willing to get it all worked out.
Sorry, no luck. With the Microsoft Visual C++ compiler, I get the following
error when running python setup.py build:
C:\Program Files\Microsoft Visual Studio\VC98\BIN\link.exe /DLL /nologo /INCREME
NTAL:NO /LIBPATH:c:\Python23\libs /LIBPATH:c:\Python23\PCBuild /EXPORT:initclust
er build\temp.win32-2.3\Release\Bio/Cluster/clustermodule.obj build\temp.win32-2
.3\Release\Bio/Cluster/cluster.obj build\temp.win32-2.3\Release\Bio/Cluster/ranl
ib.obj build\temp.win32-2.3\Release\Bio/Cluster/com.obj build\temp.win32-2.3\Rel
ease\Bio/Cluster/linpack.obj /OUT:build\lib.win32-2.3\Bio\Cluster\cluster.pyd /I
MPLIB:build\temp.win32-2.3\Release\Bio/Cluster\cluster.lib
?????? build\temp.win32-2.3\Release\Bio/Cluster\cluster.lib ????????? build\t
RSS Feed