在Ubuntu上安装LMMS 1.0.3

时间:2014-08-24 23:01:23

标签: ubuntu installation cmake tar

我在使用cmake安装LMMS时遇到问题。我下载了tar文件,并在解压缩的目录中创建了build文件夹,然后运行cmake。我已将错误日志附加在底部。我是Ubuntu的初学者,所以我很感激任何帮助。我尝试过使用软件中心,但它有一个旧版本的LMMS。

谢谢!

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /home/joseph/anaconda/bin/clang++ 
Build flags: 
Id flags: 

The output was:
1
/usr/bin/ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Determining if the CXX compiler works failed with the following output:
Change Dir: /home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec633473811/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec633473811.dir/build.make CMakeFiles/cmTryCompileExec633473811.dir/build
make[1]: Entering directory `/home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec633473811.dir/testCXXCompiler.cxx.o
/home/joseph/anaconda/bin/clang++     -o CMakeFiles/cmTryCompileExec633473811.dir/testCXXCompiler.cxx.o -c /home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec633473811
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec633473811.dir/link.txt --verbose=1
/home/joseph/anaconda/bin/clang++        CMakeFiles/cmTryCompileExec633473811.dir/testCXXCompiler.cxx.o  -o cmTryCompileExec633473811 -rdynamic 
/usr/bin/ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTryCompileExec633473811] Error 1
make[1]: Leaving directory `/home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec633473811/fast] Error 2


Determining if files soundcard.h exist failed with the following output:
Change Dir: /home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec4188567017/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec4188567017.dir/build.make CMakeFiles/cmTryCompileExec4188567017.dir/build
make[1]: Entering directory `/home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec4188567017.dir/CheckIncludeFiles.c.o
/usr/bin/cc    -o CMakeFiles/cmTryCompileExec4188567017.dir/CheckIncludeFiles.c.o   -c /home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
/home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:23: fatal error: soundcard.h: No such file or directory
 #include <soundcard.h>
                       ^
compilation terminated.
make[1]: *** [CMakeFiles/cmTryCompileExec4188567017.dir/CheckIncludeFiles.c.o] Error 1
make[1]: Leaving directory `/home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec4188567017/fast] Error 2

Source:
/* */
#include <soundcard.h>


int main(){return 0;}

Determining if files process.h exist failed with the following output:
Change Dir: /home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec3312614237/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3312614237.dir/build.make CMakeFiles/cmTryCompileExec3312614237.dir/build
make[1]: Entering directory `/home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3312614237.dir/CheckIncludeFiles.c.o
/usr/bin/cc    -o CMakeFiles/cmTryCompileExec3312614237.dir/CheckIncludeFiles.c.o   -c /home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
/home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:21: fatal error: process.h: No such file or directory
 #include <process.h>
                     ^
compilation terminated.
make[1]: *** [CMakeFiles/cmTryCompileExec3312614237.dir/CheckIncludeFiles.c.o] Error 1
make[1]: Leaving directory `/home/joseph/Desktop/lmms-1.0.3/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec3312614237/fast] Error 2

Source:
/* */
#include <process.h>


int main(){return 0;}

0 个答案:

没有答案