[Csound] csound5 インストールメモ
2008年1月21日
csound5をLinuxサーバにインストールしたときのメモ。
<事前準備>
sconsのインストール
http://sourceforge.net/project/showfiles.php?group_id=30337
rootでインストールを実行
# rpm -Uvh scons-0.97.0d20071212-1.noarch.rpm
libsndfileのインストール
http://www.mega-nerd.com/libsndfile/#Download
% tar zxvf libsndfile-1.0.17.tar.gz
% cd libsndfile-1.0.17
% ./configure
% make
% make check
% su
# make install
前のcsound4をアンインストール
インストールしたディレクトリで:
# make uninstall
<csound5のインストール>
% tar zxvf Csound5.07.0.tar.gz
% cd csound5
% scons -h
(設定を変更するならここでcustom.pyを編集したり次のコマンドでオプションを指定したりすると思うのだが、今回は何もせずにコンパイル実行)
% scons
% su
# ./install.py
<インストール結果>
=== Installing executables ===
/usr/local/bin/csound
/usr/local/bin/cvanal
/usr/local/bin/dnoise
/usr/local/bin/envext
/usr/local/bin/extractor
/usr/local/bin/het_export
/usr/local/bin/het_import
/usr/local/bin/hetro
/usr/local/bin/lpanal
/usr/local/bin/lpc_export
/usr/local/bin/lpc_import
/usr/local/bin/mixer
/usr/local/bin/pvanal
/usr/local/bin/pv_export
/usr/local/bin/pv_import
/usr/local/bin/pvlook
/usr/local/bin/scale
/usr/local/bin/sndinfo
/usr/local/bin/srconv
/usr/local/bin/scsort
/usr/local/bin/extract
/usr/local/bin/cs
/usr/local/bin/csb64enc
/usr/local/bin/makecsd
/usr/local/bin/scot
/usr/local/bin/brkpt
/usr/local/bin/linseg
/usr/local/bin/tabdes
=== Installing libraries ===
/usr/local/lib/libcsound.a
=== Installing plugins ===
/usr/local/lib/csound/plugins/libsystem_call.so
/usr/local/lib/csound/plugins/librtalsa.so
/usr/local/lib/csound/plugins/libscansyn.so
/usr/local/lib/csound/plugins/libudpsend.so
/usr/local/lib/csound/plugins/libpitch.so
/usr/local/lib/csound/plugins/libugakbari.so
/usr/local/lib/csound/plugins/libgabnew.so
/usr/local/lib/csound/plugins/libdate.so
/usr/local/lib/csound/plugins/libampmidid.so
/usr/local/lib/csound/plugins/libsfont.so
/usr/local/lib/csound/plugins/libstackops.so
/usr/local/lib/csound/plugins/libpvoc.so
/usr/local/lib/csound/plugins/libpartikkel.so
/usr/local/lib/csound/plugins/libbabo.so
/usr/local/lib/csound/plugins/libpvsbuffer.so
/usr/local/lib/csound/plugins/libloscilx.so
/usr/local/lib/csound/plugins/libcontrol.so
/usr/local/lib/csound/plugins/libharmon.so
/usr/local/lib/csound/plugins/libphysmod.so
/usr/local/lib/csound/plugins/libstdutil.so
/usr/local/lib/csound/plugins/libminmax.so
/usr/local/lib/csound/plugins/libeqfil.so
/usr/local/lib/csound/plugins/libscoreline.so
/usr/local/lib/csound/plugins/libptrack.so
/usr/local/lib/csound/plugins/libphisem.so
/usr/local/lib/csound/plugins/libudprecv.so
/usr/local/lib/csound/plugins/libpvs_ops.so
/usr/local/lib/csound/plugins/libvbap.so
/usr/local/lib/csound/plugins/libcompress.so
/usr/local/lib/csound/plugins/libftest.so
/usr/local/lib/csound/plugins/libhrtferX.so
/usr/local/lib/csound/plugins/libbarmodel.so
/usr/local/lib/csound/plugins/libmixer.so
/usr/local/lib/csound/plugins/libpan2.so
/usr/local/lib/csound/plugins/libmodal4.so
/usr/local/lib/csound/plugins/libmutexops.so
/usr/local/lib/csound/plugins/libvaops.so
/usr/local/lib/csound/plugins/libgrain4.so
/usr/local/lib/csound/plugins/libstdopcod.so
=== Installing header files ===
/usr/local/include/csound/cfgvar.h
/usr/local/include/csound/cscore.h
/usr/local/include/csound/csdl.h
/usr/local/include/csound/csound.h
/usr/local/include/csound/csound.hpp
/usr/local/include/csound/csoundCore.h
/usr/local/include/csound/cwindow.h
/usr/local/include/csound/msg_attr.h
/usr/local/include/csound/OpcodeBase.hpp
/usr/local/include/csound/pstream.h
/usr/local/include/csound/pvfileio.h
/usr/local/include/csound/soundio.h
/usr/local/include/csound/sysdep.h
/usr/local/include/csound/text.h
/usr/local/include/csound/version.h
/usr/local/include/csound/CppSound.hpp
/usr/local/include/csound/filebuilding.h
/usr/local/include/csound/CsoundFile.hpp
=== Installing language interfaces ===
/usr/lib/python2.3/site-packages/csnd.py
/usr/lib/python2.3/site-packages/loris.py
/usr/local/lib/csound/java/csnd.jar
=== Installing XMG files ===
/usr/local/share/csound/xmg/English.xmg
/usr/local/share/csound/xmg/American.xmg
/usr/local/share/csound/xmg/csound.xmg
=== Installing documentation ===
/usr/local/share/doc/csound/COPYING
/usr/local/share/doc/csound/ChangeLog
/usr/local/share/doc/csound/INSTALL
/usr/local/share/doc/csound/readme-csound5.txt
=== Installing Tcl/Tk modules and scripts ===
/usr/local/lib/csound/tcl/nsliders.tk
/usr/local/bin/matrix.tk
=== Installing uninstall script ===
/usr/local/bin/uninstall-csound5
=== Installing MD5 checksums ===
/usr/local/csound5-2008-01-21.md5sums
Csound installation has been successfully completed.
Before running Csound, make sure that the following environment
variables are set:
OPCODEDIR=/usr/local/lib/csound/plugins
CSSTRNGS=/usr/local/share/csound/xmg
Csound can be uninstalled by running /usr/local/bin/uninstall-csound5
<参考>
http://d.hatena.ne.jp/A9A9/20070815/1187184234
http://www.csounds.com/manual/html/BuildingCsound.html