CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] "make: *** No rule to make target ..." when installing swak4Foam within OpenFOAM10 (https://www.cfd-online.com/Forums/openfoam-community-contributions/246702-make-no-rule-make-target-when-installing-swak4foam-within-openfoam10.html)

lyb99 December 17, 2022 22:18

"make: *** No rule to make target ..." when installing swak4Foam within OpenFOAM10
 
Hi!

I want to install swak4Foam within OpenFOAM 10 but I am getting errors related to bear and some Make files. I am using MacOS. Here is the error message I get when I try to install swak4Foam

Code:

Current OpenFOAM version is 10.
Previously compiled for OpenFOAM (10)

/home/openfoam/applications/Libraries/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
Looking for Python 2
Looking for Python 3
Using our own Lua at /home/openfoam/applications/Libraries/swak4Foam/privateRequirements
Checking swak4Foam-version and generating file
Swak version is 202x.yy.0
./Allwmake: line 79: hg: command not found
Could not get version of the sources
No 'bear' installed
Bison: /home/openfoam/applications/Libraries/swak4Foam/bison/bin/bison
Flex: /usr/bin/flex
Bison at /home/openfoam/applications/Libraries/swak4Foam/bison/bin/bison is version 3.8 (Major 3 Minor 8)
Flex is version 2.6.4 (Minor version: 4)
OpenFOAM-version: Major 10 Minor 0 Patch -1 (-1 == x / 98) Fork: org
No change to swak4FoamParsers/foamVersion4swak.H

Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem


wmake libso swak4FoamParsers
OpenFOAM.org version 10
make: *** No rule to make target 'Make/linux64GccDPInt32Opt/SubsetValueExpressionParser.o', needed by 'Make/linux64GccDPInt32Opt/CellSetValueExpressionDriver.o'.  Stop.
wmake error: file 'Make/linux64GccDPInt32Opt/files' could not be created in /home/openfoam/applications/Libraries/swak4Foam/Libraries/swak4FoamParsers
Parser library did not compile OK. No sense continuing as everything else depends on it

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard

I also do not know why it says that
Code:

hg: command not found
when I already installed Mercurial prior to attempting installing swak4Foam. I hope somebody could help or point me in the right direction. I tried reading a lot of the thread here and got no solution that worked for my case. Thank you!


All times are GMT -4. The time now is 11:28.