Installation Problem using homebrew, Mac OS 10.9.1

889 views
Skip to first unread message

chris A

unread,
Mar 24, 2014, 7:31:24 PM3/24/14
to astro...@googlegroups.com
I am trying to use homebrew to install the code but I am having a problem trying to install the wcslib. here is what happens:

[Chriss-MacBook-Pro:~] home% brew install astrometry.net

==> Installing dependencies for astrometry.net: wcslib, gsl

==> Installing astrometry.net dependency: wcslib

==> Downloading ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-4.20.tar.bz2

curl: (78) RETR response: 550

Error: Failed to download resource "wcslib"

Download failed: ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-4.20.tar.bz2



I cannot seem to find how to over come this, I have wcslib on my computer because it is used for iraf. It might not the version that is required or it might not be looking for it in the correct directory. Can anyone help?

Andrew Hood

unread,
Mar 24, 2014, 8:58:03 PM3/24/14
to astro...@googlegroups.com
The current version at antf is 4.21
Either of these worked for me:

wget -N --retr-symlinks ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.bz2
wget -N ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-4.21.tar.bz2

The first doesn't put a version number on the tar.

Andrew
--
You received this message because you are subscribed to the Google Groups "astrometry" group.
Visit this group at http://groups.google.com/group/astrometry.

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4354 / Virus Database: 3722/7241 - Release Date: 03/24/14



-- 
There's no point in being grown up if you can't be childish sometimes.
-- Dr. Who

Dustin Lang

unread,
Mar 24, 2014, 9:27:51 PM3/24/14
to astro...@googlegroups.com
The wcslib author just posted a new release, and he then removes the old release, breaking the homebrew install.

You can get an updated homebrew formula from here:
https://raw.githubusercontent.com/astrometry/homebrew-science/bump-wcslib/wcslib.rb

Copy that to /usr/local/Library/Formula/wcslib.rb (or wherever that symlink points)

and then try again.

cheers,
--dustin


chris A

unread,
Mar 25, 2014, 6:27:19 AM3/25/14
to astro...@googlegroups.com
Okay thanks guys, my problem is now with the installation of wcslib, This is the error I get. Can you help or point me in the direction of someone who can?

checking for long int... yes

checking size of long int... 8

checking for long long int... yes

checking size of long long int... 8

checking for printf z format modifier for size_t type... yes

checking whether /Applications/Ureka/iraf//unix/hlib//f77.sh accepts -I... yes

checking how to get verbose linking output from /Applications/Ureka/iraf//unix/hlib//f77.sh... -v

checking for Fortran 77 libraries of /Applications/Ureka/iraf//unix/hlib//f77.sh...  -lf2c

checking for dummy main to link with Fortran 77 libraries... unknown

configure: error: linking to Fortran libraries from C fails

