AMBER Archive (2006)

Subject: RE: AMBER: Problem about installing amber9 on Mac OS X

From: Ross Walker (ross_at_rosswalker.co.uk)
Date: Thu Sep 28 2006 - 13:52:30 CDT


I think this is because somewhere the full path to gcc is being specified
rather than just gcc.

Try creating the link instead of an alias.

which gcc-4.0

cd /usr/bin
ln -s gcc /xxxxxx/gcc-4.0

where xxxxx is the path reported by which gcc-4.0.

All the best
Ross

/\
\/
|\oss Walker

| HPC Consultant and Staff Scientist |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross_at_rosswalker.co.uk |
| http://www.rosswalker.co.uk | PGP Key available on request |

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.

> -----Original Message-----
> From: owner-amber_at_scripps.edu
> [mailto:owner-amber_at_scripps.edu] On Behalf Of gtg549i_at_mail.gatech.edu
> Sent: Thursday, September 28, 2006 11:32
> To: amber_at_scripps.edu
> Subject: RE: AMBER: Problem about installing amber9 on Mac OS X
>
> Now gcc is working, but when i tried to install amber9, there
> is still a
> problem:
>
> lawn-128-61-117-8:/ root# cd usr/bin/
> lawn-128-61-117-8:/usr/bin root# alias gcc=gcc-4.0
> lawn-128-61-117-8:/usr/bin root# gcc
> powerpc-apple-darwin8-gcc-4.0.0: no input files
> lawn-128-61-117-8:/usr/bin root# cd $AMBERHOME/src
> lawn-128-61-117-8:~/amber9/src root# make serial
> Starting installation of Amber9 (serial) at Thu Sep 28
> 14:29:46 EDT 2006.
> cd lib; make install
> cpp -traditional -P -xassembler-with-cpp new2oldparm.f >
> _new2oldparm.f
> /usr/bin/cpp: line 1: /usr/bin/gcc: No such file or directory
> make[1]: *** [new2oldparm.o] Error 127
> make: *** [serial] Error 2
>
>
> Quoting Ross Walker <ross_at_rosswalker.co.uk>:
>
> >
> > You could try aliasing gcc to gcc-4.0.
> >
> > alias gcc=gcc-4.0
> >
> > Alternatively you could create a link to gcc-4.0 in /usr/bin
> >
> > cd /usr/bin
> > ln -s gcc /locationofgcc40/gcc-4.0
> >
> > Then see if this works.
> >
> > All the best
> > Ross
> >
> > /\
> > \/
> > |\oss Walker
> >
> > | HPC Consultant and Staff Scientist |
> > | San Diego Supercomputer Center |
> > | Tel: +1 858 822 0854 | EMail:- ross_at_rosswalker.co.uk |
> > | http://www.rosswalker.co.uk | PGP Key available on request |
> >
> > Note: Electronic Mail is not secure, has no guarantee of
> delivery, may not
> > be read every day, and should not be used for urgent or
> sensitive issues.
> >
> > > -----Original Message-----
> > > From: owner-amber_at_scripps.edu
> > > [mailto:owner-amber_at_scripps.edu] On Behalf Of
> gtg549i_at_mail.gatech.edu
> > > Sent: Thursday, September 28, 2006 09:29
> > > To: amber_at_scripps.edu
> > > Subject: AMBER: Problem about installing amber9 on Mac OS X
> > >
> > > Dear Amber,
> > >
> > > I tried to install amber9 on Mac OS X (Powerbook G4), but i
> > > got the following
> > > problem:
> > >
> > > lawn-128-61-117-8:~/amber9/src root# make serial
> > > Starting installation of Amber9 (serial) at Thu Sep 28
> > > 12:08:42 EDT 2006.
> > > cd lib; make install
> > > cpp -traditional -P -xassembler-with-cpp new2oldparm.f >
> > > _new2oldparm.f
> > > /usr/bin/cpp: line 1: /usr/bin/gcc: No such file or directory
> > > make[1]: *** [new2oldparm.o] Error 127
> > > make: *** [serial] Error 2
> > >
> > > I already installed gcc-4.0 on my Mac, when i type:
> > >
> > > lawn-128-61-117-8:~/amber9/src root# gcc-4.0
> > > powerpc-apple-darwin8-gcc-4.0.0: no input files
> > >
> > > So i am sure gcc is there. In the config.h file, i changed
> > > gcc to gcc-4.0 and
> > > try the "make serial" again. I got the same error message.
> > >
> > > Any suggestion? Thanks a lot!
> > > --------------------------------------------------------------
> > > ---------
> > > The AMBER Mail Reflector
> > > To post, send mail to amber_at_scripps.edu
> > > To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
> > >
> >
> >
> >
> --------------------------------------------------------------
> ---------
> > The AMBER Mail Reflector
> > To post, send mail to amber_at_scripps.edu
> > To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
> >
>
>
> --
>
> --------------------------------------------------------------
> ---------
> The AMBER Mail Reflector
> To post, send mail to amber_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu