LINUX.ORG.RU

Сборка tint2 в MeeGo

 , ,


0

1

Всем привет! В сборке приложений я полный нуб, пожалуйста объясните, что мне с этим делать. Собираю tint2 в MeeGo, а cmake ругается!

[user@user-desktop build]$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- checking for modules 'x11;xcomposite;xdamage;xinerama;xrender;xrandr'
--   found x11, version 1.3.3
--   found xcomposite, version 0.4.1
--   found xdamage, version 1.1.2
--   found xinerama, version 1.0.3
--   found xrender, version 0.9.5
--   found xrandr, version 1.3.0
-- Looking for imlib_context_set_display in Imlib2
-- Looking for imlib_context_set_display in Imlib2 - found
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- checking for modules 'x11;xrender'
--   found x11, version 1.3.3
--   found xrender, version 0.9.5
-- checking for module 'gthread-2.0'
--   found gthread-2.0, version 2.28.6
-- checking for module 'gtk+-x11-2.0'
--   package 'gtk+-x11-2.0' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  src/tint2conf/CMakeLists.txt:10 (pkg_check_modules)


-- Configuring incomplete, errors occurred!

Спасибо!


Я так понял надо указать путь до gcc, да? Но как?

[user@user-desktop build]$ whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz
matrasa
() автор топика
Ответ на: комментарий от matrasa

Ну вот, вроде как поставил все что надо было, теперь такая ерунда:

[user@user-desktop build]$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- checking for modules 'x11;xcomposite;xdamage;xinerama;xrender;xrandr'
--   found x11, version 1.3.3
--   found xcomposite, version 0.4.1
--   found xdamage, version 1.1.2
--   found xinerama, version 1.0.3
--   found xrender, version 0.9.5
--   found xrandr, version 1.3.0
-- checking for module 'pangocairo'
--   found pangocairo, version 1.28.4
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
-- checking for module 'pango'
--   found pango, version 1.28.4
-- checking for module 'cairo'
--   found cairo, version 1.10.0
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
-- checking for module 'glib-2.0'
--   found glib-2.0, version 2.28.6
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.28.6
-- checking for module 'imlib2'
--   found imlib2, version 1.4.4
-- Looking for imlib_context_set_display in Imlib2
-- Looking for imlib_context_set_display in Imlib2 - found
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- checking for modules 'x11;xrender'
--   found x11, version 1.3.3
--   found xrender, version 0.9.5
-- checking for module 'gthread-2.0'
--   found gthread-2.0, version 2.28.6
-- checking for module 'gtk+-x11-2.0'
--   found gtk+-x11-2.0, version 2.20.1
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'gl', not found
-- Configuring incomplete, errors occurred!
matrasa
() автор топика
Ответ на: комментарий от matrasa

Видимо в каталог сборки надо было добавить файл с именем dri2proto.pc со следующим содержанием:

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
 
Name: DRI2Proto
Description: DRI2 extension headers
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}

Теперь при сборке меньше ругани:

[user@user-desktop build]$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!
matrasa
() автор топика
Последнее исправление: matrasa (всего исправлений: 1)
Ответ на: комментарий от matrasa

Все разрешилось доустановкой пакета gcc-c++

matrasa
() автор топика
Ответ на: комментарий от farzeet

В MeeGo все работает на GMA3600 (Даже 3D), правда нормальных вм нету, приходится собирать коробку и полезный софт.

matrasa
() автор топика
Ответ на: комментарий от Knigochey

В репах есть не все, мне нужны: openbox, tint2, pcmanfm, conky, а этого в репах нету, ставить пакеты от федорки проблематично, зависимости кругом.

matrasa
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.