Building ISIS/HEASOFT on Apple

From: Michael Nowak <mnowak_at_email.domain.hidden>
Date: Thu, 19 Jun 2014 12:18:38 +0100
Here is a forwarded message from Mike Koss about install problems.

For Apple 10.8,  and Xcode versions ~3-4, we have been recommending 
using Apple gcc 4.2 with a suitable gfortran.  I've been using gfortran 4.7 from
sourceforge.  Anyone out there have luck with g95?

Since Apple 10.9, Mavericks, and Xcode ~>5, Apple switched out their gcc,
and some folks out there have been having trouble with this gcc when 
building MARX, and have had to revert back to sourceforge gcc.  However, none
of us under those circumstances have yet to try HEASOFT+ISIS.

So, if anyone has further comments on the below, much appreciated.

-Mike


From: Michael Koss <mike.koss_at_email.domain.hiddenSubject: Trouble installing
Date: Thu, 19 Jun 2014 12:09:37 +0200

I can't seem to get isis to compile.  I installed heasoft from source =
(XSPEC version: 12.8.1g) and I am trying to use the same fortran =
compiler I used to compile heasoft.  Attached is the error and the log.  =
As per usual it has something to do with the Fortran compiler. I am =
running OS 10.8.

Thanks,
Mike Koss

%%%%%%%%%%%%%
	filename=config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

 $ ./configure --prefix=/Users/mkoss/Documents/software/isis/ --with-slang=/Users/mkoss/Documents/software/isis/ --with-headas=/Users/mkoss/Documents/software/heasoft-6.15/i386-apple-darwin12.5.0

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

hostname = public-docking-hpx-1947.ethz.ch
uname -m = x86_64
uname -r = 12.5.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~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 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 16.00 gigabytes
Default processor set: 191 tasks, 911 threads, 8 processors
Load average: 1.40, Mach factor: 6.59
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/mkoss/Documents/software/heasoft-6.15/i386-apple-darwin12.5.0/bin
PATH: /Applications/itt/idladds/kcorrect/bin
PATH: /Users/mkoss/Documents/software/g95-install/bin/
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/local/bin
PATH: /sw/bin
PATH: /usr/X11R6/bin
PATH: /Applications/itt/idl71/bin
PATH: /Volumes/Apps_and_Docs/mkoss/bin/bibtexformat
PATH: /opt/local/bin
PATH: /opt/local/sbin/
PATH: /Users/mkoss
PATH: /Users/mkoss/Documents/software/Montage_v3.3/bin


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

configure:2695: checking whether make sets $(MAKE)
configure:2717: result: yes
configure:2769: checking for ranlib
configure:2785: found /usr/bin/ranlib
configure:2796: result: ranlib
configure:2832: checking for a BSD-compatible install
configure:2900: result: /usr/bin/install -c
configure:2915: checking build system type
configure:2929: result: i386-apple-darwin12.5.0
configure:2949: checking host system type
configure:2962: result: i386-apple-darwin12.5.0
configure:3089: checking for Fortran compiler version
configure:3098: /Users/mkoss/Documents/software/g95-install/bin/i686-apple-darwin10.3.0-g95 -m32 --version >&5
G95 (GCC 4.1.2 (g95 0.94!) Jan 17 2013)
Copyright (C) 2002-2008 Free Software Foundation, Inc.

G95 comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of G95
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
configure:3109: $? = 0
configure:3098: /Users/mkoss/Documents/software/g95-install/bin/i686-apple-darwin10.3.0-g95 -m32 -v >&5
Using built-in specs.
Target: 
Configured with: ../configure --enable-languages=c --disable-nls
Thread model: posix
gcc version 4.1.2 (g95 0.94!) Jan 17 2013
configure:3109: $? = 0
configure:3098: /Users/mkoss/Documents/software/g95-install/bin/i686-apple-darwin10.3.0-g95 -m32 -V >&5
i686-apple-darwin10.3.0-g95: argument to `-V' missing
configure:3109: $? = 1
configure:3098: /Users/mkoss/Documents/software/g95-install/bin/i686-apple-darwin10.3.0-g95 -m32 -qversion >&5
i686-apple-darwin10.3.0-g95: unrecognized option '-qversion'
i686-apple-darwin10.3.0-g95: no input files
configure:3109: $? = 1
configure:3124: checking whether the Fortran compiler works
configure:3146: /Users/mkoss/Documents/software/g95-install/bin/i686-apple-darwin10.3.0-g95 -m32    conftest.f  >&5
ld: warning: -macosx_version_min not specified, assuming 10.8
ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in __start from /usr/lib//crt1.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
configure:3150: $? = 0
configure:3198: result: yes
configure:3201: checking for Fortran compiler default output file name
configure:3203: result: a.out
configure:3209: checking for suffix of executables
configure:3216: /Users/mkoss/Documents/software/g95-install/bin/i686-apple-darwin10.3.0-g95 -m32 -o conftest    conftest.f  >&5
ld: warning: -macosx_version_min not specified, assuming 10.8
ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in __start from /usr/lib//crt1.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
configure:3220: $? = 0
configure:3242: result: 
configure:3258: checking whether we are cross compiling
configure:3266: /Users/mkoss/Documents/software/g95-install/bin/i686-apple-darwin10.3.0-g95 -m32 -o conftest    conftest.f  >&5
ld: warning: -macosx_version_min not specified, assuming 10.8
ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in __start from /usr/lib//crt1.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
configure:3270: $? = 0
configure:3277: ./conftest
dyld: no valid entry point
./configure: line 3279: 81324 Trace/BPT trap: 5       ./conftest$ac_cv_exeext
configure:3281: $? = 133
configure:3288: error: in `/Users/mkoss/Documents/software/isis/isis-1.6.2-27':
configure:3290: error: cannot run Fortran compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

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

