Niko Tyni wrote:
Package: libastro-fits-cfitsio-perl
Version: 1.05-1
Severity: serious
Justification: fails to build from source

The libastro-fits-cfitsio-perl package version 1.05-1 fails
to build from source on the mipsel [1] and arm [2] architectures
because some of the tests fail:
...

To fix this problem, some additional tests need to be added to the macro code in the fitsio2.h file so that it defines BYTESWAPPED correctly; it should be defined as TRUE on a little-endian architecture, and FALSE on a big-endian architecture. In the case of MIPS, the current test in CFITSIO simply consists of:

#if defined(_MIPS_SZLONG)
#define BYTESWAPPED FALSE

Can someone tell me how this should be changed so that it distinguishs between the MIPS (big-endian) and MIPSEL (little-endian) environments?

I'm unfamiliar with ARM. Is this always a little-endian environment? What should the CFISIO macro test for to detect this environment?

Bill Pence
--
____________________________________________________________________
Dr. William Pence                       [EMAIL PROTECTED]
NASA/GSFC Code 662       HEASARC        +1-301-286-4599 (voice)
Greenbelt MD 20771                      +1-301-286-1684 (fax)




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to