Description of problem When building a simple test application to open a fits file the executable Aborts with the message shown under "Actual results" The offending piece of test code works perfectly on FC9 Version-Release number of selected component (if applicable): 3.1 or 3.06, take your pick How reproducible: 100% Steps to Reproduce: 1. Compile example code for fits reader given in the CCfits documentation 2. Run the object file with a legal fits file to read. 3. Actual results: ERROR: Mismatch in the version of the fitsio.h include file used to build the CFITSIO library, and the version included by the application program: Version used to build the CFITSIO library = 3.100000 Version included by the application program = 3.060000 terminate called after throwing an instance of 'CCfits::FITS::CantOpen' Aborted Expected results: Executable will read FITS primary header and data Additional info:
Hmmmm. Would you please do a: $ rpm -q cfitsio cfitsio-devel CCfits CCfits-devel and post the output?
Output is cfitsio-3.100-1.fc10.x86_64 cfitsio-devel-3.100-1.fc10.x86_64 CCfits-2.0-1.fc9.x86_64 CCfits-devel-2.0-1.fc9.x86_64 /usr/include/cfitsio/fitsio.h contains the line #define CFITSIO_VERSION 3.10 in agreement with the rpm -q. I find it curious that both the CCfits rpms appear to be from fc9, which I just confirmed does ship with version 3.06 of cfitsio, so this may be the problem. I recorded all the extra packages I downloaded, so can tell you that I installed the fits RPM's with the following command: yum install cfitsio cfitsio-devel CCfits CCfits-docs CCfits-devel
Ok. So CCfits needs to be rebuilt because of the version mismatch between it and cfitsio. cfitsio has his annoying ‘feature’ that although the major number of the library doesn't change (and nor does the API), it refuses to run if the versions don't match perfectly. Sergio, I'm asigning this to CCfits; please bump the release of CCfits and rebuild.
I was planning to upgrade to CCfits 2.1 one of this days anyway...
CCfits-2.1-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/CCfits-2.1-1.fc10
CCfits-2.1-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update CCfits'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-10814
CCfits-2.1-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.