compilation failure of libs POSIX (latest version Dec 2019, PLUS)
i failed to install the latest version (openfoam-plus) in POSIX library. Where should i fix them?
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
Activity
- Maintainer
This actually appears to be something fairly impossible. The first stage you see is the
ln: OpenFOAM/lnInclude
The following failures are all related to the OpenFOAM/lnInclude not being properly populated with links. Perhaps you aborted at this point, or there is a problem with the write permissions. Check that the OpenFOAM/lnInclude exists and contains links the to files.
You can also do the following and see what it does for you:
cd src/OpenFOAM wmakeLnInclude -u -pwd
- Maintainer
Do you have the OpenFOAM/Ln Include directory with any contents?
- Mark OLESEN assigned to @mark
assigned to @mark
- Maintainer
This all looks fine. Do you have someone local to help you? Very difficult to see what is going wrong from here - haven't seen this type of failure ever.
I'll report on that because I've solved the problem. There are four main points.
-
ln -s src/OpenFOAM src/openfoam
-
Rewrite the last line in src/OpenFOAM/Make/files from libOpenFOAM to libopenfoam.
-
Here, ./Allwmake is executed once. The build & compilation will abort with an error (for the purpose of creating libopenfoam.so).
-
cd $FOAM_LIBBIN then ln -s libopenfoam.so libOpenFOAM.so
-
Run ./Allwmake again.
I'm wondering if some settings are wrong in the latest your version.
-
- Maintainer
Did you by chance change the value of WM_PROJECT in the
etc/bashrc
file? - Mark OLESEN mentioned in commit 193b7dba
mentioned in commit 193b7dba
- sariew8 closed
closed
- Maintainer
Thanks for following up and closing.