See `config.log' for more details.

make: *** [config.status] Error 1


Thanks

Chris

Dustin Lang

unread,
Mar 25, 2014, 1:51:48 PM3/25/14
to astro...@googlegroups.com

Please send the contents of config.log

chris A

unread,
Mar 25, 2014, 4:10:50 PM3/25/14
to astro...@googlegroups.com
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by WCSLIB configure 4.21, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --no-create

## --------- ##
## Platform. ##
## --------- ##

uname -m = x86_64
uname -r = 13.0.2
uname -s = Darwin
uname -v = Darwin Kernel Version 13.0.2: Sun Sep 29 19:38:57 PDT 2013; root:xnu-2422.75.4~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
Darwin Kernel Version 13.0.2: Sun Sep 29 19:38:57 PDT 2013; root:xnu-2422.75.4~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 225 tasks, 1069 threads, 4 processors
Load average: 1.73, Mach factor: 2.26
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Applications/Ureka/variants/common/bin
PATH: /Applications/Ureka/bin
PATH: /Applications/Ureka/python/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1802: checking build system type
configure:1820: result: x86_64-apple-darwin13.0.2
configure:1849: checking for flex
configure:1865: found /usr/bin/flex
configure:1876: result: flex
configure:1889: Flex version Apple(flex-31) is too old, ignored.
configure:1900: WARNING: Flex version 2.5.9 or later does not appear to be
           available, will use pre-generated sources.
configure:1955: checking for gcc
configure:1982: result: cc
configure:2220: checking for C compiler version
configure:2227: cc --version >&5
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.2
Thread model: posix
configure:2230: $? = 0
configure:2237: cc -v >&5
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.2
Thread model: posix
configure:2240: $? = 0
configure:2247: cc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:2250: $? = 1
configure:2273: checking for C compiler default output file name
configure:2300: cc    conftest.c  >&5
configure:2303: $? = 0
configure:2341: result: a.out
configure:2358: checking whether the C compiler works
configure:2368: ./a.out
configure:2371: $? = 0
configure:2388: result: yes
configure:2395: checking whether we are cross compiling
configure:2397: result: no
configure:2400: checking for suffix of executables
configure:2407: cc -o conftest    conftest.c  >&5
configure:2410: $? = 0
configure:2434: result: 
configure:2440: checking for suffix of object files
configure:2466: cc -c   conftest.c >&5
configure:2469: $? = 0
configure:2492: result: o
configure:2496: checking whether we are using the GNU C compiler
configure:2525: cc -c   conftest.c >&5
configure:2531: $? = 0
configure:2548: result: yes
configure:2553: checking whether cc accepts -g
configure:2583: cc -c -g  conftest.c >&5
configure:2589: $? = 0
configure:2688: result: yes
configure:2705: checking for cc option to accept ISO C89
configure:2779: cc  -c -g -O2  conftest.c >&5
configure:2785: $? = 0
configure:2808: result: none needed
configure:2831: checking how to run the C preprocessor
configure:2871: cc -E  conftest.c
configure:2877: $? = 0
configure:2908: cc -E  conftest.c
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:2914: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2947: result: cc -E
configure:2976: cc -E  conftest.c
configure:2982: $? = 0
configure:3013: cc -E  conftest.c
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:3019: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3104: checking for gcc
configure:3131: result: cc
configure:3369: checking for C compiler version
configure:3376: cc --version >&5
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.2
Thread model: posix
configure:3379: $? = 0
configure:3386: cc -v >&5
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.2
Thread model: posix
configure:3389: $? = 0
configure:3396: cc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3399: $? = 1
configure:3402: checking whether we are using the GNU C compiler
configure:3454: result: yes
configure:3459: checking whether cc accepts -g
configure:3594: result: yes
configure:3611: checking for cc option to accept ISO C89
configure:3714: result: none needed
configure:3734: checking for cc option to accept ISO C99
configure:3893: cc  -c -g -O2  conftest.c >&5
configure:3899: $? = 0
configure:3922: result: none needed
configure:4059: checking for cc option to accept ISO Standard C
configure:4068: result: none needed
configure:4076: checking for an ANSI C-conforming const
configure:4151: cc -c -g -O2  conftest.c >&5
configure:4157: $? = 0
configure:4172: result: yes
configure:4183: checking for grep that handles long lines and -e
configure:4257: result: /usr/bin/grep
configure:4262: checking for egrep
configure:4340: result: /usr/bin/grep -E
configure:4345: checking for ANSI C header files
configure:4375: cc -c -g -O2  conftest.c >&5
configure:4381: $? = 0
configure:4480: cc -o conftest -g -O2   conftest.c  >&5
configure:4483: $? = 0
configure:4489: ./conftest
configure:4492: $? = 0
configure:4509: result: yes
configure:4533: checking for sys/types.h
configure:4554: cc -c -g -O2  conftest.c >&5
configure:4560: $? = 0
configure:4576: result: yes
configure:4533: checking for sys/stat.h
configure:4554: cc -c -g -O2  conftest.c >&5
configure:4560: $? = 0
configure:4576: result: yes
configure:4533: checking for stdlib.h
configure:4554: cc -c -g -O2  conftest.c >&5
configure:4560: $? = 0
configure:4576: result: yes
configure:4533: checking for string.h
configure:4554: cc -c -g -O2  conftest.c >&5
configure:4560: $? = 0
configure:4576: result: yes
configure:4533: checking for memory.h
configure:4554: cc -c -g -O2  conftest.c >&5
configure:4560: $? = 0
configure:4576: result: yes
configure:4533: checking for strings.h
configure:4554: cc -c -g -O2  conftest.c >&5
configure:4560: $? = 0
configure:4576: result: yes
configure:4533: checking for inttypes.h
configure:4554: cc -c -g -O2  conftest.c >&5
configure:4560: $? = 0
configure:4576: result: yes
configure:4533: checking for stdint.h
configure:4554: cc -c -g -O2  conftest.c >&5
configure:4560: $? = 0
configure:4576: result: yes
configure:4533: checking for unistd.h
configure:4554: cc -c -g -O2  conftest.c >&5
configure:4560: $? = 0
configure:4576: result: yes
configure:4588: checking for size_t
configure:4618: cc -c -g -O2  conftest.c >&5
configure:4624: $? = 0
configure:4639: result: yes
configure:4671: checking for off_t
configure:4701: cc -c -g -O2  conftest.c >&5
configure:4707: $? = 0
configure:4722: result: yes
configure:4735: checking for int8_t
configure:4766: cc -c -g -O2  conftest.c >&5
configure:4772: $? = 0
configure:4801: cc -c -g -O2  conftest.c >&5
conftest.c:55:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !((int8_t) ((((int8_t) 1 << (8 - 2)) - 1) * 2 + 1)
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:4807: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| static int test_array [1 - 2 * !((int8_t) ((((int8_t) 1 << (8 - 2)) - 1) * 2 + 1)
|         < (int8_t) ((((int8_t) 1 << (8 - 2)) - 1) * 2 + 2))];
| test_array [0] = 0
|   ;
|   return 0;
| }
configure:4836: result: yes
configure:4849: checking for int16_t
configure:4880: cc -c -g -O2  conftest.c >&5
configure:4886: $? = 0
configure:4915: cc -c -g -O2  conftest.c >&5
conftest.c:55:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !((int16_t) ((((int16_t) 1 << (16 - 2)) - 1) * 2 + 1)
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:4921: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| static int test_array [1 - 2 * !((int16_t) ((((int16_t) 1 << (16 - 2)) - 1) * 2 + 1)
|         < (int16_t) ((((int16_t) 1 << (16 - 2)) - 1) * 2 + 2))];
| test_array [0] = 0
|   ;
|   return 0;
| }
configure:4950: result: yes
configure:4963: checking for int32_t
configure:4994: cc -c -g -O2  conftest.c >&5
configure:5000: $? = 0
configure:5029: cc -c -g -O2  conftest.c >&5
conftest.c:55:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !((int32_t) ((((int32_t) 1 << (32 - 2)) - 1) * 2 + 1)
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:5035: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| static int test_array [1 - 2 * !((int32_t) ((((int32_t) 1 << (32 - 2)) - 1) * 2 + 1)
|         < (int32_t) ((((int32_t) 1 << (32 - 2)) - 1) * 2 + 2))];
| test_array [0] = 0
|   ;
|   return 0;
| }
configure:5064: result: yes
configure:5077: checking for uint8_t
configure:5108: cc -c -g -O2  conftest.c >&5
configure:5114: $? = 0
configure:5135: result: yes
configure:5153: checking for uint16_t
configure:5184: cc -c -g -O2  conftest.c >&5
configure:5190: $? = 0
configure:5211: result: yes
configure:5225: checking for uint32_t
configure:5256: cc -c -g -O2  conftest.c >&5
configure:5262: $? = 0
configure:5283: result: yes
configure:5302: checking for ANSI C header files
configure:5466: result: yes
configure:5501: checking ctype.h usability
configure:5518: cc -c -g -O2  conftest.c >&5
configure:5524: $? = 0
configure:5538: result: yes
configure:5542: checking ctype.h presence
configure:5557: cc -E  conftest.c
configure:5563: $? = 0
configure:5577: result: yes
configure:5610: checking for ctype.h
configure:5618: result: yes
configure:5501: checking errno.h usability
configure:5518: cc -c -g -O2  conftest.c >&5
configure:5524: $? = 0
configure:5538: result: yes
configure:5542: checking errno.h presence
configure:5557: cc -E  conftest.c
configure:5563: $? = 0
configure:5577: result: yes
configure:5610: checking for errno.h
configure:5618: result: yes
configure:5501: checking limits.h usability
configure:5518: cc -c -g -O2  conftest.c >&5
configure:5524: $? = 0
configure:5538: result: yes
configure:5542: checking limits.h presence
configure:5557: cc -E  conftest.c
configure:5563: $? = 0
configure:5577: result: yes
configure:5610: checking for limits.h
configure:5618: result: yes
configure:5501: checking locale.h usability
configure:5518: cc -c -g -O2  conftest.c >&5
configure:5524: $? = 0
configure:5538: result: yes
configure:5542: checking locale.h presence
configure:5557: cc -E  conftest.c
configure:5563: $? = 0
configure:5577: result: yes
configure:5610: checking for locale.h
configure:5618: result: yes
configure:5501: checking math.h usability
configure:5518: cc -c -g -O2  conftest.c >&5
configure:5524: $? = 0
configure:5538: result: yes
configure:5542: checking math.h presence
configure:5557: cc -E  conftest.c
configure:5563: $? = 0
configure:5577: result: yes
configure:5610: checking for math.h
configure:5618: result: yes
configure:5501: checking setjmp.h usability
configure:5518: cc -c -g -O2  conftest.c >&5
configure:5524: $? = 0
configure:5538: result: yes
configure:5542: checking setjmp.h presence
configure:5557: cc -E  conftest.c
configure:5563: $? = 0
configure:5577: result: yes
configure:5610: checking for setjmp.h
configure:5618: result: yes
configure:5501: checking stdarg.h usability
configure:5518: cc -c -g -O2  conftest.c >&5
configure:5524: $? = 0
configure:5538: result: yes
configure:5542: checking stdarg.h presence
configure:5557: cc -E  conftest.c
configure:5563: $? = 0
configure:5577: result: yes
configure:5610: checking for stdarg.h
configure:5618: result: yes
configure:5501: checking stdio.h usability
configure:5518: cc -c -g -O2  conftest.c >&5
configure:5524: $? = 0
configure:5538: result: yes
configure:5542: checking stdio.h presence
configure:5557: cc -E  conftest.c
configure:5563: $? = 0
configure:5577: result: yes
configure:5610: checking for stdio.h
configure:5618: result: yes
configure:5491: checking for stdlib.h
configure:5497: result: yes
configure:5491: checking for string.h
configure:5497: result: yes
configure:5652: checking for floor in -lm
configure:5687: cc -o conftest -g -O2   conftest.c -lm   >&5
conftest.c:37:6: warning: incompatible redeclaration of library function 'floor' [-Wincompatible-library-redeclaration]
char floor ();
     ^
conftest.c:37:6: note: 'floor' is a builtin with type 'double (double)'
1 warning generated.
configure:5693: $? = 0
configure:5711: result: yes
configure:5722: checking for _LARGEFILE_SOURCE value needed for large files
configure:5749: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:5755: $? = 0
configure:5819: result: no
configure:5847: checking for stdlib.h
configure:5853: result: yes
configure:5987: checking for GNU libc compatible malloc
configure:6021: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:6024: $? = 0
configure:6030: ./conftest
configure:6033: $? = 0
configure:6049: result: yes
configure:6082: checking for stdlib.h
configure:6088: result: yes
configure:6222: checking for GNU libc compatible realloc
configure:6256: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:6259: $? = 0
configure:6265: ./conftest
configure:6268: $? = 0
configure:6284: result: yes
configure:6312: checking for function prototypes
configure:6315: result: yes
configure:6332: checking whether setvbuf arguments are reversed
configure:6362: cc -o conftest -g -O2   conftest.c -lm  >&5
conftest.c:40:10: error: conflicting types for 'setvbuf'
           int (setvbuf) (FILE *, int, char *, size_t);
                ^
/usr/include/stdio.h:266:6: note: previous declaration is here
int      setvbuf(FILE * __restrict, char * __restrict, int, size_t);
         ^
conftest.c:45:35: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion]
char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
                                  ^~~~~~
/usr/include/stdio.h:187:16: note: expanded from macro '_IOLBF'
#define _IOLBF  1               /* setvbuf should set line buffered */
                ^
/usr/include/stdio.h:266:50: note: passing argument to parameter here
int      setvbuf(FILE * __restrict, char * __restrict, int, size_t);
                                                     ^
conftest.c:45:43: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion]
char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
                                          ^~~~
/usr/include/stdio.h:266:55: note: passing argument to parameter here
int      setvbuf(FILE * __restrict, char * __restrict, int, size_t);
                                                          ^
2 warnings and 1 error generated.
configure:6368: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #  ifdef PROTOTYPES
|   int (setvbuf) (FILE *, int, char *, size_t);
| #  endif
| int
| main ()
| {
| char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
|   ;
|   return 0;
| }
configure:6489: result: no
configure:6499: checking whether lstat dereferences a symlink specified with a trailing slash
configure:6535: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:6538: $? = 0
configure:6544: ./conftest
configure:6547: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| struct stat sbuf;
|      /* Linux will dereference the symlink and fail.
| That is better in the sense that it means we will not
| have to compile and use the lstat wrapper.  */
|      return lstat ("conftest.sym/", &sbuf) == 0;
|   ;
|   return 0;
| }
configure:6570: result: no
configure:6589: checking whether stat accepts an empty string
configure:6619: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:6622: $? = 0
configure:6628: ./conftest
configure:6631: $? = 0
configure:6647: result: no
configure:6667: checking for vprintf
configure:6723: cc -o conftest -g -O2   conftest.c -lm  >&5
conftest.c:61:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
char vprintf ();
     ^
conftest.c:61:6: note: 'vprintf' is a builtin with type 'int (const char *, __va_list_tag *)'
1 warning generated.
configure:6729: $? = 0
configure:6747: result: yes
configure:6754: checking for _doprnt
configure:6810: cc -o conftest -g -O2   conftest.c -lm  >&5
Undefined symbols for architecture x86_64:
  "__doprnt", referenced from:
      _main in conftest-WVa1wy.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:6816: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| /* end confdefs.h.  */
| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define _doprnt innocuous__doprnt
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char _doprnt (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| #undef _doprnt
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub__doprnt || defined __stub____doprnt
| choke me
| #endif
| int
| main ()
| {
| return _doprnt ();
|   ;
|   return 0;
| }
configure:6833: result: no
configure:6857: checking for floor
configure:6913: cc -o conftest -g -O2   conftest.c -lm  >&5
conftest.c:62:6: warning: incompatible redeclaration of library function 'floor' [-Wincompatible-library-redeclaration]
char floor ();
     ^
conftest.c:62:6: note: 'floor' is a builtin with type 'double (double)'
1 warning generated.
configure:6919: $? = 0
configure:6937: result: yes
configure:6857: checking for memset
configure:6913: cc -o conftest -g -O2   conftest.c -lm  >&5
conftest.c:63:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]
char memset ();
     ^
conftest.c:63:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'
1 warning generated.
configure:6919: $? = 0
configure:6937: result: yes
configure:6857: checking for pow
configure:6913: cc -o conftest -g -O2   conftest.c -lm  >&5
conftest.c:64:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration]
char pow ();
     ^
conftest.c:64:6: note: 'pow' is a builtin with type 'double (double, double)'
1 warning generated.
configure:6919: $? = 0
configure:6937: result: yes
configure:6857: checking for setlocale
configure:6913: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:6919: $? = 0
configure:6937: result: yes
configure:6857: checking for sqrt
configure:6913: cc -o conftest -g -O2   conftest.c -lm  >&5
conftest.c:66:6: warning: incompatible redeclaration of library function 'sqrt' [-Wincompatible-library-redeclaration]
char sqrt ();
     ^
conftest.c:66:6: note: 'sqrt' is a builtin with type 'double (double)'
1 warning generated.
configure:6919: $? = 0
configure:6937: result: yes
configure:6857: checking for strchr
configure:6913: cc -o conftest -g -O2   conftest.c -lm  >&5
conftest.c:67:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration]
char strchr ();
     ^
conftest.c:67:6: note: 'strchr' is a builtin with type 'char *(const char *, int)'
1 warning generated.
configure:6919: $? = 0
configure:6937: result: yes
configure:6857: checking for strstr
configure:6913: cc -o conftest -g -O2   conftest.c -lm  >&5
conftest.c:68:6: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration]
char strstr ();
     ^
conftest.c:68:6: note: 'strstr' is a builtin with type 'char *(const char *, const char *)'
1 warning generated.
configure:6919: $? = 0
configure:6937: result: yes
configure:6950: checking for cosd in -lsunmath
configure:6985: cc -o conftest -g -O2   conftest.c -lsunmath  -lm  >&5
ld: library not found for -lsunmath
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:6991: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| /* end confdefs.h.  */
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char cosd ();
| int
| main ()
| {
| return cosd ();
|   ;
|   return 0;
| }
configure:7009: result: no
configure:7021: checking for sincos
configure:7077: cc -o conftest -g -O2   conftest.c -lm  >&5
Undefined symbols for architecture x86_64:
  "_sincos", referenced from:
      _main in conftest-fNIf2R.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:7083: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| /* end confdefs.h.  */
| /* Define sincos to an innocuous variant, in case <limits.h> declares sincos.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sincos innocuous_sincos
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char sincos (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| #undef sincos
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sincos ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sincos || defined __stub___sincos
| choke me
| #endif
| int
| main ()
| {
| return sincos ();
|   ;
|   return 0;
| }
configure:7101: result: no
configure:7113: checking for int
configure:7143: cc -c -g -O2  conftest.c >&5
configure:7149: $? = 0
configure:7164: result: yes
configure:7171: checking size of int
configure:7473: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:7476: $? = 0
configure:7482: ./conftest
configure:7485: $? = 0
configure:7508: result: 4
configure:7518: checking for long int
configure:7548: cc -c -g -O2  conftest.c >&5
configure:7554: $? = 0
configure:7569: result: yes
configure:7576: checking size of long int
configure:7878: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:7881: $? = 0
configure:7887: ./conftest
configure:7890: $? = 0
configure:7913: result: 8
configure:7923: checking for long long int
configure:7953: cc -c -g -O2  conftest.c >&5
configure:7959: $? = 0
configure:7974: result: yes
configure:7981: checking size of long long int
configure:8283: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:8286: $? = 0
configure:8292: ./conftest
configure:8295: $? = 0
configure:8318: result: 8
configure:8356: checking for printf z format modifier for size_t type
configure:8393: cc -o conftest -g -O2   conftest.c -lm  >&5
configure:8396: $? = 0
configure:8402: ./conftest
configure:8405: $? = 0
configure:8412: result: yes
configure:8760: checking whether /Applications/Ureka/iraf//unix/hlib//f77.sh accepts -I
configure:8781: /Applications/Ureka/iraf//unix/hlib//f77.sh -c -I. conftest.f >&5
conftest.f:
   MAIN main:
conftest.c:17:1: warning: control reaches end of non-void function [-Wreturn-type]
} /* MAIN__ */
^
conftest.c:19:52: warning: control reaches end of non-void function [-Wreturn-type]
/* Main program alias */ int main_ () { MAIN__ (); }
                                                   ^
2 warnings generated.
configure:8787: $? = 0
configure:8792: result: yes
configure:8817: checking how to get verbose linking output from /Applications/Ureka/iraf//unix/hlib//f77.sh
configure:8833: /Applications/Ureka/iraf//unix/hlib//f77.sh -c  -I. conftest.f >&5
conftest.f:
   MAIN main:
conftest.c:17:1: warning: control reaches end of non-void function [-Wreturn-type]
} /* MAIN__ */
^
conftest.c:19:52: warning: control reaches end of non-void function [-Wreturn-type]
/* Main program alias */ int main_ () { MAIN__ (); }
                                                   ^
2 warnings generated.
configure:8839: $? = 0
configure:8861: /Applications/Ureka/iraf//unix/hlib//f77.sh -o conftest -I. -v conftest.f -lm
invalid parameter -v
conftest.f:
   MAIN main:
conftest.c:17:1: warning: control reaches end of non-void function [-Wreturn-type]
} /* MAIN__ */
^
conftest.c:19:52: warning: control reaches end of non-void function [-Wreturn-type]
/* Main program alias */ int main_ () { MAIN__ (); }
                                                   ^
2 warnings generated.
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:8927: result: -v
configure:8929: checking for Fortran 77 libraries of /Applications/Ureka/iraf//unix/hlib//f77.sh
configure:8952: /Applications/Ureka/iraf//unix/hlib//f77.sh -o conftest -I. -v conftest.f -lm
invalid parameter -v
conftest.f:
   MAIN main:
conftest.c:17:1: warning: control reaches end of non-void function [-Wreturn-type]
} /* MAIN__ */
^
conftest.c:19:52: warning: control reaches end of non-void function [-Wreturn-type]
/* Main program alias */ int main_ () { MAIN__ (); }
                                                   ^
2 warnings generated.
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9126: result:  -lf2c
configure:9144: checking for dummy main to link with Fortran 77 libraries
configure:9188: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9194: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9242: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9248: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN MAIN__
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9242: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9248: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN MAIN_
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9242: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9248: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN __main
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9242: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9248: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN MAIN
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9242: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9248: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN _MAIN
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9242: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9248: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN __MAIN
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9242: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9248: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN main_
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9242: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9248: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN main__
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9242: cc -o conftest -g -O2   conftest.c -lm   -lf2c >&5
ld: library not found for -lf2c
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9248: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "WCSLIB"
| #define PACKAGE_TARNAME "wcslib-4.21"
| #define PACKAGE_VERSION "4.21"
| #define PACKAGE_STRING "WCSLIB 4.21"
| #define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
| #define WCSLIB_VERSION 4.21
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SETJMP_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_FSEEKO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define HAVE_VPRINTF 1
| #define HAVE_FLOOR 1
| #define HAVE_MEMSET 1
| #define HAVE_POW 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSTR 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG_INT 8
| #define SIZEOF_LONG_LONG_INT 8
| #define WCSLIB_INT64 long long int
| #define MODZ "z"
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN _main
| #ifdef F77_DUMMY_MAIN
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| #endif
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:9275: result: unknown
configure:9295: error: linking to Fortran libraries from C fails
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-apple-darwin13.0.2
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_int16_t=yes
ac_cv_c_int32_t=yes
ac_cv_c_int8_t=yes
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_F77_set=set
ac_cv_env_F77_value=/Applications/Ureka/iraf//unix/hlib//f77.sh
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_f77_dummy_main=unknown
ac_cv_f77_libs=' -lf2c'
ac_cv_fortran_dummy_main=unknown
ac_cv_func__doprnt=no
ac_cv_func_floor=yes
ac_cv_func_lstat_dereferences_slashed_symlink=no
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_pow=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_setlocale=yes
ac_cv_func_setvbuf_reversed=no
ac_cv_func_sincos=no
ac_cv_func_sqrt=yes
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_strchr=yes
ac_cv_func_strstr=yes
ac_cv_func_vprintf=yes
ac_cv_header_ctype_h=yes
ac_cv_header_errno_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_math_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_setjmp_h=yes
ac_cv_header_stdarg_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_m_floor=yes
ac_cv_lib_sunmath_cosd=no
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_prog_CPP='cc -E'
ac_cv_prog_FLEX=flex
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_f77_v=-v
ac_cv_sizeof_int=4
ac_cv_sizeof_long_int=8
ac_cv_sizeof_long_long_int=8
ac_cv_sys_largefile_source=no
ac_cv_type_int=yes
ac_cv_type_long_int=yes
ac_cv_type_long_long_int=yes
ac_cv_type_off_t=yes
ac_cv_type_size_t=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ARCH='x86_64-darwin13.0.2'
CC='cc'
CFITSIOINC=''
CFITSIOLIB=''
CFLAGS='-g -O2'
CPP='cc -E'
CPPFLAGS=''
DEFS=''
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
F77='/Applications/Ureka/iraf//unix/hlib//f77.sh'
FFLAGS=' -I.'
FLEX=''
FLIBS=' -lf2c'
GETWCSTAB=''
GREP='/usr/bin/grep'
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTDIR='C'
LDFLAGS=''
LIBOBJS=' lstat.o'
LIBS='-lm '
LIBVER='4.21'
LN_S=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT='ma...@calabretta.id.au'
PACKAGE_NAME='WCSLIB'
PACKAGE_STRING='WCSLIB 4.21'
PACKAGE_TARNAME='wcslib-4.21'
PACKAGE_VERSION='4.21'
PATH_SEPARATOR=':'
PGPLOTINC=''
PGPLOTLIB=''
RANLIB='ranlib'
SHELL='/bin/sh'
SHRFLAGS=''
SHRLD=''
SHRLIB=''
SHRLN=''
SHRSFX=''
SONAME=''
SUBDIRS='C'
TSTDIRS='C'
XMKMF=''
ac_ct_CC='cc'
ac_ct_F77=''
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin13.0.2'
build_alias=''
build_cpu='x86_64'
build_os='darwin13.0.2'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "WCSLIB"
#define PACKAGE_TARNAME "wcslib-4.21"
#define PACKAGE_VERSION "4.21"
#define PACKAGE_STRING "WCSLIB 4.21"
#define PACKAGE_BUGREPORT "ma...@calabretta.id.au"
#define WCSLIB_VERSION 4.21
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_CTYPE_H 1
#define HAVE_ERRNO_H 1
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_MATH_H 1
#define HAVE_SETJMP_H 1
#define HAVE_STDARG_H 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_LIBM 1
#define HAVE_FSEEKO 1
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_REALLOC 1
#define PROTOTYPES 1
#define __PROTOTYPES 1
#define HAVE_VPRINTF 1
#define HAVE_FLOOR 1
#define HAVE_MEMSET 1
#define HAVE_POW 1
#define HAVE_SETLOCALE 1
#define HAVE_SQRT 1
#define HAVE_STRCHR 1
#define HAVE_STRSTR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_INT 8
#define SIZEOF_LONG_LONG_INT 8
#define WCSLIB_INT64 long long int
#define MODZ "z"

configure: exit 1

Dustin Lang

unread,
Mar 25, 2014, 5:27:59 PM3/25/14
to astro...@googlegroups.com
The error is,


ld: library not found for -lf2c

(which is a Fortran support library)

How did you "brew install wcslib" ?  Any extra arguments?  By default I thought it turned off fortran compilation.

Could you also please send the full log from when you "brew install wcslib", and maybe $HOME/Library/Logs/Homebrew/wcslib/01.configure

Or you could file this issue at homebrew-science

cheers,
--dstn

Reply all
Reply to author
Forward
0 new messages