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

From: Shuting Wei <gtg549i.mail.gatech.edu>
Date: Fri, 29 Sep 2006 17:08:42 -0400

Thanks! Now the problem is solved. As I installed gcc 4.0.pkg from
Mac OS X Install DVD. Actually, the gcc is not completely installed.
I need to install gcc3.3.pkg and SDK.pkg as well from the Xcode.

Shuting


At 02:52 PM 9/28/2006, you wrote:
>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.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.scripps.edu
> > [mailto:owner-amber.scripps.edu] On Behalf Of gtg549i.mail.gatech.edu
> > Sent: Thursday, September 28, 2006 11:32
> > To: amber.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.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.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.scripps.edu
> > > > [mailto:owner-amber.scripps.edu] On Behalf Of
> > gtg549i.mail.gatech.edu
> > > > Sent: Thursday, September 28, 2006 09:29
> > > > To: amber.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.scripps.edu
> > > > To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
> > > >
> > >
> > >
> > >
> > --------------------------------------------------------------
> > ---------
> > > The AMBER Mail Reflector
> > > To post, send mail to amber.scripps.edu
> > > To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
> > >
> >
> >
> > --
> >
> > --------------------------------------------------------------
> > ---------
> > The AMBER Mail Reflector
> > To post, send mail to amber.scripps.edu
> > To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
> >
>
>
>-----------------------------------------------------------------------
>The AMBER Mail Reflector
>To post, send mail to amber.scripps.edu
>To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Oct 01 2006 - 06:07:20 PDT
Custom Search