Re: isis 1.5.0-20 installation on snow Leopard

From: Michael Nowak <mnowak_at_email.domain.hidden>
Date: Wed, 3 Feb 2010 16:46:37 -0500
On Feb 3, 2010, at 4:25 PM, juan luna wrote:

> I'm one step closer now to make it work. I succesfully installed slang and heasoft using gcc and gfortran v4.2.1 and the flags:
> 
> CFLAGS="-g -O2 -m32 -arch i386"
> and 
> LDFLAGS="-m32"
> 
> but now I've run into another problem, this time with ISIS, I did:
> 
> ./configure --with-headas=$HEADAS --with-slang=/usr/local
> 
> and obtained the attache config.log. Then when I type make (after make clean), I got this error message
>  
> /usr/local/bin/gfortran -g -O2 -o /Users/gjmluna/Downloads/isis-1.5.0-7/src/objs/isis -m32   /Users/gjmluna/Downloads/isis-1.5.0-7/src/objs/isis.o   -L/Users/gjmluna/Downloads/isis-1.5.0-7/src/objs -lisis -lreadline -ltermcap -L/Users/gjmluna/Downloads/heasoft-6.8/i386-apple-darwin10.2.0/lib -lcfitsio_3.22  -L/usr/local//lib -lslang -ldl -lX11  -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.1 -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.1/../../.. -lgfortranbegin -lgfortran   -lm 
> ld: library not found for -lX11
> collect2: ld returned 1 exit status
> make[1]: *** [/Users/gjmluna/Downloads/isis-1.5.0-7/src/objs/isis] Error 1
> make: *** [all] Error 2


Sounds like one I encountered, to which John gave me the answer:

%%%%%%%%%%%%%%%%%%%%%%

In the past, I've used something like this:

 /configure --with-headas=$HEADAS \
                 --x-libraries=/usr/X11/lib \
                 --x-includes=/usr/X11/include

If /usr/X11 isn't right, you might have to look around to
see what directory has been used.

Does that fix it?

%%%%%%%%%%%%%%%%%%%%%%%%

i.e., Apple recently moved the location of their X-libraries.  So, check to make sure that's where they are, and if so, tell ISIS where to find them.

Cheers,

Mike
Received on Wed Feb 03 2010 - 16:46:41 EST

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