I'm to the point where I don't know what else to do. I'm trying to run Astrometry.net on cygwin and after much frustration, I'm fairly certain I have all of the packages I need to move forward. Alas, netpbm is still not working.
I've followed the build instructions, make/make py/make extra/make install to the point where I have the Astrometry.net executables.
I'm not sure this is the correct syntax, but from what I was seeing on this blog I figured it was correct
and I've exported that to environment variables as well...
$ make makefile.os-features
Makefile:61: makefile.os-features: No such file or directory
---- Error messages in the next few commands are not necessarily bugs ----
(we're checking how things works on your computer)
rm -f os-features-makefile.log
Testing netpbm...
NETPBM_INC_ORIG is -l/usr/local/netpbm/include
NETPBM_LIB_ORIG is /usr/local/netpbm/lib/libnetpbm.a
( \
echo "# This file is generated by util/Makefile."; \
((gcc -o os-features-test-netpbm-make \
-g -Wall -ffinite-math-only -fno-signaling-nans -pthread -march=native -O3 -fomit-frame-pointer -DNDEBUG -Winline -I../include -I../include/astrometry -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DAN_GIT_REVISION='"0.67"' -DAN_GIT_DATE='"Mon_Jan_25_11:20:00_2016_-0500"' -DAN_GIT_URL='"
https://github.com/dstndstn/astrometry.net"' -I../util -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libpng16 -I../include -I../include/astrometry -I../gsl-an -I../include -I../include/astrometry -I../gsl-an -I. -DTEST_NETPBM_MAKE -l/usr/local/netpbm/include os-features-test.c -g -Wall -ffinite-math-only -fno-signaling-nans -pthread -march=native -O3 -fomit-frame-pointer -DNDEBUG -Winline /usr/local/netpbm/lib/libnetpbm.a >> os-features-makefile.log && \
./os-features-test-netpbm-make >> os-features-makefile.log && \
echo "HAVE_NETPBM := yes") \
|| (echo "# Astrometry.net didn't find netpbm; not setting HAVE_NETPBM."; \
echo "# See os-features-makefile.log for details."; \
echo "# To re-run this test, do 'make reconfig; make makefile.os-features' (in the 'util' directory)"; \
echo "# Or to do it yourself, just uncomment this line:"; \
echo "# HAVE_NETPBM := yes")) \
; \
echo) > makefile.os-features.tmp
os-features-test.c:75:17: fatal error: pam.h: No such file or directory
#include <pam.h>
^
compilation terminated.
--------------- End of expected error messages -----------------
mv makefile.os-features.tmp makefile.os-features
Config results:
------------------------------
cat makefile.os-features
# This file is generated by util/Makefile.
# Astrometry.net didn't find netpbm; not setting HAVE_NETPBM.
# See os-features-makefile.log for details.
# To re-run this test, do 'make reconfig; make makefile.os-features' (in the 'util' directory)
# Or to do it yourself, just uncomment this line:
# HAVE_NETPBM := yes
------------------------------
And, by the way, is WCSlib support being compiled in?
pkg-config --exists wcslib && echo yes || echo no
no
WCSLIB_INC:
WCSLIB_LIB:
------------------------------
make: 'makefile.os-features' is up to date.
This all started because I was getting error messages when I tried to solve-field test images.
The astrometry.cfg file has my filepath to the index files, but solve-field says it failed to open index directory.