<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>6.2. *BSD</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.49"><link rel="home" href="index.html" title="MPlayer - The Movie Player"><link rel="up" href="ports.html" title="Chapter 6. Ports"><link rel="previous" href="linux.html" title="6.1. Linux"><link rel="next" href="solaris.html" title="6.3. Sun Solaris"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">6.2. *BSD</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="linux.html">Prev</a> </td><th width="60%" align="center">Chapter 6. Ports</th><td width="20%" align="right"> <a accesskey="n" href="solaris.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="bsd"></a>6.2. *BSD</h2></div></div><p>
<span class="application">MPlayer</span> runs on FreeBSD, OpenBSD, NetBSD,
BSD/OS and Darwin. There are ports/pkgsrc/fink/etc versions of <span class="application">MPlayer</span>
available that are probably easier to use than our raw sources.
</p><p>
To build <span class="application">MPlayer</span> you will need GNU make
(gmake - native BSD make will not work) and a recent version of binutils.
</p><p>
If <span class="application">MPlayer</span> complains about not finding <tt class="filename">/dev/cdrom</tt>
or <tt class="filename">/dev/dvd</tt>, create an appropriate symbolic link:
<pre class="screen">ln -s /dev/<i><tt>your_cdrom_device</tt></i> /dev/cdrom</pre>
</p><p>
To use Win32 DLLs with <span class="application">MPlayer</span> you will need to
re-compile the kernel with "<tt>option USER_LDT</tt>"
(unless you run FreeBSD-CURRENT,
where this is the default).
</p><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="freebsd"></a>6.2.1. FreeBSD</h3></div></div><p>
If your CPU has SSE, recompile your kernel with
"<tt>options CPU_ENABLE_SSE</tt>" (FreeBSD-STABLE or kernel
patches required).
</p></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="openbsd"></a>6.2.2. OpenBSD</h3></div></div><p>
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 <tt>$PATH</tt> and do a <b>gmake -k</b>, then
make sure that the native version is used and do <b>gmake</b>.
</p></div><div class="sect2"><div class="titlepage"><div><h3 class="title"><a name="darwin"></a>6.2.3. Darwin</h3></div></div><p>
See the <a href="macos.html" title="6.7. Mac OS">Mac OS</a> section.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="linux.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ports.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="solaris.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">6.1. Linux </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 6.3. Sun Solaris</td></tr></table></div></body></html>
