Nunkiii / node-fits

A Node JS library for handling FITS astronomical files.
2 stars 3 forks source link

Fedora 20 build issues #2

Open RusAlex opened 10 years ago

RusAlex commented 10 years ago

I've install all packages.

yum install CCfits*
yum install cfitsio*

But it still throws error

In file included from ../fits/fits.cpp:4:0:
../fits/fits.hh:7:20: fatal error: fitsio.h: No such file or directory
 #include <fitsio.h>
                     ^
                     compilation terminated.
Nunkiii commented 10 years ago

Maybe you need to install a devel package of cfitsio containing the fitsio.h header. You can also get the source from http://heasarc.gsfc.nasa.gov/docs/software/fitsio/

If it is not installed in the /usr/include directory, you should add this directory to the binding.gyp file in "include_dirs" section and do

   node_gyp configure; node-gyp rebuild