[Bioperl-l] Installing staden io_lib on windows?

aaron.j.mackey at gsk.com aaron.j.mackey at gsk.com
Thu Jul 27 12:54:05 UTC 2006


Hi Scott,

> In file included from Read.h:43, 
> from Read.c:40: 
> ../utils/os.h:346:2: #error Must define SP_BIG_ENDIAN or
> SP_LITTLE_ENDIAN in Makefile 


os.h has a bunch of #ifdef statements that check for platforms, and there 
isn't one for cygwin (but there is for MinGW)

Try running configure with "--CFLAGS=-DSP_LITTLE_ENDIAN" or somesuch

Also take a look at the MinGW section of os.h to see if there are others 
you will likely need (e.g. NOPIPE, NOLOCKF, etc)

Alternatively, you may want to just edit the original os.h to duplicate 
the MinGW section with the appropriate compiler constant for CYGWIN 
(__CYGWIN__ I'm guessing, but don't really know for sure).

Good luck,

-Aaron




More information about the Bioperl-l mailing list