Doc / bsd


Doc / bsd
2007-11-28 (水) 09:15:51更新
カテゴリ:未訳
原文:http://www.mplayerhq.hu/DOCS/HTML/en/bsd.html

12.2. *BSD

MPlayerはほとんどのBSD系統UNIXで動作します。この場合、我々のソースコードよりも、 ports/pkgsrc/fink/etc 版のほうがたぶん使い易いでしょう。

MPlayerをビルドするにはGNU make (gmake - native BSD make では動かないと思いますwill not work) と、最新版のbinutilsが必要です。(*Mac OS Xでは、デベロッパツールを入れれば済む。*)

MPlayerが/dev/cdrom や /dev/dvdが見つからないとエラーを吐く場合は、適切なシンボリック・リンクを作る事:

ln -s /dev/your_cdrom_device /dev/cdrom

MPlayerでWin32 DLLを使うには、"option USER_LDT" をつけてカーネルをリコンパイルする必要がある(FreeBSD-CURRENTを使えば、このオプションはデフォルト)。

12.2.1. FreeBSD

CPUにSSEがあるなら、カーネルを"options CPU_ENABLE_SSE" 付きでリコンパイルする(FreeBSD-STABLE またはカーネル・パッチが必要)。

12.2.2. OpenBSD

Due to limitations in different versions of gas (relocation vs MMX), you will need to compile in two steps: First make sure that the non-native as is first in your $PATH and do a gmake -k, then make sure that the native version is used and do gmake.

As of OpenBSD 3.4 the hack above is no longer needed.

12.2.3. Darwin

See the Mac OS? section.