Re: isis 1.5.0-20 installation on snow Leopard

From: juan luna <gjmluna_at_email.domain.hidden>
Date: Mon, 1 Feb 2010 13:08:54 -0800 (PST)
Hi Daniel:

I tried changing the CFLAGS as you mentioned and I got another error message when I type make:

cd src; make all
grep ' ISIS_VERSION ' isis.h | awk '{print $3}' > /Users/gjmluna/Downloads/isis-1.5.0-20/isis-version
gcc -g -O2 -m32  -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/usr/local/lib//include   -I/usr/local/lib//include /Users/gjmluna/Downloads/isis-1.5.0-20/src/chkslang.c  -L/usr/local/lib//lib -lslang -o /Users/gjmluna/Downloads/isis-1.5.0-20/src/objs/chkslang
ld: warning: in /usr/local/lib/libslang.dylib, file is not of required architecture
Undefined symbols:
  "_SLang_Version", referenced from:
      _SLang_Version$non_lazy_ptr in cckqLlCb.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [/Users/gjmluna/Downloads/isis-1.5.0-20/src/objs/chkslang] Error 1
make: *** [all] Error 2

Then I guess that my installation of s-lang could be in conflict, if I check the arch of libslang.dylib I get:

/usr/local/lib/libslang.dylib: Mach-O 64-bit dynamically linked shared library x86_64

so I compiled slang with CFLAGS="-g -O2 -m32", but then I got a lot of message like: 

....
ld: warning: in slarrfun.o, file is not of required architecture
ld: warning: in slimport.o, file is not of required architecture
ld: warning: in slpath.o, file is not of required architecture
ld: warning: in slarith.o, file is not of required architecture
ld: warning: in slassoc.o, file is not of required architecture
ld: warning: in slcompat.o, file is not of required architecture
ld: warning: in slposdir.o, file is not of required architecture
ld: warning: in slstdio.o, file is not of required architecture
ld: warning: in slproc.o, file is not of required architecture
ld: warning: in sltime.o, file is not of required architecture
ld: warning: in slstrops.o, file is not of required architecture
ld: warning: in slbstr.o, file is not of required architecture
ld: warning: in slpack.o, file is not of required architecture
ld: warning: in slintall.o, file is not of required architecture
ld: warning: in slistruc.o, file is not of required architecture
ld: warning: in slposio.o, file is not of required architecture
ld: warning: in slnspace.o, file is not of required architecture
ld: warning: in slarrmis.o, file is not of required architecture
ld: warning: in slospath.o, file is not of required architecture
....


but if I delete the "m32" in the CFLAGS I can install slang (v.2.2.2). 

Thanks
-Juan





 ########################################################
GERARDO JUAN MANUEL LUNA
Center for Astrophysics/Smithsonian Astrophysical Observatory
60 Garden st. MS 15
Cambridge-MA-USA
02138
########################################################




________________________________
De: Daniel Dewey <dd_at_email.domain.hidden
Received on Mon Feb 01 2010 - 16:09:00 EST

This archive was generated by hypermail 2.2.0 : Wed Feb 03 2010 - 17:01:31 EST