С opensolaris не так давно. Хочу скомпилировать плагин для compiz. Если уж кампиз из коробки работает отлично со полным набором плагинов. То и сторонний должен быть получен. Делал как по инструкции. http://wiki.compiz.org/C++Compiling. Поставил git, gmake, cmake и все что вроде бы нужно.
Качаю исходники:
user@solaris:~/builds$ git clone git://anongit.compiz-fusion.org/users/wodor/anaglyph
Initialized empty Git repository in /export/home/user/builds/anaglyph/.git/
remote: Counting objects: 121, done.
remote: Compressing remote: objects: 100% (117/117), done.
remote: Total 121 (delta 60), reused 0 (delta 0)
Receiving objects: 100% (121/121), 25.88 KiB, done.
Resolving deltas: 100% (60/60), done.
Далее использую cmake
user@solaris:~/builds/anaglyph$ cmake .
The C compiler identification is GNU
The CXX compiler identification is GNU
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
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:1 (include):
include could not find load file:
CompizFusion
CMake Error at CMakeLists.txt:3 (compiz_fusion_plugin):
Unknown CMake command "compiz_fusion_plugin".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
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!
К сожалению ошибки
Пытаюсь дальше с GNU Make
user@solaris:~/builds/anaglyph$ make
Makefile:48: *** [ERROR] Compiz not installed. Stop.
Опять ошибка. Кампиз не найден ! но я то знаю что он есть и попытаюсь удалить проверку
user@solaris:~/builds/anaglyph$ make
convert : anaglyph.xml.in -> build/anaglyph.xml
bcop'ing : build/anaglyph.xml -> build/anaglyph_options.h
bcop'ing : build/anaglyph.xml -> build/anaglyph_options.c
schema : build/anaglyph.xml -> build/compiz-anaglyph.schema
make: *** No rule to make target `build/CMakeFiles/CompilerIdC/CMakeCCompilerId.lo', needed by `c-build-objs'. Stop.
Тоже не помогло. Помогите пожалуйста плугины собрать!