RE: Compilation on Ubuntu (tag 59821): deltares_common_version_module - Forum - Delft3D
Forum
- Home
- 3. Archive
- General
- Compilation on Linux
- RE: Compilation on Ubuntu (tag 59821): deltares_common_version_module
RE: Compilation on Ubuntu (tag 59821): deltares_common_version_module
Compilation on Ubuntu (tag 59821): deltares_common_version_module
Youngling Posts: 2 Join Date: 9/28/12 Recent PostsHello everyone. I have been trying to compile Delft3D tag 59821, on my Ubuntu machine. I have run `./build_ubuntu1604.sh -gnu -64bit` and I come across the fatal error below:
========
:
:
util.f90:40:8:
use deltares_common_version_module
1
Fatal
Error: Can't open module file ‘deltares_common_version_module.mod’ for
reading at (1): No such file or directory
compilation terminated.
:
:
========
There is a `deltares_common_version.F90.svn` that might have been skipped during the make process. I have also attached the complete make log file.
I would appreciate very much if someone could give me some directions on what I should do in order to successfully compile Delf3D.
Kind regards,
Sebastian
Attachments:
RE: Compilation on Ubuntu (tag 59821): deltares_common_version_module
Padawan Posts: 97 Join Date: 1/3/11 Recent PostsHi Sebastian,
This error might appear when the source code is exported (without Subversion information) instead of checked out (with Subversion information). The funny thing is that the creation of file "deltares_common_version.F90" is not in your make.log. Can you try starting with a fresh checkout of the source code?
Some more info that might help you:
"...\src\utils_lgpl\deltares_common\packages\deltares_common\src\Makefile.am", at the end: "deltares_common_version.F90" will always be generated, using script "update_version.sh".
"...\src\scripts_lgpl\linux\update_version.sh": binary "svnversion" is supposed to be installed on your machine and is used to obtain the correct revision number.
Regards,
Adri
RE: Compilation on Ubuntu (tag 59821): deltares_common_version_module
Youngling Posts: 2 Join Date: 9/28/12 Recent PostsHi Adri,
Thank you for your kind message. I'm not an IT specialist, but
I have been using subversion to keep my repository updated.
I eventually managed to compile Delft3D source code after
manually running `make ds-install` a couple of times after running `build_ubuntu1604.sh`.
Best regards,
Sebastian