Skip to content

Instantly share code, notes, and snippets.

@willettk
Created December 15, 2014 07:30
Show Gist options
  • Save willettk/68e6ddd4a7081a3d8bdb to your computer and use it in GitHub Desktop.
Save willettk/68e6ddd4a7081a3d8bdb to your computer and use it in GitHub Desktop.
[willettk@zrak Montage_v3.3]$ make
(cd lib/src; make)
(cd cfitsio-3.25; ./configure; make; cp libcfitsio.a ../..; cp *.h ../../include)
checking for uname... 1
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for gfortran... no
checking for g95... no
checking for g77... no
checking for f77... no
checking for ifort... no
checking for f95... no
checking for f90... no
checking for xlf... no
checking for cf77... no
checking for gf77... no
checking for af77... no
checking for ncf... no
checking for f2c... no
configure: WARNING: cfitsio: == No acceptable Fortran compiler found in $PATH
configure: cfitsio: == Adding wrapper support for GNU Fortran by default
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
cfitsio: == Using gcc version 4.2.1
checking "whether ftruncate works"... "yes"
checking "whether long long is defined"... "yes"
checking "whether system V style IPC services are supported"... "yes"
checking "do we have flock_t defined in sys/fcntl.h"... "no"
checking "do we have flock_t defined in sys/flock.h"... "no"
checking "do we have union semun defined"... "yes"
checking for library containing gethostbyname... none required
checking for library containing connect... none required
configure: creating ./config.status
config.status: creating Makefile
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cfitsio.pc
Congratulations, Makefile update was successful.
You may want to run "make" now.
make[3]: Nothing to be done for `stand_alone'.
(cd cmd; make; make install)
make[2]: `libcmd.a' is up to date.
cp libcmd.a ../..
cp cmd.h ../../include
(cd coord; make; make install)
make[2]: `libcoord.a' is up to date.
cp libcoord.a ../..
cp coord.h ../../include
(cd mtbl; make; make install)
make[2]: `libmtbl.a' is up to date.
cp libmtbl.a ../..
cp mtbl.h ../../include
(cd svc; make; make install)
make[2]: `libsvc.a' is up to date.
cp libsvc.a ../..
cp svc.h ../../include
(cd boundaries; make; make install)
make[2]: `libboundaries.a' is up to date.
cp libboundaries.a ../..
cp boundaries.h ../../include
(cd pixbounds; make; make install)
make[2]: `libpixbounds.a' is up to date.
cp libpixbounds.a ../..
cp pixbounds.h ../../include
(cd wcstools-3.8.1/libwcs; make; cp libwcs.a ../../..; cp *.h ../../../include)
make[2]: `libwcs.a' is up to date.
(cd two_plane_v1.1; make; make install)
gcc -c -ansi -Wall -g -I. -I../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o initdistdata.o initdistdata.c
initdistdata.c:31:6: error: non-void function 'closefitsfile' should return a value [-Wreturn-type]
return;
^
initdistdata.c:33:3: error: non-void function 'closefitsfile' should return a value [-Wreturn-type]
return;
^
initdistdata.c:49:17: warning: implicit declaration of function 'parse_str' [-Wimplicit-function-declaration]
if ((status = parse_str(fitsheader, CP_Keyvalue, CP_Keyname)) != 0) {
^
initdistdata.c:67:17: warning: implicit declaration of function 'parse_int' [-Wimplicit-function-declaration]
if ((status = parse_int(fitsheader, &ival, CP_Keyname)) != 0) {
^
initdistdata.c:80:22: warning: implicit declaration of function 'parse_double' [-Wimplicit-function-declaration]
if ((status = parse_double(fitsheader, &(coeff->A[i][j]),CP_Keyname)) != 0)
^
initdistdata.c:41:37: warning: unused variable 'CP_Comment' [-Wunused-variable]
char CP_Keyname[FLEN_KEYWORD], CP_Comment[FLEN_COMMENT],
^
initdistdata.c:171:37: warning: unused variable 'CP_Comment' [-Wunused-variable]
char CP_Keyname[FLEN_KEYWORD], CP_Comment[FLEN_COMMENT],
^
initdistdata.c:432:8: warning: unused variable 'CP_Keyvalue' [-Wunused-variable]
char CP_Keyvalue[FLEN_VALUE];
^
6 warnings and 2 errors generated.
make[2]: *** [initdistdata.o] Error 1
cp libtwoplane.a ../..
cp: libtwoplane.a: No such file or directory
make[2]: *** [install] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment