Compile issue version 13.1


#1

from a fresh tgz download:

warmstrong@krypton:~/Downloads/scidb$ cmake scidb-13.1.0
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- The Fortran compiler identification is GNU
...
...
...
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- CMAKE_INSTALL_PREFIX Initialized to default setting to: /opt/scidb/13.1
-- Found Subversion: /usr/bin/svn (found version "1.6.17") 
-- Found Git: /usr/bin/git (found version "1.7.10.4") 
CMake Error at CMakeLists.txt:88 (message):
  Can not fetch working copy version and can't find revision file.


-- Configuring incomplete, errors occurred!
warmstrong@krypton:~/Downloads/scidb$ 

Are there config steps before running cmake? This method seemed to work just fine with 12.12.

-Whit


#2

echo “6666” >> scidb-13.1.0/revision


#3

Is 13.1 not ready yet?

Scanning dependencies of target system_lib
[  9%] Building CXX object src/system/CMakeFiles/system_lib.dir/System.cpp.o
[  9%] Building CXX object src/system/CMakeFiles/system_lib.dir/Config.cpp.o
[  9%] Building CXX object src/system/CMakeFiles/system_lib.dir/Exceptions.cpp.o
[  9%] Building CXX object src/system/CMakeFiles/system_lib.dir/Cluster.cpp.o
[ 10%] Building CXX object src/system/CMakeFiles/system_lib.dir/Sysinfo.cpp.o
[ 10%] Building CXX object src/system/CMakeFiles/system_lib.dir/Constants.cpp.o
/tmp/scidb/src/system/Constants.cpp:41:38: warning: missing terminating " character [enabled by default]
/tmp/scidb/src/system/Constants.cpp:41:1: error: missing terminating " character
/tmp/scidb/src/system/Constants.cpp:42:1: warning: missing terminating " character [enabled by default]
/tmp/scidb/src/system/Constants.cpp:42:1: error: missing terminating " character
/tmp/scidb/src/system/Constants.cpp:55:24: warning: missing terminating " character [enabled by default]
/tmp/scidb/src/system/Constants.cpp:55:5: error: missing terminating " character
/tmp/scidb/src/system/Constants.cpp:56:1: warning: missing terminating " character [enabled by default]
/tmp/scidb/src/system/Constants.cpp:56:1: error: missing terminating " character
/tmp/scidb/src/system/Constants.cpp: In function ‘const char* scidb::SCIDB_VERSION()’:
/tmp/scidb/src/system/Constants.cpp:43:1: error: expected primary-expression before ‘const’
/tmp/scidb/src/system/Constants.cpp:43:1: error: expected ‘;’ before ‘const’
/tmp/scidb/src/system/Constants.cpp:43:32: error: a function-definition is not allowed here before ‘{’ token
/tmp/scidb/src/system/Constants.cpp:45:32: error: a function-definition is not allowed here before ‘{’ token
/tmp/scidb/src/system/Constants.cpp:46:32: error: a function-definition is not allowed here before ‘{’ token
/tmp/scidb/src/system/Constants.cpp:47:32: error: a function-definition is not allowed here before ‘{’ token
/tmp/scidb/src/system/Constants.cpp:48:32: error: a function-definition is not allowed here before ‘{’ token
/tmp/scidb/src/system/Constants.cpp:51:36: error: a function-definition is not allowed here before ‘{’ token
/tmp/scidb/src/system/Constants.cpp:54:1: error: a function-definition is not allowed here before ‘{’ token
/tmp/scidb/src/system/Constants.cpp:62:1: error: a function-definition is not allowed here before ‘{’ token
/tmp/scidb/src/system/Constants.cpp:67:1: error: a function-definition is not allowed here before ‘{’ token
/tmp/scidb/src/system/Constants.cpp:71:21: error: ‘MB’ has both ‘extern’ and initializer
/tmp/scidb/src/system/Constants.cpp:73:21: error: ‘GB’ has both ‘extern’ and initializer
/tmp/scidb/src/system/Constants.cpp:73:31: error: ‘MB’ was not declared in this scope
/tmp/scidb/src/system/Constants.cpp:75:21: error: ‘DEFAULT_MEM_THRESHOLD’ has both ‘extern’ and initializer
/tmp/scidb/src/system/Constants.cpp:76:21: error: ‘DEFAULT_DENSE_CHUNK_THRESHOLD’ has both ‘extern’ and initializer
/tmp/scidb/src/system/Constants.cpp:77:21: error: ‘DEFAULT_SPARSE_CHUNK_INIT_SIZE’ has both ‘extern’ and initializer
/tmp/scidb/src/system/Constants.cpp:78:18: error: ‘DEFAULT_STRING_SIZE_ESTIMATION’ has both ‘extern’ and initializer
/tmp/scidb/src/system/Constants.cpp:80:18: error: ‘METADATA_VERSION’ has both ‘extern’ and initializer
/tmp/scidb/src/system/Constants.cpp: At global scope:
/tmp/scidb/src/system/Constants.cpp:81:1: error: expected ‘}’ at end of input
/tmp/scidb/src/system/Constants.cpp: In function ‘const char* scidb::SCIDB_VERSION()’:
/tmp/scidb/src/system/Constants.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [src/system/CMakeFiles/system_lib.dir/Constants.cpp.o] Error 1
make[1]: *** [src/system/CMakeFiles/system_lib.dir/all] Error 2
make: *** [all] Error 2
warmstrong@krypton:/tmp/scidb$ 

Is there a public svn or git repo anywhere?

-Whit


#4

Thanks Whit.
The tarball should now be fixed. A public-access repository will be available at some point in the future.