isis 1.5.0-20 installation on snow Leopard

From: juan luna <gjmluna_at_email.domain.hidden>
Date: Sat, 30 Jan 2010 15:24:34 -0800 (PST)
Hi:

I could fix the previous problem when X11 was closing the shell together with isis. Therefore I decided to upgrade to Snow Leopard in my MacBook together with the latest Xcode. I'm having another problem now. I compiled the source of headas with gfortran and gcc v.4.2.1 and installed slang v2.2.2. Below is the output of ./configure --with-headas=$HEADAS in isis:

checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-apple-darwin10.2.0
checking host system type... i386-apple-darwin10.2.0
checking for gfortran... gfortran
checking for Fortran compiler default output file name... a.out
checking whether the Fortran 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 Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for library containing strerror... none required
checking for AIX... no
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking C compiler that understands ANSI prototypes... gcc looks ok.  Good.
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking how to get verbose linking output from gfortran... rm: conftest.dSYM: is a directory
-v
checking for Fortran libraries of gfortran... rm: conftest.dSYM: is a directory
 -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.1 -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.1/../../.. -lgfortranbegin -lgfortran
checking for dummy main to link with Fortran libraries... rm: conftest.dSYM: is a directory
none
checking for Fortran name-mangling scheme... rm: conftest.dSYM: is a directory
unknown
configure: WARNING: unknown Fortran name-mangling scheme
checking how to get verbose linking output from gfortran... (cached) -v
checking for Fortran libraries of gfortran... (cached)  -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.1 -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.1/../../.. -lgfortranbegin -lgfortran
checking for dummy main to link with Fortran libraries... (cached) none
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
rm: conftest.dSYM: is a directory
checking for _LARGEFILE_SOURCE value needed for large files... no
rm: conftest.dSYM: is a directory
checking for off_t... yes
checking for off_t... (cached) yes
checking size of off_t... 8
checking for X... libraries /opt/local/lib, headers /opt/local/include
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for unsigned long long... yes
checking for unsigned long long... (cached) yes
checking size of unsigned long long... 8
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
ls: /Users/gjmluna/Downloads/heasoft-6.8/i386-apple-darwin10.2.0/lib/libpgplot*.so: No such file or directory
nm: can't open file: a.out (No such file or directory)
checking for the slang library and header files ... yes: /usr/local/lib and /usr/local/include
No extras directory - ok.
checking for tgetent in -ltermcap... yes
checking type of readline support... checking for tgetent in -ltermcap... (cached) yes
checking for main in -lreadline... yes
Looks like you have GNU readline.  Can we use it?
Failed configuring GNU readline.  Will use slang readline instead.
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for sys/types.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for stat... yes
checking for sigaction... yes
checking for sigemptyset... yes
checking for sigprocmask... yes
checking for sigaddset... yes
checking for vsnprintf... yes
checking for isinf... yes
checking for isnan... yes
checking for finite... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating test/uncon/Makefile
config.status: creating modules/Makefile
config.status: creating modules/cfitsio/Makefile
config.status: creating modules/cfitsio/src/Makefile
config.status: creating modules/pgplot/Makefile
config.status: creating modules/pgplot/src/Makefile
config.status: creating modules/xspec/Makefile
config.status: creating modules/xspec/src/Makefile
config.status: creating modules/xspec/src/xspec_libs
config.status: creating modules/maplib/Makefile
config.status: creating modules/maplib/src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: creating test/config.h
config.status: test/config.h is unchanged
config.status: creating modules/xspec/src/config.h
config.status: modules/xspec/src/config.h is unchanged
config.status: creating modules/cfitsio/src/config.h
config.status: modules/cfitsio/src/config.h is unchanged
config.status: creating modules/pgplot/src/config.h
config.status: modules/pgplot/src/config.h is unchanged
config.status: creating modules/maplib/src/config.h
config.status: modules/maplib/src/config.h is unchanged

You are compiling with this compiler configuration:
       CC = gcc
   CFLAGS = -g -O2  -fno-strength-reduce
  LDFLAGS =  
       FC = gfortran
  FCFLAGS = -g -O2

XSPEC module configuration:
    --with-xspec-version = NONE
    --with-headas = /Users/gjmluna/Downloads/heasoft-6.8/i386-apple-darwin10.2.0

isis will be installed in /usr/local/isis/1.5.0

If /usr/local/bin exists,
a symbolic link to the isis executable will be placed there.

To see the list of configuration options:
         ./configure --help


but then when I type make I got this:

cd src; make all
grep ' ISIS_VERSION ' isis.h | awk '{print $3}' > /Users/gjmluna/Downloads/isis-1.5.0-20/isis-version
if test -r "/Users/gjmluna/Downloads/slang-2.2.2/lib/libslang.so" ; then LD_PRELOAD=/Users/gjmluna/Downloads/slang-2.2.2/lib/libslang.so ; export LD_PRELOAD ; fi;\
    if /Users/gjmluna/Downloads/isis-1.5.0-20/src/objs/chkslang isis 20200         ;\
    then exit 0; else /bin/rm -f /Users/gjmluna/Downloads/isis-1.5.0-20/src/objs/chkslang; exit 1; fi
/bin/rm -f /Users/gjmluna/Downloads/isis-1.5.0-20/src/objs/isis
cd /Users/gjmluna/Downloads/isis-1.5.0-20/src/objs; gcc -c -g -O2  -fno-strength-reduce -Dunix -DISIS_SRC -I/Users/gjmluna/Downloads/isis-1.5.0-20/src -I/Users/gjmluna/Downloads/heasoft-6.8/i386-apple-darwin10.2.0/include -I/Users/gjmluna/Downloads/slang-2.2.2/include  -I/opt/local/include  /Users/gjmluna/Downloads/isis-1.5.0-20/src/lmdif.c
/Users/gjmluna/Downloads/isis-1.5.0-20/src/lmdif.c:61: error: 'FC_FUNC' declared as function returning a function
/Users/gjmluna/Downloads/isis-1.5.0-20/src/lmdif.c:61: warning: parameter names (without types) in function declaration
/Users/gjmluna/Downloads/isis-1.5.0-20/src/lmdif.c: In function 'lmdif':
/Users/gjmluna/Downloads/isis-1.5.0-20/src/lmdif.c:199: error: 'lmdif1' undeclared (first use in this function)
/Users/gjmluna/Downloads/isis-1.5.0-20/src/lmdif.c:199: error: (Each undeclared identifier is reported only once
/Users/gjmluna/Downloads/isis-1.5.0-20/src/lmdif.c:199: error: for each function it appears in.)
/Users/gjmluna/Downloads/isis-1.5.0-20/src/lmdif.c:199: error: 'LMDIF1' undeclared (first use in this function)
/Users/gjmluna/Downloads/isis-1.5.0-20/src/lmdif.c:199: error: called object 'FC_FUNC(<erroneous-expression>,  <erroneous-expression>)' is not a function
make[1]: *** [/Users/gjmluna/Downloads/isis-1.5.0-20/src/objs/lmdif.o] Error 1
make: *** [all] Error 2

is there any library that I'm missing or something like that?

Thanks
-Juan



      Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/
Received on Sat Jan 30 2010 - 18:24:40 EST

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT