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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          6h 8m 1 Andrew Stitcher 26/Jun/13 23:42
          Resolved Resolved Reopened Reopened
          4h 19m 1 Steve Huston 27/Jun/13 04:01
          Reopened Reopened Resolved Resolved
          50m 15s 1 Andrew Stitcher 27/Jun/13 04:51
          Resolved Resolved Closed Closed
          73d 9h 46m 1 Justin Ross 08/Sep/13 14:37
          Justin Ross made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          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
          Steve Huston made changes -
          Link This issue is duplicated by QPID-5013 [ QPID-5013 ]
          Andrew Stitcher made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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
          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
          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
          Steve Huston made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          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!
          Andrew Stitcher made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.23 [ 12324273 ]
          Resolution Fixed [ 1 ]
          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.
          Andrew Stitcher made changes -
          Field Original Value New Value
          Assignee Andrew Stitcher [ astitcher ]
          Andrew Stitcher created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development