mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Schwartzmeyer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-7965) WebUI folder not set in CMake
Date Mon, 11 Sep 2017 21:25:07 GMT
Andrew Schwartzmeyer created MESOS-7965:
-------------------------------------------

             Summary: WebUI folder not set in CMake
                 Key: MESOS-7965
                 URL: https://issues.apache.org/jira/browse/MESOS-7965
             Project: Mesos
          Issue Type: Bug
          Components: cmake, webui
         Environment: Any build using CMake.
            Reporter: Andrew Schwartzmeyer


The default directory for the WebUI assets is not correctly set in CMake builds. While a user
can work around this via {{./src/mesos-master --webui_dir=../src/webui}}, ideally the default
would "just work."

{noformat}
src/master/flags.cpp
166:  add(&Flags::webui_dir,
167:      "webui_dir",
168:      "Directory path of the webui files/assets",
169:      PKGDATADIR "/webui");
199:      "Human readable name for the cluster, displayed in the webui.");
{noformat}

We currently set {{PKGDATADIR}} to something not quite right which ends up with the default
search path for {{webui}} assets not working.

{noformat}
cmake/CompilationConfigure.cmake
351:  -DPKGDATADIR="${DATA_INSTALL_PREFIX}")

cmake/CompilationConfigure.cmake
246:  set(DATA_INSTALL_PREFIX  ${SHARE_INSTALL_PREFIX}/mesos)
351:  -DPKGDATADIR="${DATA_INSTALL_PREFIX}")

cmake/CompilationConfigure.cmake
245:  set(SHARE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/share)
246:  set(DATA_INSTALL_PREFIX  ${SHARE_INSTALL_PREFIX}/mesos)

cmake/CompilationConfigure.cmake
321:  set(EXEC_INSTALL_PREFIX     "WARNINGDONOTUSEME")
322:  set(LIBEXEC_INSTALL_DIR     "WARNINGDONOTUSEME")
323:  set(PKG_LIBEXEC_INSTALL_DIR "WARNINGDONOTUSEME")
324:  set(LIB_INSTALL_DIR         "WARNINGDONOTUSEME")
325:  set(TEST_LIB_EXEC_DIR       "WARNINGDONOTUSEME")
326:  set(PKG_MODULE_DIR          "WARNINGDONOTUSEME")
327:  set(S_BIN_DIR               "WARNINGDONOTUSEME")
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message