WCSTOOLS environment variable not found, assuming /usr/local/wcstools Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lwcs Writing Makefile for Astro::WCS::LibWCS cp LibWCS.pm blib/lib/Astro/WCS/LibWCS.pm AutoSplitting blib/lib/Astro/WCS/LibWCS.pm (blib/lib/auto/Astro/WCS/LibWCS) /home/cpanrun/ia64/build/5.8.2/bin/perl /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/typemap -typemap typemap LibWCS.xs > LibWCS.xsc && mv LibWCS.xsc LibWCS.c cc -c -I/usr/local/wcstools/libwcs -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"0.91\" -DXS_VERSION=\"0.91\" +Z "-I/home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi/CORE" LibWCS.c Error 112: "LibWCS.xs", line 5 # Include file "wcs.h" not found. #include "wcs.h" ^^^^^^^ Error 112: "LibWCS.xs", line 6 # Include file "wcscat.h" not found. #include "wcscat.h" ^^^^^^^^^^ Error 112: "util.h", line 4 # Include file "wcs.h" not found. #include "wcs.h" ^^^^^^^ Error 112: "LibWCS.xs", line 8 # Include file "fitsfile.h" not found. #include "fitsfile.h" ^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 446 # Types 'WorldCoor *' and 'int' are not assignment-compatible. RETVAL = wcsninit(hstring, len); ^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 478 # Types 'WorldCoor *' and 'int' are not assignment-compatible. RETVAL = wcsinit(hstring); ^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 519 # Types 'WorldCoor *' and 'int' are not assignment-compatible. RETVAL = wcsninitn(hstring, len, wcsname); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 559 # Types 'WorldCoor *' and 'int' are not assignment-compatible. RETVAL = wcsinitn(hstring, wcsname); ^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 593 # Types 'WorldCoor *' and 'int' are not assignment-compatible. RETVAL = wcsninitc(hstring, len, &wcschar); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 626 # Types 'WorldCoor *' and 'int' are not assignment-compatible. RETVAL = wcsinitc(hstring, &wcschar); ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 694 # Types 'WorldCoor *' and 'int' are not assignment-compatible. RETVAL = wcsxinit(cra, cdec, secpix, xrpix, yrpix, nxpix, nypix, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 746 # Types 'WorldCoor *' and 'int' are not assignment-compatible. RETVAL = wcskinit(naxis1, naxis2, ctype1, ctype2, crpix1, crpix2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 1371 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = getwcsout(wcs); ^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 1436 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = getwcsin(wcs); ^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 1527 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = getradecsys(wcs); ^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 1994 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = getwcscoor(); ^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 2073 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = getwcscom(i); ^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 3603 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = hgetc(hstring, keyword); ^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 3643 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = blsearch(hstring, keyword); ^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 3683 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = ksearch(hstring, keyword); ^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 3783 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = strsrch(s1, s2); ^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 3824 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = strnsrch(s1, s2, ls1); ^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 3864 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = strcsrch(s1, s2); ^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 3905 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = strncsrch(s1, s2, ls1); ^^^^^^^^^^^^^^^^^^^^^^ Error 359: "LibWCS.xs", line 1471 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'WorldCoor *' and 'struct WorldCoor' has not been defined yet. ncoeff1 = wcs->ncoeff1; ^^^ Error 359: "LibWCS.xs", line 1472 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'WorldCoor *' and 'struct WorldCoor' has not been defined yet. ncoeff2 = wcs->ncoeff2; ^^^ Error 359: "LibWCS.xs", line 1918 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'StarCat *' and 'struct StarCat' has not been defined yet. tmagdims[0] = starcat->nmag; ^^^^^^^ Warning 942: "LibWCS.xs", line 1922 # Types 'StarCat *' and 'int' are not assignment-compatible. starcat = tabcatopen (tabcatname, NULL, 0); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error 359: "LibWCS.xs", line 1924 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'StarCat *' and 'struct StarCat' has not been defined yet. tmagdims[0] = starcat->nmag; ^^^^^^^ Error 359: "LibWCS.xs", line 1989 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'StarCat *' and 'struct StarCat' has not been defined yet. tmagdims[0] = starcat->nmag; ^^^^^^^ Warning 942: "LibWCS.xs", line 1993 # Types 'StarCat *' and 'int' are not assignment-compatible. starcat = tabcatopen (tabcatname, NULL, 0); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error 359: "LibWCS.xs", line 1995 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'StarCat *' and 'struct StarCat' has not been defined yet. tmagdims[0] = starcat->nmag; ^^^^^^^ Warning 942: "LibWCS.xs", line 2066 # Types 'StarCat *' and 'int' are not assignment-compatible. starcat = tabcatopen (tabcatname, NULL, 0); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 5742 # Types 'StarCat *' and 'int' are not assignment-compatible. RETVAL = tabcatopen(tabfile, tabtable, nbbuff); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 5839 # Types 'TabTable *' and 'int' are not assignment-compatible. RETVAL = tabopen(tabfile, nbbuff); ^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 5897 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = gettabline(tabtable, iline); ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 6746 # Types 'Range *' and 'int' are not assignment-compatible. RETVAL = RangeInit(string, ndef); ^^^^^^^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 6915 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = dt2fd(date, time); ^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 7273 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = lt2fd(); ^^^^^^^ Warning 942: "LibWCS.c", line 7547 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = mjd2fd(jd); ^^^^^^^^^^ Warning 942: "LibWCS.c", line 7595 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = ep2fd(epoch); ^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 7620 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = epb2fd(epoch); ^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 7645 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = epj2fd(epoch); ^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 8132 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = jd2fd(jd); ^^^^^^^^^ Warning 942: "LibWCS.c", line 8353 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = doy2fd(year, doy); ^^^^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 8979 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = fd2fd(string); ^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 9011 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = fd2of(string); ^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 9043 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = et2fd(string); ^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 9075 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = fd2et(string); ^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 9272 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = fd2ofd(string); ^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 9304 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = fd2oft(string); ^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 9576 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = tsi2fd(isec); ^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 9624 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = tsu2fd(isec); ^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 9721 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = ts2fd(sec); ^^^^^^^^^^ Warning 942: "LibWCS.c", line 9986 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = ut2fd(); ^^^^^^^ Warning 942: "LibWCS.c", line 10128 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = fd2gst(string); ^^^^^^^^^^^^^^ Warning 942: "LibWCS.c", line 10208 # Types 'char *' and 'int' are not assignment-compatible. RETVAL = fd2mst(string); ^^^^^^^^^^^^^^ Error 244: "LibWCS.xs", line 3502 # sizeof may not be applied to an undefined struct. wcs = malloc(sizeof(WCS)); ^^^ Error 244: "LibWCS.xs", line 3557 # sizeof may not be applied to an undefined struct. wcs = malloc(sizeof(WCS)); ^^^ Error 699: "LibWCS.xs", line 3557 # Error limit reached; halting compilation. wcs = malloc(sizeof(WCS)); ^^^ make: *** [LibWCS.o] Error 2