Philip, It works. Thank you! gjy 2010/4/13, Philip Blakely <pmb39@xxxxxxxxx>: > > Hello, > > I think your problem is that you don't have write-access to /usr/local/ > where you're trying to install A++. > > There are two possible solutions: > > 1) If you have a root/admin account on this computer, then you can either > use > > sudo make install [you'll be asked for your usual password] > > or > > su [you'll be asked for your root password] > make install > > and you'll be able to install A++ under /usr/local as you wanted. > > 2) If you don't have root access, then just change the installation > location for A++ to somewhere that you do have write-access to, e.g. > configure A++ as: > > ./configure --prefix=~/code/A++-install/ > > Hope this helps, > > Philip > > > > On 04/13/2010 11:04 AM, ye Huang wrote: > >> Hello everybody, >> Could you help me to figure out the following error: >> gjyadi@yangsiqi-desktop:~/code/overture/overture/A++P++-0.7.9d$ make >> install >> Making install in A++ >> gmake[1]: Entering directory >> `/home/gjyadi/code/overture/overture/A++P++-0.7.9d/A++' >> Making install in include >> gmake[2]: Entering directory >> `/home/gjyadi/code/overture/overture/A++P++-0.7.9d/A++/include' >> gmake[3]: Entering directory >> `/home/gjyadi/code/overture/overture/A++P++-0.7.9d/A++/include' >> gmake[3]: Nothing to be done for `install-exec-am'. >> /usr/bin/install -c -m 644 config.h //usr/local/A++/install/include >> /usr/bin/install: cannot create regular file >> `//usr/local/A++/install/include': No such file or directory >> gmake[3]: *** [install-data-local] Error 1 >> gmake[3]: Leaving directory >> `/home/gjyadi/code/overture/overture/A++P++-0.7.9d/A++/include' >> gmake[2]: *** [install-am] Error 2 >> gmake[2]: Leaving directory >> `/home/gjyadi/code/overture/overture/A++P++-0.7.9d/A++/include' >> gmake[1]: *** [install-recursive] Error 1 >> gmake[1]: Leaving directory >> `/home/gjyadi/code/overture/overture/A++P++-0.7.9d/A++' >> make: *** [install-recursive] Error 1 >> gjyadi@yangsiqi-desktop:~/code/overture/overture/A++P++-0.7.9d$ >> >> I install the A++ package by following the instructions in the website: >> https://computation.llnl.gov/casc/Overture/henshaw/install/node6.html >> >> Thanks >> -- >> Best Wishes >> >> gjy >> > > -- 祝好! Jiaye Gan