Qpid
  1. Qpid
  2. QPID-4955

CMake "make install" puts config files inthe wrong place

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23
    • Component/s: None
    • Labels:
      None

      Description

      Since the fix for QPID-4698. We've been putting the client/broker config files in different places and not where the build tells the executables to look for the config files:

      • qpidc.conf in <prefix>/etc/qpid/qpidc.conf
      • qpidd.conf in <prefix>/etc/qpidd.conf

      The correct place is <prefix>/etc/qpid/ for both.

      The executables are being told to look in <prefix>/etc for the config files which is incorrect.

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 1497148 from Andrew Stitcher
          [ https://svn.apache.org/r1497148 ]

          QPID-4955: CMake install puts config files in the wrong place

          • Also removed ability to specify daemon and client config file
            locations individually as that isn't straightforwardly possible
            with the CMake install capability.
          Show
          ASF subversion and git services added a comment - Commit 1497148 from Andrew Stitcher [ https://svn.apache.org/r1497148 ] QPID-4955 : CMake install puts config files in the wrong place Also removed ability to specify daemon and client config file locations individually as that isn't straightforwardly possible with the CMake install capability.
          Hide
          Steve Huston added a comment -

          This change broke the Windows configure step.

          CMake Error at etc/CMakeLists.txt:38 (install):
          install FILES given no DESTINATION!

          Show
          Steve Huston added a comment - This change broke the Windows configure step. CMake Error at etc/CMakeLists.txt:38 (install): install FILES given no DESTINATION!
          Hide
          Steve Huston added a comment -

          Looks like possibly broker Linux too?

          Error (first 5)
          src/qpid/client/SslConnector.cpp line sourceline (http://www.riverace.com/CDash-1.4.2/viewBuildError.php?type=0&buildid=3114)
          /.../cpp/src/qpid/client/SslConnector.cpp:124: error: ‘QPIDC_CONF_FILE’ was not declared in this scope

          make[2]: *** [src/CMakeFiles/qpidclient.dir/qpid/client/SslConnector.o] Error 1

          [ 34%] Building CXX object src/CMakeFiles/qpidclient.dir/qpid/messaging/amqp/SslTransport.o
          [ 34%] Building CXX object src/CMakeFiles/qpidclient.dir/qpid/client/Bounds.o
          [ 34src/qpid/client/ConnectionImpl.cpp line sourceline (http://www.riverace.com/CDash-1.4.2/viewBuildError.php?type=0&buildid=3114)
          /.../cpp/src/qpid/client/ConnectionImpl.cpp:116: error: ‘QPIDC_CONF_FILE’ was not declared in this scope

          make[2]: *** [src/CMakeFiles/qpidclient.dir/qpid/client/ConnectionImpl.o] Error 1

          [ 35%] Building CXX object src/CMakeFiles/qpidclient.dir/qpid/client/ConnectionSettings.o
          [ 35%] Building CXX object src/CMakeFiles/qpidclient.dir/qpid/client/Connector.o
          [src/qpid/client/LoadPlugins.cpp line sourceline (http://www.riverace.com/CDash-1.4.2/viewBuildError.php?type=0&buildid=3114)
          /.../cpp/src/qpid/client/LoadPlugins.cpp:42: error: ‘QPIDC_CONF_FILE’ was not declared in this scope

          Show
          Steve Huston added a comment - Looks like possibly broker Linux too? Error (first 5) src/qpid/client/SslConnector.cpp line sourceline ( http://www.riverace.com/CDash-1.4.2/viewBuildError.php?type=0&buildid=3114 ) /.../cpp/src/qpid/client/SslConnector.cpp:124: error: ‘QPIDC_CONF_FILE’ was not declared in this scope make [2] : *** [src/CMakeFiles/qpidclient.dir/qpid/client/SslConnector.o] Error 1 [ 34%] Building CXX object src/CMakeFiles/qpidclient.dir/qpid/messaging/amqp/SslTransport.o [ 34%] Building CXX object src/CMakeFiles/qpidclient.dir/qpid/client/Bounds.o [ 34src/qpid/client/ConnectionImpl.cpp line sourceline ( http://www.riverace.com/CDash-1.4.2/viewBuildError.php?type=0&buildid=3114 ) /.../cpp/src/qpid/client/ConnectionImpl.cpp:116: error: ‘QPIDC_CONF_FILE’ was not declared in this scope make [2] : *** [src/CMakeFiles/qpidclient.dir/qpid/client/ConnectionImpl.o] Error 1 [ 35%] Building CXX object src/CMakeFiles/qpidclient.dir/qpid/client/ConnectionSettings.o [ 35%] Building CXX object src/CMakeFiles/qpidclient.dir/qpid/client/Connector.o [src/qpid/client/LoadPlugins.cpp line sourceline ( http://www.riverace.com/CDash-1.4.2/viewBuildError.php?type=0&buildid=3114 ) /.../cpp/src/qpid/client/LoadPlugins.cpp:42: error: ‘QPIDC_CONF_FILE’ was not declared in this scope
          Hide
          ASF subversion and git services added a comment -

          Commit 1497203 from Andrew Stitcher
          [ https://svn.apache.org/r1497203 ]

          QPID-4955: Fix to previous commit

          Show
          ASF subversion and git services added a comment - Commit 1497203 from Andrew Stitcher [ https://svn.apache.org/r1497203 ] QPID-4955 : Fix to previous commit
          Hide
          ASF subversion and git services added a comment -

          Commit 1497204 from Andrew Stitcher
          [ https://svn.apache.org/r1497204 ]

          QPID-4955: Don't install SYSV style service control files on Windows
          (fixes Windows breakage from previous commit)

          Show
          ASF subversion and git services added a comment - Commit 1497204 from Andrew Stitcher [ https://svn.apache.org/r1497204 ] QPID-4955 : Don't install SYSV style service control files on Windows (fixes Windows breakage from previous commit)
          Hide
          Justin Ross added a comment -
          Show
          Justin Ross added a comment - Released in Qpid 0.24, http://qpid.apache.org/releases/qpid-0.24/index.html

            People

            • Assignee:
              Andrew Stitcher
              Reporter:
              Andrew Stitcher
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development