According CTA-v4 code tutorial, I do some steps, how can I resolve the problem?
(Build CTA - EOSCTA Docs)
cmake3 -DPackageOnly:Bool=true …/CTA
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a “project(Project)” command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
grep: /root/…/cta.spec.in: No such file or directory
CMake Error at CMakeLists.txt:77 (string):
string sub-command REPLACE requires at least four arguments.
CMake Error at CMakeLists.txt:80 (include):
include could not find requested file:
…/cmake/UseRPMToolsEnvironment.cmake
CMake Error at CMakeLists.txt:86 (file):
file failed to open for reading (No such file or directory):
/root/…/continuousintegration/docker/ctafrontend/cc7/etc/yum/pluginconf.d/versionlock.list
– Configuring incomplete, errors occurred!
make cta_srpm
make: *** No rule to make target ‘cta_srpm’. Stop.