Re: isis 1.5.0-20 installation on snow Leopard

From: Daniel Dewey <dd_at_email.domain.hidden>
Date: Sun, 31 Jan 2010 15:26:05 -0500
I've seen things like this myself
and it turned out that the "required architecture"
meant that the libraries were assuming/built-for 32-bit machine
but others were compiled as 64 bit and the linker didn't find
what it wanted.
  I think the Snow Leopard leans toward 64 bit if possible
so this appears when that OS up-change is made.

The architecture(s) of/in a library can be seen by doing:
[unix] otool -hV -arch all /blah/blah/asdf.dylib

Adding "-m32" to the CFLAGS will force 32 bit:
CFLAGS="-g -O2 -m32 "
export CFLAGS

   This 32 vs 64 bits is pretty irritating ...

-Dan 

On Jan 31, 2010, at 3:13 PM, John Houck wrote:

> On Sun, Jan 31, 2010 at 10:26 -0800, juan luna wrote:
>> 
>> I send you in attach the files that you requested.
>> 
> 
> It looks like there's a problem with your compiler installation.
> 
> To determine your compiler characteristics, the configure
> script tries to compile various test programs. Several of these
> tests fail to compile because compiler libraries are not of the
> required architecture:
> 
>  configure:5335: gcc -o conftest -g -O2    conftest.c cfortran_test.o   -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.1 -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.1/../../.. -lgfortranbegin -lgfortran >&5
>  ld: warning: in cfortran_test.o, file is not of required architecture
>  ld: warning: in /usr/local/lib/gcc/i686-apple-darwin8/4.2.1/libgfortranbegin.a, file is not of required architecture
>  ld: warning: in /usr/local/lib/gcc/i686-apple-darwin8/4.2.1/libgcc.a, file is not of required architecture
> 
> Thanks,
> -John
> ----
> 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.hidden> with the first line of the message as:
> unsubscribe

    ----------------------------------------------------------
    Daniel Dewey                           dd_at_email.domain.hidden    MIT Kavli Institute              Office:(617) 253-7244
    70 Vassar St., NE80-6085            Fax:(617) 253-8084  
    Cambridge, MA 02139         http://space.mit.edu/home/dd
    ----------------------------------------------------------
Received on Sun Jan 31 2010 - 15:26:13 EST

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