Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure at install in suse 11.4 #7

Open
dstndstn opened this issue Mar 24, 2013 · 1 comment
Open

failure at install in suse 11.4 #7

dstndstn opened this issue Mar 24, 2013 · 1 comment

Comments

@dstndstn
Copy link
Member

From the forum,
http://forum.astrometry.net/index.php?p=/discussion/4187/failure-at-install-in-suse-11.4

Hello.

I succesfully installed the command-line edition on my mac. Thanks

However, when trying on my linux desktop (main data reduction machine for me),
the makefile stops here:

gcc -g -Wall -ffinite-math-only -fno-signaling-nans -pthread -march=native -O3 -fomit-frame-pointer -DNDEBUG -fPIC -Winline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../util -I../util -I../libkd -I../gsl-an -I../qfits-an/include -I/usr/local/include -I../catalogs -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -c -o image2xy-files.o image2xy-files.c
image2xy-files.c:32:20: fatal error: fitsio.h: No such file or directory
compilation terminated.
make[1]: *** [image2xy-files.o] Error 1
make[1]: Leaving directory `/usr/local/astrometry.net-0.42/blind'
make: *** [subdirs] Error 2

I have cfitsio and pyfits installed in the usual places. I pointed the include directory in my .bashrc
and even tried to point the cfitsio.pc into the pkg config path

could you help me? The test in my mac ran beautifully so I would love to implement the solving
in a pipeline...

thanks in advance

Carlos

@dstndstn
Copy link
Member Author

Hi,

That failure to find fitsio.h means that it can't find cfitsio . Try:

pkg-config --cflags cfitsio

you should get something like:

> pkg-config --cflags cfitsio
-I/usr/local/Cellar/cfitsio/3.310/include 

Depending on where it is installed, you may need to have cfitsio in your PKG_CONFIG_PATH, eg, you might have in your ~/.bashrc file:

export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/local/Cellar/cfitsio/3.310/lib/pkgconfig/

If it's installed in some standard place like /usr or /usr/local, ensure that the header is also installed;

ls /usr/local/include/fitsio.h
ls /usr/include/fitsio.h

OH, maybe you need the cfitsio-dev package if you installed it via Suse's package manager?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant