先下载rousegarde的源代码压缩包,地址如下:http://sourceforge.net/project/showfiles.php?group_id=4932&package_id=4959&release_id=563217
解压后发现里面即没有configure文件也没有Makefile很是奇怪,看了里面的README文件接着又看了INSTALL文件之后才发现要用cmake生成Makefile,少啥装啥,先装cmake:
[root@localhost cmake-2.4.8-Linux-i386]# yum install cmake
装晚cmake后在rosegarden目录下运行命令:cmake .结果错误一堆,又少了文件
-- checking for module 'jack>=0.77'
-- package 'jack>=0.77' not found
-- checking for module 'dssi>=0.4'
-- package 'dssi>=0.4' not found
-- checking for module 'liblo>=0.7'
-- package 'liblo>=0.7' not found
-- checking for module 'lrdf>=0.3'
-- package 'lrdf>=0.3' not found
-- checking for module 'fftw3f>=3.0.0'
-- package 'fftw3f>=3.0.0' not found
CMake Error: A required package was not found
CMake Error: Please install the required package. Aborting
-- Configuring done
俺们也是有经验的人了,缺啥补啥,一个一个试验,把依赖问题统统解决了:
-- checking for module 'jack>=0.77'
-- package 'jack>=0.77' not found
[root@localhost rosegarden-1.6.1]# yum install jack*
-- checking for module 'dssi>=0.4'
-- package 'dssi>=0.4' not found
[root@localhost rosegarden-1.6.1]# yum install dssi*
-- checking for module 'lrdf>=0.3'
-- package 'lrdf>=0.3' not found
[root@localhost rosegarden-1.6.1]# yum install *lrdf*
-- checking for module 'fftw3f>=3.0.0'
-- package 'fftw3f>=3.0.0' not found
[root@localhost rosegarden-1.6.1]# yum install fftw fftw-devel
把依赖问题解决后再次在rosegarden目录下运行命令:cmake . 这次总算成功啦!
Installation Summary
--------------------
Install Directory : /usr/local
Build type : Release
Use Qt/KDE precompiled headers: FALSE
Xft notation font support : TRUE
No LIRC support configured.
ALSA MIDI support : TRUE
JACK audio support : TRUE
LADSPA plugin support : TRUE
DSSI synth plugin support : TRUE
Custom OSC plugin GUI support : TRUE
Audio timestretching : TRUE
LRDF plugin metadata support : TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /root/Desktop/rosegarden-1.6.1
用cmake命令生成Makefile文件后当然是用make命令开始编译了,编译过程比较长,机器越老就越慢,等待吧:
[root@localhost rosegarden-1.6.1]# make
[ 1%] Generating EventQuantizeCommand.moc
Scanning dependencies of target RosegardenCommands
[ 1%] Building CXX object RGbuild/CMakeFiles/RosegardenCommands.dir/commands/edit/AddDotCommand.o
………………………………………………(省略)
最后当然是以make install来结束安装了:
[root@localhost rosegarden-1.6.1]# make install
一次打开:应用程序-》影音-》RoseGarden 软件运行啦!
作者mgqw 出自