View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002220 | OpenFOAM | Bug | public | 2016-08-26 07:09 | 2016-08-30 14:46 |
Reporter | Epic-o | Assigned To | wyldckat | ||
Priority | normal | Severity | crash | Reproducibility | have not tried |
Status | closed | Resolution | unable to reproduce | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.04 |
Summary | 0002220: Compiling error: recipe for target 'mesh' failed | ||||
Description | I have been following the compiling instructions described in http://openfoam.org/download/source/. Everything works well until I get the following error when compiling OpenFOAM: /root/OpenFOAM/OpenFOAM-4.x/wmake/makefiles/apps:39: recipe for target 'mesh' failed make: *** [mesh] Error 2 | ||||
Additional Information | Ubuntu 16.04 running in VirtualBox 5.1.4 on Windows 10 | ||||
Tags | No tags attached. | ||||
|
Please run the following commands, after you've sourced OpenFOAM's "etc/bashrc" file: foam ./Allwmake > log.make 2>&1 Then please upload the file "log.make" to this bug report. I ask this because that error message alone is not enough to fully diagnose the origin of the problem. |
|
Sorry but when I source the "etc/bashrc" file I get multiple errors of the type: -bash: bashrc/OpenFOAM-4.x/...: Not a directory Should I make any modification to the bashrc file before sourcing it? Thanks |
|
I'm sorry to say that the error message you've provided is inconsistent, given it's referring to a path that is inverted? Why is "bashrc" appearing before "OpenFOAM-4.x"? Please see the instructions given here: http://openfoam.org/download/source/setting-environment/ In other words, the complete command is this: source $HOME/OpenFOAM/OpenFOAM-4.x/etc/bashrc Nonetheless, given that you're trying to build in root mode, I strongly advise you to step out of root mode, by running first: exit Then please follow the instructions from step #2: http://openfoam.org/download/source/downloading-source-code/ If you wish to move the files you've downloaded already into the "/root" folder, then you can use something like the following commands (while in root mode): mv /root/OpenFOAM /home/your_user_name/OpenFOAM chown -r your_user_name:your_user_name /home/your_user_name/OpenFOAM Please don't forget to replace "your_user_name" with your own user name, namely the one when you first start the terminal/console command line. |
|
I have re-run the compilation in my home directory and everything went correctly. For some reason the compilation does not work in my root directory. Feel free to close this issue. Thank you very much! |
|
You're welcome and many thanks for the feedback! I'm closing this as "unable to reproduce", given there isn't enough information to reproduce the original issue. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-08-26 07:09 | Epic-o | New Issue | |
2016-08-26 18:47 | wyldckat | Note Added: 0006773 | |
2016-08-29 11:30 | Epic-o | Note Added: 0006780 | |
2016-08-29 20:54 | wyldckat | Priority | urgent => normal |
2016-08-29 21:00 | wyldckat | Note Added: 0006781 | |
2016-08-29 21:08 | wyldckat | Relationship added | related to 0002222 |
2016-08-30 14:43 | Epic-o | Note Added: 0006788 | |
2016-08-30 14:46 | wyldckat | Note Added: 0006789 | |
2016-08-30 14:46 | wyldckat | Status | new => closed |
2016-08-30 14:46 | wyldckat | Assigned To | => wyldckat |
2016-08-30 14:46 | wyldckat | Resolution | open => unable to reproduce |