Конечная задача:
скомпилить vlc
Предпринятые действия: Создал очередь зависимостей
sqg -p vlc
sbopkg -i vlc.sqf
Проблемы: Пока решил несколько. Но дальше чувствую устану и умру уставшим. Возможно я просто что-то делаю не так. Поэтому вот подымаю вопросы.
Текущие претензии sbopkg: он спотыкается на этапе сборки projectM. Что это такое и почему оно попало в список зависимостей для vlc — не интересовался, проигнорить не пробовал. Кусок выхлопа кажущийся проблемным:
-- The CXX compiler identification is GNU 4.8.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "/usr/bin/c++" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /tmp/SBo/projectM-complete-2.1.0-Source/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec1645407381/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec1645407381.dir/build.make
CMakeFiles/cmTryCompileExec1645407381.dir/build
gmake[1]: Entering directory
`/tmp/SBo/projectM-complete-2.1.0-Source/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/tmp/SBo/projectM-complete-2.1.0-Source/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building CXX object
CMakeFiles/cmTryCompileExec1645407381.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -O2 -march=i486 -mtune=i686 -lglut -lGL -o
CMakeFiles/cmTryCompileExec1645407381.dir/testCXXCompiler.cxx.o -c
/tmp/SBo/projectM-complete-2.1.0-Source/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec1645407381
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1645407381.dir/link.txt --verbose=1
/usr/bin/c++ -O2 -march=i486 -mtune=i686 -lglut -lGL
CMakeFiles/cmTryCompileExec1645407381.dir/testCXXCompiler.cxx.o -o
cmTryCompileExec1645407381 -rdynamic
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld:
cannot find -lglut
collect2: error: ld returned 1 exit status
gmake[1]: Leaving directory
`/tmp/SBo/projectM-complete-2.1.0-Source/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec1645407381] Error 1
gmake: *** [cmTryCompileExec1645407381/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (PROJECT)
-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/projectM-complete-2.1.0-Source/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/SBo/projectM-complete-2.1.0-Source/build/CMakeFiles/CMakeError.log".
projectM:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue
Здесь упоминается некий лог, но в нем то же самое что уже приведено здесь. Мнения? Что за -lglut?