LINUX.ORG.RU

История изменений

Исправление windows10, (текущая версия) :

А это что по-твоему?

А это Unknown CMake command "qt_add_dbus_adaptor"..

То есть ты изменил сборочный скрипт, он поломался, но виноваты cmake и qt. Логично.

Нет, виноват разработчик. В первую очередь в том, что использует этот шлак. Давай ты логист посмотришь на это:

[ntfs@ntfs-a320mh Downloads]$ git clone https://github.com/KDE/plasma-workspace;cd plasma-workspace/xembed-sni-proxy/;cmake .
Cloning into 'plasma-workspace'...
remote: Enumerating objects: 278300, done.
remote: Counting objects: 100% (8747/8747), done.
remote: Compressing objects: 100% (1523/1523), done.
remote: Total 278300 (delta 7470), reused 8367 (delta 7203), pack-reused 269553
Receiving objects: 100% (278300/278300), 206.85 MiB | 5.67 MiB/s, done.
Resolving deltas: 100% (231723/231723), done.
Updating files: 100% (7768/7768), done.
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:5 (find_package):
  By not providing "FindXCB.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "XCB", but
  CMake did not find one.

  Could not find a package configuration file provided by "XCB" with any of
  the following names:

    XCBConfig.cmake
    xcb-config.cmake

  Add the installation prefix of "XCB" to CMAKE_PREFIX_PATH or set "XCB_DIR"
  to a directory containing one of the above files.  If "XCB" provides a
  separate development package or SDK, be sure it has been installed.


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.28)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
[ntfs@ntfs-a320mh xembed-sni-proxy]$

И скажешь, что же не хватает моей сраной системе в которой уже установлено все что можно установить?

Наверное ты ответишь что «воу, братишка, ты собираешь подпакет, а зависимости могли быть определены в пакете выше», на что я отвечу, что:

а) https://github.com/KDE/plasma-workspace/tree/master/xembed-sni-proxy:

##Build instructions

cmake .
make
sudo make install
After building, run xembedsniproxy.

b) plasma-workspace тоже не собирается, просто с другой ошибкой.

Виноват ли cmake? Возможно. Во всяком случае нормальный конфигурационный скрипт пишет русским по белому, чего ему не хватает, после чего можно apt-get\yum\pacman install то, чего не хватает - и оно работает дальше. Да и есть у меня эти модули, просто почему-то их надо подгружать отдельно.

Исходная версия windows10, :

А это что по-твоему?

А это Unknown CMake command "qt_add_dbus_adaptor"..

То есть ты изменил сборочный скрипт, он поломался, но виноваты cmake и qt. Логично.

Нет, виноват разработчик. В первую очередь в том, что использует этот шлак. Давай ты логист посмотришь на это:

[ntfs@ntfs-a320mh Downloads]$ git clone https://github.com/KDE/plasma-workspace;cd plasma-workspace/xembed-sni-proxy/;cmake .
Cloning into 'plasma-workspace'...
remote: Enumerating objects: 278300, done.
remote: Counting objects: 100% (8747/8747), done.
remote: Compressing objects: 100% (1523/1523), done.
remote: Total 278300 (delta 7470), reused 8367 (delta 7203), pack-reused 269553
Receiving objects: 100% (278300/278300), 206.85 MiB | 5.67 MiB/s, done.
Resolving deltas: 100% (231723/231723), done.
Updating files: 100% (7768/7768), done.
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:5 (find_package):
  By not providing "FindXCB.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "XCB", but
  CMake did not find one.

  Could not find a package configuration file provided by "XCB" with any of
  the following names:

    XCBConfig.cmake
    xcb-config.cmake

  Add the installation prefix of "XCB" to CMAKE_PREFIX_PATH or set "XCB_DIR"
  to a directory containing one of the above files.  If "XCB" provides a
  separate development package or SDK, be sure it has been installed.


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.28)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
[ntfs@ntfs-a320mh xembed-sni-proxy]$

И скажешь, что же не хватает моей сраной системе в которой уже установлено все что можно установить?

Наверное ты ответишь что «воу, братишка, ты собираешь подпакет, а зависимости могли быть определены в пакете выше», на что я отвечу, что:

а) https://github.com/KDE/plasma-workspace/tree/master/xembed-sni-proxy:

##Build instructions

cmake .
make
sudo make install
After building, run xembedsniproxy.

b) plasma-workspace тоже не собирается, просто с другой ошибкой.

Виноват ли cmake? Возможно. Во всяком случае нормальный конфигурационный скрипт пишет русским по белому, чего ему не хватает, после чего можно apt-get\yum\pacman install то, чего не хватает - и оно работает дальше.