Lionにアップグレードしたmacにportaudioを入れようとしているが、makeがうまくいかない。。。
ぐぐると同じような人もいて、
http://geisterchor.blogspot.jp/
や
http://www.fluxforge.com/blog/building-portaudio-under-os-x-107-lion
を参考にしてみたが、どうもうまく行かない。
make したあとのエラーを見ると、
llvm-gcc-4.2: error trying to exec '/usr/bin/../llvm-gcc-4.2/bin/powerpc-apple-darwin11-llvm-gcc-4.2': execvp: No such file or directory
lipo: can't figure out the architecture type of: /var/folders/gm/62k1k9jx7h1dzwwpsqy36wy80000gn/T//ccEBtqHw.out
make: *** [src/common/pa_allocation.lo] Error 1
コンパイラ?とかppc?の問題のような気もするけど、どうしたらよいのか。。。
http://www.fluxforge.com/blog/building-portaudio-under-os-x-107-lion
の中にDon’t forget to strip PPC code from the generated fat lib (man lipo) if you’re planning to submit to the Mac App Store
という記述があり、lipoでppcをsplitしとけ!的な感じなんだけど、lipoの使い方もいまいち分からないし。
lipo -remove ??とか?
そもそもこの辺りの知識がなさすぎなんだよね。ふぅ。
1990 Mercury Cougar AC Compressor
返信削除Nice man. Extremely informative post. I'll be sure to pass this along to my friends.