Tiger環境でSuperColliderコンパイル

昨日のSuperColliderのTigerでのコンパイル、

http://www.mega-nerd.com/tmp/

にlibsndfileのベータ版が置いてあるのを見つけて、早速

http://www.mega-nerd.com/tmp/libsndfile-1.0.12pre7.tar.gz

をダウンロードしてコンパイルしてみる。SD2のテストも問題なくとおり、無事

make install

で/usr/local/libにインストールされた:)。/etc/profileに

DYLD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/X11R6/lib:/lib

を追加して、あ、ついでに

PATH="/usr/local/bin:/usr/local/sbin:/usr/local/ssl/bin:/usr/local/apache2/bin:/usr/local/pgsql/bin:/usr/local/mysql/bin:.:/bin:/sbin:/usr/bin:/usr/sbin"
export PATH DYLD_LIBRARY_PATH

も追加して

source /etc/proflie

で環境変数を反映後、再度SuperColliderのコンパイルを試みる。今度は昨日のサウンドファイル周りではなくネットワークソケット周りでこける。

source/server/SC_ComPort.cpp:44: error: conflicting declaration 'typedef int socklen_t'
/usr/include/sys/socket.h:99: error: 'socklen_t' has a previous declaration as 'typedef __darwin_socklen_t socklen_t'
source/server/SC_ComPort.cpp:44: error: declaration of 'typedef int socklen_t'
/usr/include/sys/socket.h:99: error: conflicts with previous declaration 'typedef __darwin_socklen_t socklen_t'
source/server/SC_ComPort.cpp:44: error: declaration of 'typedef int socklen_t'
/usr/include/sys/socket.h:99: error: conflicts with previous declaration 'typedef __darwin_socklen_t socklen_t'
...failed CompileCplusplus /usr/src/SuperCollider3/build/xSC3synth.build/libscsynth.build/Objects-normal/ppc/SC_ComPort.o ...
** BUILD FAILED **

とのこと。

http://www.create.ucsb.edu/pipermail/sc-users/2005-May/thread.html

を見るとどうやらすでに把握されている問題らしく、対応するとのこと。

http://www.create.ucsb.edu/pipermail/sc-users/2005-May/018158.html

ううん、libsndfileの問題解消したのにやはりもう少し待つしかないか。

twitter

ウェブページ

Powered by Movable Type 4.261
Creative Commons License
このブログはクリエイティブ・コモンズでライセンスされています。