Hi All,
I am trying to build OGS6 on Ubuntu 16.04. But, configuration failed due to error. I attached *.log file. Any co-operation will be appreciable.
fatal: Not a git repository (or any of the parent directories): .git
CMake Error at scripts/cmake/SubmoduleSetup.cmake:41 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:36 (include)
still facing problem to configure OGS6. Please see attachment for configuration’s screen shot. Any clue to resolve the configuration problem will be appreciable.
May I ask how you obtained the source code? Maybe via GitHubs Download ZIP-functionality? This does not work. You have to clone it with git:
git clone https://github.com/ufz/ogs.git
Does this solve your problem? It is because we conditionally clone other projects (via git submodule) inside the source code depending on OGS’ configuration.
Best,
Lars
···
On 13 Jul 2017, at 23:31, Mohammad Islam wrote:
Hi All,
I am trying to build OGS6 on Ubuntu 16.04. But, configuration failed due to error. I attached *.log file. Any co-operation will be appreciable.
fatal: Not a git repository (or any of the parent directories): .git
CMake Error at scripts/cmake/SubmoduleSetup.cmake:41 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:36 (include)
Dear Lars Bilke,
Thank you for your kind reply. I will get back to you soon, after trying the procedure as you mentioned. Yes, I have downloaded using “GitHubs Download ZIP-functionality”.
For quick note, couple of your notes as follows might need to revise
For my case, to install Conan in UBuntu 16.04 I used following command and it works.
To install third-party libraries, I followed following procedure;
GLUT:sudo apt-get install freeglut3 freeglut3-dev
Boost: sudo apt-get install libboost-dev
Eigen: sudo apt-get install libeigen3-dev
VTK: wget http://www.vtk.org/files/release/7.1/VTK-7.1.0.tar.gz
tar -xf VTK-7.1.0.tar.gz cd VTK-7.1.0
mkdir build cd build
cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release …
$ make
sudo make install
Lis: wget http://www.ssisc.org/lis/dl/lis-1.7.9.tar.gz
tar xf lis-1.7.9.tar.gz
cd lis-1.7.9
./configure
sudo make install
Regards,
Mohammad
···
On Tuesday, 18 July 2017 07:20:26 UTC-4, Lars Bilke wrote:
Dear Mohammed,
I am sorry for the late reply.
May I ask how you obtained the source code? Maybe via GitHubs Download ZIP-functionality? This does not work. You have to clone it with git:
Does this solve your problem? It is because we conditionally clone other projects (via git submodule) inside the source code depending on OGS’ configuration.
Best,
Lars
On 13 Jul 2017, at 23:31, Mohammad Islam wrote:
Hi All,
I am trying to build OGS6 on Ubuntu 16.04. But, configuration failed due to error. I attached *.log file. Any co-operation will be appreciable.
fatal: Not a git repository (or any of the parent directories): .git
CMake Error at scripts/cmake/SubmoduleSetup.cmake:41 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:36 (include)