[BioPython] trying to install under cygwin
Brad Chapman
chapmanb@arches.uga.edu
Sun, 24 Nov 2002 15:45:18 -0500
Hi Daniel;
> Next, I tried python setup.py build --compiler=cygwin
> and but then I get this error:
>
> In file included from
> d:/ProgramFiles/python22/include/Python.h:62,
> from Bio/cSVMmodule.c:12:
> d:/ProgramFiles/python22/include/pyport.h:480:2:
> #error "LONG_BIT definition appears wrong for platf
> orm (bad gcc/glibc config?)."
> error: command 'gcc' failed with exit status 1
I really have zero idea about cygwin as I never use it, but I guess I
can try to make something up. Is your installed python compiled with
cygwin? It will have to be for the gcc compiler in cygwin to be able
to be used, otherwise you have weird-o libraries from different
compilers and it could get all ugly like this. Did you do all the
stuff on the page I sent earlier?:
http://www.python.org/doc/current/inst/non-ms-compilers.html
There are steps there that it looks like you'll have to do (I know you
have to do something similar for Borland, which I have done).
The other solution is to just not used the compiled extensions, if you
don't need them specifically. In that case, just comment out the whole
ext_modules stuff in setup.py and run it again, this will just install
the python stuff and all should be good.
Hope this helps. Sorry I really don't know much.
Brad