bugGNU Octave - Bugs: bug #41208, fits package: fails to find header...


bug #41208: fits package: fails to find header file fitsio.h

Submitted by:  John Donoghue <lostbard>
Submitted on:  Sun 12 Jan 2014 06:02:54 AM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  John D Open/Closed:  Closed
Release:  3.8.0 Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 13 Mar 2015 03:42:15 AM UTC, comment #4: 

Forgot to mention that fits 1.0.6 in mercurial has fixed this, but it doesn't look like this version has been released on the Octave Forge web site.

Mike Miller <mtmiller>
Project Administrator
Fri 13 Mar 2015 03:35:43 AM UTC, comment #3: 

It looks to me like the remaining issue was fixed in the fits 1.0.6 package release, the maintainer neglected to comment here. Closing as fixed.

Mike Miller <mtmiller>
Project Administrator
Sat 31 May 2014 10:58:17 AM UTC, comment #2: 

API number issue fixed in fits-1.0.4.

Using fits-1.0.5:
I still see the issue with not being able to see fitsio.h in fedora 20, even though I have the cfits-devel package installed and can see the file in /usr/include/cfitsio/fitsio.h

If I override CPPFLAGS to include -I/usr/include/cfitsio

The packages should probally use the pkgconfig cflags variable like it does for the library to get the include path.

John Donoghue <lostbard>
Project Member
Mon 13 Jan 2014 11:45:37 AM UTC, comment #1: 

Adding maintainer of the FITS package to the mail notification list for this bug.

Carnë Draug <carandraug>
Project Member
Sun 12 Jan 2014 06:02:54 AM UTC, original submission:  

Trying to install the 1.0.3 package using Octave 3.8.0.

On my Windows machine and Linux machines both fail compiling the mex files as it attempts to use MArrayN.
Looking at the code the actual issue is that it expects  OCTAVE_API_VERSION_NUMBER to be defined.

In addition, on my fedora machine, it does not find cfitsio.h.

Patch attached with the changes I did to make it install on both.

John Donoghue <lostbard>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #30249:  of-fits-1-fixes.patch added by lostbard (938B - application/octet-stream)


Depends on the following items: None found

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by carandraug (Dirk schmidt, maintainer of the FITS package)
  • -email is unavailable- added by lostbard (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-13 mtmiller Summaryfits package: => fits package: fails to find header file fitsio.h
    2015-03-13 mtmiller StatusNone => Fixed
        Open/ClosedOpen => Closed
        SummaryOctave Forge \'fits 1.0.3\' package fails pkg install => fits package:
    2014-02-13 carandraug Dependencies- => bugs #41578 is dependent
    2014-01-13 carandraug Carbon-Copy- => Added fs@dirk-schmidt.net
    2014-01-13 lostbard SummaryOctave Forg fits 1.0.3 wont compile => Octave Forge 'fits 1.0.3' package fails pkg install
    2014-01-12 lostbard Attached File- => Added of-fits-1-fixes.patch, #30249

    Back to the top

    Powered by Savane 3.5