ac_cv_build=i386-apple-darwin12.5.0
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/usr/bin/gcc -m32'
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_FCFLAGS_set=
ac_cv_env_FCFLAGS_value=
ac_cv_env_FC_set=set
ac_cv_env_FC_value='/Users/mkoss/Documents/software/g95-install/bin/i686-apple-darwin10.3.0-g95 -m32'
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_host=i386-apple-darwin12.5.0
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_make_make_set=yes

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

ATOMDB_DIR=''
BUILD_ISIS_EXTRAS=''
CC='/usr/bin/gcc -m32'
CCFITS_INC=''
CCFITS_INC_DIR=''
CCFITS_LIB=''
CCFITS_LIB_DIR=''
CC_SHARED=''
CFITSIO_INC=''
CFITSIO_INC_DIR=''
CFITSIO_LIB=''
CFITSIO_LIBDIR=''
CFITSIO_LIBNAME=''
CFITSIO_LIB_DIR=''
CFITSIO_LIB_FOR_MODULES=''
CFLAGS=''
CONFIG_DIR='/Users/mkoss/Documents/software/isis/isis-1.6.2-27'
CONFIG_DIR_SANS_AMD='/Users/mkoss/Documents/software/isis/isis-1.6.2-27'
CPP=''
CPPFLAGS=''
DEFS=''
DYNAMIC_LINK_FLAGS=''
DYNAMIC_LINK_LIB=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
ELFDIR=''
ELF_CC=''
ELF_CFLAGS=''
ELF_DEP_LIBS=''
ELF_FC_FCFLAGS=''
ELF_LINK=''
ELF_LINK_CMD=''
EXEEXT=''
EXTRA_INC=''
EXTRA_LIB=''
FC='/Users/mkoss/Documents/software/g95-install/bin/i686-apple-darwin10.3.0-g95 -m32'
FCFLAGS=''
FCLIBS=''
FC_EXTRA_LIBS=''
FC_MANGLE_SUFFIX=''
FC_MANGLE_UPCASE=''
FC_SHARED=''
GREP=''
HEADAS_DIR=''
HEADAS_LIBDIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_MODULE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
ISIS_LIB_FOR_MODULES=''
LDFLAGS=''
LD_FLAGS_FOR_XSPEC=''
LIBOBJS=''
LIBS=''
LINK_XSPEC_STATIC=''
LTLIBOBJS=''
MODULE_INSTALL_DIR=''
MODULE_LIST=''
OBJDIR=''
OBJEXT=''
OTHER_PGPLOT_LIBS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PGPLOT_INC=''
PGPLOT_INC_DIR=''
PGPLOT_LIB=''
PGPLOT_LIBDIR=''
PGPLOT_LIB_DIR=''
PROGRAM_ELFOBJECTS_src=''
PROGRAM_ETCFILES=''
PROGRAM_FC_ELFOBJECTS_src=''
PROGRAM_FC_OBJECTS_src=''
PROGRAM_FC_OFILES_src=''
PROGRAM_OBJECTS_src=''
PROGRAM_OFILES_src=''
PROGRAM_SHAREFILES=''
RANLIB='ranlib'
READLINE_DIR=''
READLINE_INC=''
READLINE_LIB=''
RPATH=''
SET_MAKE=''
SHELL='/bin/sh'
SITE_LOCAL_SETUP=''
SLANG_DLL_CFLAGS=''
SLANG_INC=''
SLANG_INC_DIR=''
SLANG_LIB=''
SLANG_LIBDIR=''
SLANG_LIB_DIR=''
SLANG_LIB_FOR_MODULES=''
SL_FILES_INSTALL_DIR=''
SRCDIR=''
SYS_EXTRA_LIBS=''
XMKMF=''
XSPEC_MODELSONLY=''
XSPEC_MODULE_LIBS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC=''
ac_ct_FC=''
bindir='${exec_prefix}/bin'
build='i386-apple-darwin12.5.0'
build_alias=''
build_cpu='i386'
build_os='darwin12.5.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-apple-darwin12.5.0'
host_alias=''
host_cpu='i386'
host_os='darwin12.5.0'
host_vendor='apple'
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='/Users/mkoss/Documents/software/isis/isis/1.6.2'
prefix_input='/Users/mkoss/Documents/software/isis'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdir='1.6.2'
sysconfdir='${prefix}/etc'
target_alias=''
termcap_lib=''
with_xspec_version=''

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

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 1

----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Thu Jun 19 2014 - 07:18:56 EDT

This archive was generated by hypermail 2.3.0 : Wed Aug 06 2014 - 08:25:18 EDT