Open arozhd opened 7 years ago
Build system switched from autotools to cmake, so this problem should be fixed. Need to be tested.
Much better but still has some warnings: In file included from /usr/include/c++/4.8.2/thread:35:0, from /opt/russell/src/../include/std.hpp:33, from /opt/russell/src/../include/timer.hpp:3, from /opt/russell/src/com/timer.cpp:13: /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
^ [ 6%] Building C object metamath/CMakeFiles/metamath.dir/mmcmds.c.o In file included from /opt/russell/src/../include/timer.hpp:3:0, from /opt/russell/src/com/timer.cpp:13: /opt/russell/src/../include/std.hpp:88:13: error: 'std::to_string' has not been declared using std::to_string; ^ /opt/russell/src/../include/std.hpp:90:10: error: 'uint32_t' in namespace 'std' does not name a type typedef std::uint32_t uint; ^ /opt/russell/src/../include/std.hpp:101:13: error: 'std::thread' has not been declared using std::thread; ^ /opt/russell/src/../include/std.hpp:102:13: error: 'std::mutex' has not been declared using std::mutex; ^ /opt/russell/src/../include/std.hpp:103:13: error: 'std::unordered_map' has not been declared using std::unordered_map; ^ /opt/russell/src/../include/std.hpp:104:13: error: 'std::unordered_set' has not been declared using std::unordered_set; ^ /opt/russell/src/../include/std.hpp:106:13: error: 'std::unique_ptr' has not been declared using std::unique_ptr; ^ /opt/russell/src/../include/std.hpp:107:13: error: 'std::shared_ptr' has not been declared using std::shared_ptr; ^ /opt/russell/src/../include/std.hpp:108:13: error: 'std::weak_ptr' has not been declared using std::weak_ptr; ^ /opt/russell/src/../include/std.hpp:109:13: error: 'std::make_shared' has not been declared using std::make_shared; ^ /opt/russell/src/../include/std.hpp:110:13: error: 'std::make_unique' has not been declared using std::make_unique; ^ /opt/russell/src/../include/std.hpp:113:13: error: 'std::function' has not been declared using std::function;
cut: mm -> mm run_check: line 4: /opt/russell/scripts/../build/release/bin/mdl: No such file or directory
TEST FAILED.
Additionally: pay attention for compiler version. This is because of centos updates happen much rare
Subject. Step to reproduce: just run ./run from project dir
Log output: ./run
COMPILING THE PROJECT ...
configure.ac:32: error: required file './config.guess' not found configure.ac:32: 'automake --add-missing' can install 'config.guess' configure.ac:32: error: required file './config.sub' not found configure.ac:32: 'automake --add-missing' can install 'config.sub' configure.ac:8: error: required file './install-sh' not found configure.ac:8: 'automake --add-missing' can install 'install-sh' configure.ac:8: error: required file './missing' not found configure.ac:8: 'automake --add-missing' can install 'missing' metamath/Makefile.am: error: required file './depcomp' not found metamath/Makefile.am: 'automake --add-missing' can install 'depcomp' configure: WARNING: unrecognized options: --disable-shared configure: error: cannot find install-sh, install.sh, or shtool in "../.." "../../.." "../../../.." make: *** No targets specified and no makefile found. Stop.
compiling the project - DONE
MM -> MM CUTTING
cut: mm -> mm COMMAND: /opt/russell/scripts/../build/release/bin/mdl "mm opts verbose" "mm cut in=uset-100000.mm out=uset-100000.smm out-root=mm" exit run_check: line 4: /opt/russell/scripts/../build/release/bin/mdl: No such file or directory
TEST FAILED.
Additionally: uname -ar Linux pc-server 4.2.3-200.el7.armv7hl #1 SMP Wed Nov 25 18:01:51 EST 2015 armv7l armv7l armv7l GNU/Linux cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core)