Error trying to install 2.1.x on Ubuntu 12.04
Hi everyone. I've gotten stuck at the part where I'm supposed to source the bashrc. When I input
Code:
source /opt/OpenFOAM-2.1.x/etc/bashrc Code:
-su: /root/OpenFOAM/OpenFOAM-2.1.x/<Stuff>: No such file or directory All told there are 11 files or directories not found. Any ideas what I'm doing wrong? Thanks. |
Greetings Tetragramm,
Building OpenFOAM (or almost anything else) as root is not a good idea, because one wrong key push and you might damage your OS installation... and with luck, spend an additional 30 or more minutes reinstalling it. If you still want to take that risk, then you should have read the whole installation instructions page - http://www.openfoam.org/download/git.php - more specifically section "Setting environment variables for alternative locations": Quote:
Best regards, Bruno |
That was it, thanks. I'm not too worried about messing up. It's running on a VM with a restore image ready just before I started the install process. Also, because I'm using this to set up a LiveCD, I don't have a choice but to run in root, because that's how UCK works.
I'm being very careful not to make any typos, the problem comes when I don't understand something, or worse, misunderstand it. In this case, I thought that was going to be an output directory and had it set somewhere that didn't exist. Thanks for you help. |
All times are GMT -4. The time now is 13:35. |