Re: [AMBER] X11 problems on Mac OS X 10.8

From: Jonathan Gough <jonathan.d.gough.gmail.com>
Date: Thu, 4 Oct 2012 11:08:32 -0400

That fixed that error. But I am back stuck with an error due to clang.

the error is:

mv libsqm.a /Users/jonathangough/amber12/lib
gfortran -DBINTRAJ -c -O0 -ffree-form -I../../AmberTools/src/pbsa
-I../../AmberTools/src/sqm -I../../AmberTools/src/rism -I../../include
 -I/Users/jonathangough/amber12/include
-I/Users/jonathangough/amber12/include -o file_io_dat.o file_io_dat.F90
/opt/local/bin/as: assembler (/opt/local/bin/clang) not installed

I used macports to install clang-2.9

new-host:bin jonathangough$
new-host:bin jonathangough$ whereis clang
/usr/bin/clang
new-host:bin jonathangough$

and where it is looking for it - here is what I have

ew-host:bin jonathangough$ pwd
/opt/local/bin
new-host:bin jonathangough$ ls clang*
clang++-mp-2.9 clang-mp-2.9
new-host:bin jonathangough$

any insight?

On Wed, Oct 3, 2012 at 10:47 PM, Julio Dominguez <acheron24.hotmail.com>wrote:

> dac,
> That was it! Compilation is proceeding as I type.
> Jonathan, have you tested it too.
> Thanks and best regards.
>
>
> >
> > Message: 1
> > Date: Wed, 3 Oct 2012 07:49:30 -0400
> > From: David A Case <case.biomaps.rutgers.edu>
> > Subject: Re: [AMBER] X11 problems on Mac OS X 10.8
> > To: AMBER Mailing List <amber.ambermd.org>
> > Message-ID: <20121003114930.GB53740.biomaps.rutgers.edu>
> > Content-Type: text/plain; charset=us-ascii
> >
> > On Tue, Oct 02, 2012, Jonathan Gough wrote:
> >
> > > i have /usr/X11R6/include/X11/IntrinsicP.h
> > >
> > > and config.h has:
> > >
> > > XHOME= /usr/X11R6
> >
> > OK: I think I see what is going on. Add the following lines to the
> Makefile
> > in $AMBERHOME/AmberTools/src/leap/src/leap, somewhere after the first
> line:
> >
> > .c.o:
> > $(CC) -c -I$(XHOME)/include $(CFLAGS) $(AMBERCFLAGS) -o $. $<
> >
> > (Note that the second line must begin with a tab character, not spaces.
> > Include a blank line after the above lines.)
> >
> > The above lines are in the other Makefiles in the leap tree, but not in
> > leap/src itself. It's not clear to me why this never caused a problem
> before
> > MacOSX 10.8.
> >
> > ...hope this helps.....dac
> >
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Oct 04 2012 - 08:30:04 PDT
Custom Search