Hi,
I need to build an old version of ROOT (5.34.10) but I receive the following:
user@User-PC:~/ROOT_OLD$ cmake --build . – -j4
make: *** No targets specified and no makefile found. Stop.
Previously the terminal output is:
user@User-PC:~/ROOT_OLD$ cmake …/root_old_source
– Found GCC. Major version 5, minor version 4
– CMAKE_BUILD_TYPE: RelWithDebInfo
– Found a 64bit system
– Found GNU compiler collection
– ROOT Platform: linux
– ROOT Architecture: linuxx8664gcc
– Build Type: RelWithDebInfo
– Compiler Flags: -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC
– Looking for ZLib
– Looking for Freetype
– Looking for PCRE
– Looking for LZMA
– Found LZMA includes at /home/user/ROOT/include
– Found LZMA library at /home/user/ROOT/lib/liblzma.a
– Looking for X11
– Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
– Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
– Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
– Looking for GSL
– Looking for Python
– Found Python interpreter version 2.7
– Looking for GCCXML
– Looking for OpenGL
– Looking for Bonjour
– Checking whether Bonjour/Avahi is supported
– Looking for Kerberos 5
– Looking for LibXml2
– Looking for OpenSSL
– Looking for MySQL
– Found MySQL libraries: -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl
– Found MySQL includes: /usr/include/mysql
– Looking for FFTW3
– Looking for CFITSIO
– CFITSIO not found. You can enable the option ‘builtin_cfitsio’ to build the library internally’
– For the time being switching off ‘fitsio’ option
– Enabled support for: asimage astiff bonjour builtin_afterimage builtin_ftgl builtin_glew cintex exceptions explicitlink fftw3 genvector krb5 ldap mathmore memstat mysql opengl python reflex shadowpw shared ssl tmva xft xml x11
– Configuring done
CMake Warning (dev) in cint/cint/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “Cint” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
Cint_static;-lpthread;dl
LINK_INTERFACE_LIBRARIES:
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in core/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “Core” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
-L/home/user/ROOT/lib -lpcre;/home/user/ROOT/lib/liblzma.a;/usr/lib/x86_64-linux-gnu/libz.so;dl;-lpthread;Cint
LINK_INTERFACE_LIBRARIES:
Cint
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in cint/reflex/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “Reflex” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
dl
LINK_INTERFACE_LIBRARIES:
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in math/mathcore/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “MathCore” has an INTERFACE_LINK_LIBRARIES property which differs
from its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
-lpthread;Core
LINK_INTERFACE_LIBRARIES:
Core
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in graf2d/graf/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “Graf” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
/usr/lib/x86_64-linux-gnu/libfreetype.so;/usr/lib/x86_64-linux-gnu/libz.so;mathtext;Hist;Matrix;MathCore;RIO
LINK_INTERFACE_LIBRARIES:
Hist;Matrix;MathCore;RIO
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in io/io/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “RIO” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
dl;Core;Thread
LINK_INTERFACE_LIBRARIES:
Core;Thread
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in core/thread/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “Thread” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
-lpthread;Core
LINK_INTERFACE_LIBRARIES:
Core
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in net/net/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “Net” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
/usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so;-lcrypt;MathCore;RIO
LINK_INTERFACE_LIBRARIES:
MathCore;RIO
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in tmva/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “TMVA” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
Core;Cint;RIO;Hist;Tree;MLP;Minuit;XMLIO
LINK_INTERFACE_LIBRARIES:
RIO;Hist;Tree;MLP;Minuit;XMLIO
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in gui/gui/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “Gui” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
Cint;Core;Gpad;Graf;MathCore
LINK_INTERFACE_LIBRARIES:
Gpad;Graf;MathCore
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in net/auth/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “RootAuth” has an INTERFACE_LINK_LIBRARIES property which differs
from its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
-lcrypt;Net;RIO
LINK_INTERFACE_LIBRARIES:
Net;RIO
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in graf2d/x11/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “GX11” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
Core;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libXpm.so;-lpthread
LINK_INTERFACE_LIBRARIES:
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in graf2d/asimage/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “ASImage” has an INTERFACE_LINK_LIBRARIES property which differs
from its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
Core;-L/home/user/ROOT_OLD/lib -lAfterImage;/usr/lib/x86_64-linux-gnu/libfreetype.so;/usr/lib/x86_64-linux-gnu/libpng.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libz.so;Graf
LINK_INTERFACE_LIBRARIES:
Graf
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in graf3d/glew/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “GLEW” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
/usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
LINK_INTERFACE_LIBRARIES:
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in graf3d/ftgl/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “FTGL” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
/usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libfreetype.so;/usr/lib/x86_64-linux-gnu/libz.so
LINK_INTERFACE_LIBRARIES:
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in graf3d/gl/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run “cmake --help-policy CMP0022” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target “RGL” has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
/usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;GLEW;FTGL;Hist;Gui;Ged
LINK_INTERFACE_LIBRARIES:
Hist;Gui;Ged
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
“cint_tmp” of type EXECUTABLE
depends on “Cint_static” (weak)
“CINTTARGET” of type UTILITY
depends on “cint_tmp” (strong)
“Cint_static” of type STATIC_LIBRARY
depends on “IOSENUM_H” (strong)
“IOSENUM_H” of type UTILITY
depends on “CINTTARGET” (strong)
depends on “cint_tmp” (strong)
At least one of these targets is not a STATIC_LIBRARY. Cyclic dependencies are allowed only among static libraries.
– Build files have been written to: /home/user/ROOT_OLD
Can someone please help me? Thank you!