Stuff that is missing in OpenFOAM 1.7 released today...
Dear OpenCFD developers,
I think it's the 3rd year in a row that you've left out the Make files for libccmio in the ThirdParty folder :( In other words, the folder "ThirdParty-1.7/wmakeFiles/libccmio", with the files "files" and "options", is missing (again) :( Best regards, Bruno PS: Sweet work with the release of the Debian packaging! That will make life easier for a lot of beginners :) Many thanks!! NOTE: This note is just because some user might report aimlessly about this issue in a near future, although it's not a critical error at all: foamInstallationTest doesn't give an OK report with the debian package, because "/opt/ThirdParty-1.7" folder doesn't exist. Additionally, since the system gcc is picked, it looks for it in the folder "/bin/gcc", when in Ubuntu it's "/usr/bin/gcc". |
I have repacked the ThirdParty-1.7.tgz with the Make file for libccmio.
The foamInstallationTest script is for the source-build installation as described in the README.org file, not for the Debian pack installation. H |
Greetings Henry,
I'm sorry for pulling this thread back up, but it seemed more appropriate to post here, rather then starting a new thread. Oh and thanks again for the quick repackaging! This post is to report that AllwmakeLibccmio will not work with the general shell sh (more specifically, Ubuntu's dash). But it worked with bash, similarly to what use to happen with the All* tutorial scripts. The only fail point with sh was in the function cpMakeFiles, that although it did create the folder Make inside libccmio-2.6.1, but it did not manage to copy the existing files in the folder wmakeFiles/libccmio :( My apologies for not finding+reporting this sooner and sadly I can't figure out why it doesn't work with dash either :( Best regards, Bruno |
There seems to be a difference of opinion between bash and ash/dash concerning the outcome of the "newer than" conditional "-nt" when one of the files does not exits. To avoid this we can add an explicit test for the existence of the files before using "-nt".
So in cpMakeFiles use the condition: if [ ! -e $dst/$d/Make/$b -o $wmakeFiles/$i -nt $dst/$d/Make/$b ] which seems to work fine with dash. H |
Quote:
Quote:
|
Greetings to all,
Henry: thank you for the quick response. It works very well with dash :) Too bad this wont get to be repackaged in 1.7.0 :( Quote:
Quote:
Don't forget that bash stands for Bourne-Again SHell ;) Best regards, Bruno |
All times are GMT -4. The time now is 10:46. |