> Finaly I succesfully installed the .NET framework, the Platform SDK, and so
> on... a lot o stuff indeed!

I'm not clear on why you'd need the .NET framework (pymol/python stuff is
generally compiled to machine code, not CLR bytecode).  One thing to check
is that you're using the correct compiler (MS has a dialect of c++ that
compiles to CLR bytecode which would probably not work so well as a python
module).

[snip]

> _mysql.c
> C:\Program Files\DeLano Scientific\PyMOL\py24\include\Python.h(41) :
fatal
> error
>  C1083: Cannot open include file: 'unistd.h': No such file or directory
>
> Now I don't have the faintest idea, where should I get unistd.h from...
what
> it is after all?

As far as I know, unistd.h is a POSIX (unix) header file.  I don't know
this is available on windows natively (I believe some versions of windows
are supposed to be POSIX compliant, but I'm not sure how compilant they
are); possibly the pre-processer definations are not being set correctly.

I'd recommend either installing mingw or cywin at this point, and
compiling pymol from source, then using the same compilers to build the
mysql module.  Actually, I'd recommend switching to linux or another unix
varient (OS X, one of the bsd's, etc); but that may be more trouble than
you're willing to go to for this problem.  But possibly someone with more
experience in windows programming than I am has a better suggestion.

Good luck,

Pete


Pete Meyer
Fu Lab
BMCB grad student
Cornell University





Reply via email to