On 11/29/2010 3:03 PM, Gus Correa wrote:
Jeff Squyres wrote:
1- ./configure FC=ifort F77=ifort CC=icc CXX=icpc
2-make all
3 sudo make install all
os passos 1 e 2 operam normalmente, mas quando uso o comando make
install
aparece o erro que nao consigo solucionar.
You say only step 3 above fails.
You could try "sudo -E make install".
I take it that sudo -E should copy over the environment variable
settings. I haven't been able to find any documentation of this option,
and I don't currently have an Ubuntu installation to check it.
Not being aware of such an option, I used to do:
sudo
source ...... compilervars.sh
make install
--
Tim Prince