Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.34/00
    • Fix Version/s: 6.04.00, 5.34/23
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      OS X 10.9.2 cmake version 2.8.12

      Description

      I install root with cmake option
      -DCMAKE_INSTALL_SYSCONFDIR=some_path_to_etc

      The conf files are all copied to the requested director (some_path_to_etc).

      However the root-config --etcdir points to the default etc directory (i.e.$ROOTSYS/etc) instead of "some_path_to_etc".

      The SYSCONFDIR is not properly propagated to root-config.

      ======================================================
      Below are the commands that I execute:

      karabowi@karakomp::~/fair/root_cmake_clang/root/ROOTWORKDIR$ cmake ../ -Dsoversion=ON -Droofit=ON -Dminuit2=ON -Dgdml=ON -Dxml=ON -Dbuiltin_ftgl=ON -Dbuiltin_glew=ON -Dbuiltin_freetype=ON -Dmysql=ON -Dpgsql=ON -Dglobus=OFF -Dvc=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -Dc++11=ON -Dcocoa=ON -Dx11=OFF -DCMAKE_INSTALL_PREFIX=/Users/karabowi/fair/root_cmake_clang/root/ROOTINSTALL -DCMAKE_INSTALL_SYSCONFDIR=/Users/karabowi/fair/root_cmake_clang/root/ROOTINSTALL/share/root/etc

      karabowi@karakomp::~/fair/root_cmake_clang/root/ROOTWORKDIR$ make

      karabowi@karakomp::~/fair/root_cmake_clang/root/ROOTWORKDIR$ make install

      karabowi@karakomp::~/fair/root_cmake_clang/root/ROOTWORKDIR$ . ../ROOTINSTALL/bin/thisroot.sh

      karabowi@karakomp::~/fair/root_cmake_clang/root/ROOTWORKDIR$ root-config --etcdir
      /Users/karabowi/fair/root_cmake_clang/root/ROOTINSTALL/etc

      karabowi@karakomp::~/fair/root_cmake_clang/root/ROOTWORKDIR$ ls /Users/karabowi/fair/root_cmake_clang/root/ROOTINSTALL/etc
      ls: /Users/karabowi/fair/root_cmake_clang/root/ROOTINSTALL/etc: No such file or directory

      karabowi@karakomp::~/fair/root_cmake_clang/root/ROOTWORKDIR$ ls /Users/karabowi/fair/root_cmake_clang/root/ROOTINSTALL/share/root/etc/
      HistFactorySchema.dtd daemons pdg_table.txt system.plugins-ios
      Makefile.arch gdb-backtrace.sh plugins system.rootrc
      RadioNuclides.txt hostcert.conf proof valgrind-root.supp
      class.rules html root.desktop vmc
      cmake http root.mimes

      karabowi@karakomp::~/fair/root_cmake_clang/root$ git rev-parse HEAD
      87c1d2a0e691781d2ac93a4f05afee1436feaf4a

        Attachments

          Activity

            People

            • Assignee:
              mato Pere Mato Vila
              Reporter:
              396aaf2b0d0420e93a55 r.karabowicz@gsi.de
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: