1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=KOI8-R"><title>12.3. ������������ Unix</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - The Movie Player"><link rel="up" href="ports.html" title="����� 12. �������"><link rel="prev" href="bsd.html" title="12.2. *BSD"><link rel="next" href="windows.html" title="12.4. Windows"><link rel="preface" href="howtoread.html" title="��� ������ ��� ������������"><link rel="chapter" href="intro.html" title="����� 1. ��������"><link rel="chapter" href="install.html" title="����� 2. ���������"><link rel="chapter" href="usage.html" title="����� 3. �������������"><link rel="chapter" href="cd-dvd.html" title="����� 4. ������������� CD/DVD"><link rel="chapter" href="faq.html" title="����� 5. ����� ���������� �������"><link rel="chapter" href="containers.html" title="����� 6. �������������� �������"><link rel="chapter" href="codecs.html" title="����� 7. �������������� ������"><link rel="chapter" href="tv.html" title="����� 8. TV"><link rel="chapter" href="radio.html" title="����� 9. �����"><link rel="chapter" href="video.html" title="����� 10. ���������� ������ �����"><link rel="chapter" href="audio.html" title="����� 11. ���������� ������ �����"><link rel="chapter" href="ports.html" title="����� 12. �������"><link rel="chapter" href="mencoder.html" title="����� 13. ������ ������������� MEncoder"><link rel="chapter" href="encoding-guide.html" title="����� 14. Encoding with MEncoder"><link rel="appendix" href="bugreports.html" title="���������� A. ��� �������� �� �������"><link rel="appendix" href="bugs.html" title="���������� B. ��������� ��������"><link rel="appendix" href="skin.html" title="���������� C. ������ ������ MPlayer"><link rel="appendix" href="history.html" title="���������� D. �������"><link rel="subsection" href="unix.html#solaris" title="12.3.1. Solaris"><link rel="subsection" href="unix.html#irix" title="12.3.2. IRIX"><link rel="subsection" href="unix.html#hp-ux" title="12.3.3. HP-UX"><link rel="subsection" href="unix.html#aix" title="12.3.4. AIX"></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">12.3. ������������ Unix</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bsd.html">����.</a>�</td><th width="60%" align="center">����� 12. �������</th><td width="20%" align="right">�<a accesskey="n" href="windows.html">����.</a></td></tr></table><hr></div><div class="sect1" lang="ru"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="unix"></a>12.3. ������������ Unix</h2></div></div></div><p>
2
<span class="application">MPlayer</span> ��� ���������� �� ��������� ������������ �������� Unix.
3
��������� ��������� ���������� ���� ������ ���������� �� ��������� Unix'��,
4
��� �������� �������������� ���������� ��������� ��������, ����� ������ ����������.
5
</p><div class="sect2" lang="ru"><div class="titlepage"><div><div><h3 class="title"><a name="solaris"></a>12.3.1. Solaris</h3></div></div></div><p>
6
<span class="application">MPlayer</span> ������ �������� ��� Solaris 2.6 � �����
7
������ ��������. ��� ����� ����������� �������� ������� SUN �
8
������ <tt class="option">-ao sun</tt>.
10
�� <span class="bold"><strong>UltraSPARC</strong></span>'��, <span class="application">MPlayer</span>
11
���������� ������������ �� ���������� <span class="bold"><strong>VIS</strong></span> (���������� MMX), �� (� ���������
13
<code class="systemitem">libmpeg2</code>,
14
<code class="systemitem">libvo</code>
15
and <code class="systemitem">libavcodec</code>, �� �� �
16
<code class="systemitem">mp3lib</code>. �� ������� ������������� VOB'�
17
�� 400MHz CPU. ��� ����������� �������������
18
<a href="http://www.sun.com/sparc/vis/mediaLib.html" target="_top"><code class="systemitem">mLib</code></a>.
19
</p><p><span class="bold"><strong>���������������:</strong></span></p><div class="itemizedlist"><ul type="disc"><li><p><span class="bold"><strong>mediaLib</strong></span> � ������
20
������ ��������� �� ��������� �
21
<span class="application">MPlayer</span> ��-�� ������������.
22
������������ SPARC, ��������������� MPlayer � mediaLib
23
�������� �� �������� ��̣���� ������� � �����, ���������� �
24
������������ libavcodec.
25
���� ������, ������ �������� ��:
26
</p><pre class="screen">
27
$ ./configure --enable-mlib
29
�� ������� ��� �� ���� ����� � ����, ������������ x86 �� ������
30
<span class="bold"><strong>�������</strong></span> ������������ mediaLib, ���������
31
��� ����� ������ �������� �� ������������������ MPlayer.
32
</p></li></ul></div><p>
33
����� ������� ���������, ��� ����������� GNU <span class="application">make</span>
34
(<tt class="filename">gmake</tt>, <tt class="filename">/opt/sfw/gmake</tt>), ������
35
Solaris make �� ����� ��������. �������� ������ ������� �� ������
36
�������� ��� ������������� Solaris make, ������ GNU make:
37
</p><pre class="screen">
39
make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
42
�� Solaris SPARC, ��� ����������� GNU C/C++ Compiler; ��� ���� �� �����
43
��������, ��� �� GNU C/C++ ���������� ��������������� � ��� ��� GNU ����������.
45
�� Solaris x86, ��� ����������� GNU ��������� � GNU C/C++ ����������,
46
������������������, ����� ������������ GNU ���������! �� x86 ����������
47
��� <span class="application">MPlayer</span>'� ���������� ����� MMX, SSE � 3DNOW!
48
����������, ������� Sun'������ ��������� <tt class="filename">/usr/ccs/bin/as</tt>
49
�� ����� ��������������.
51
������ <tt class="filename">configure</tt> �������� ����������, ����� ���������
52
������������ ����� �������� "gcc" (� ��� ������, ���� ���������������
53
�� ���������, ����������� �����
54
<tt class="option">--as=<em class="replaceable"><code>/���/���/�/���/����������/gnu-as</code></em></tt>, ����� ��������
55
������� <tt class="filename">configure</tt>, ��� ����� ���������� GNU "as" �� �����
57
</p><p>������� ����� �������:</p><div class="itemizedlist"><ul type="disc"><li><p>
58
��������� �� ������� <tt class="filename">configure</tt> �� Solaris x86 �������� ���
59
������������� GCC ��� GNU ����������:
60
</p><pre class="screen">
63
Checking assembler (/usr/ccs/bin/as) ... , failed
64
Please upgrade(downgrade) binutils to 2.10.1...
66
(�������: ���������� � ����������� gcc, ������������������ � <tt class="option">--with-as=gas</tt>)
68
�������� ������ ��� ������ GNU C ������������, ������� �� ���������� GNU as:
69
</p><pre class="screen">
72
gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
73
-fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
75
"(stdin)", line 3567 : Illegal mnemonic
76
"(stdin)", line 3567 : Syntax error
77
... more "Illegal mnemonic" and "Syntax error" errors ...
79
</p></li><li><p><span class="application">MPlayer</span> ����� �������� � ��������� ����������� ���
80
����������� � ������������� �����, ������������� win32codecs:
81
</p><pre class="screen">
83
Trying to force audio codec driver family acm...
84
Opening audio decoder: [acm] Win32/ACM decoders
85
sysi86(SI86DSCR): Invalid argument
86
Couldn't install fs segment, expect segfault
89
MPlayer interrupted by signal 11 in module: init_audio_codec
92
��� ��-�� ��������� � sysi86() � Solaris 10 � ���-Solaris
93
Nevada b31 �������. ���������� � Solaris Nevada b32; ��� �� �����
94
Sun ��� ������� ����������� ����������� ������� �� Solaris 10. ������ MPlayer
95
��������� Sun �� ���� �������� � ���� � ������ ������ ��������� ���
96
Solaris 10. ������ ��������� �� ���� ������ �����
98
<a href="http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6308413" target="_top">http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6308413</a>.
100
� ����� � �������� � Solaris 8, �� �� ������� ����������� DVD �����, ��������
102
</p><div class="itemizedlist"><ul type="circle"><li><p>
103
��� Solaris 8 x86 ������� sd(7D) �������� ������, ������������� ��� �������
104
� ������, �������� > 4 �� �� ����������� � ���������� �������� ����� !=
105
DEV_BSIZE (�������� CD-ROM � DVD �����).
106
��-�� �������������� 32-� ������� ������������, ���������� ������ � ��������� ������
108
(<a href="http://groups.yahoo.com/group/solarisonintel/message/22516" target="_top">http://groups.yahoo.com/group/solarisonintel/message/22516</a>).
109
�������� ����������� � SPARC ������� Solaris 8.
111
������� ������ ���������� � ���� �������� ������� hsfs(7FS) (ISO9660),
112
hsfs ����� �� ������������ �������/����� ������ 4 ��, ������ � ������
113
���������� �� ������ 4 ��
114
(<a href="http://groups.yahoo.com/group/solarisonintel/message/22592" target="_top">http://groups.yahoo.com/group/solarisonintel/message/22592</a>).
115
�������� � hsfs ����� ���� ���������� ���������� ����� 109764-04 (sparc) /
117
</p></li></ul></div></li></ul></div></div><div class="sect2" lang="ru"><div class="titlepage"><div><div><h3 class="title"><a name="irix"></a>12.3.2. IRIX</h3></div></div></div><p>
118
�� ���� ������ ����������� ���������� ��������� GNU install, � (���� ��
119
�� ��������� ţ � ��� ���������� ����), ������� �� ţ ���������������:
120
</p><pre class="screen">./configure --with-install=<em class="replaceable"><code>/����/�/�/���/���������</code></em></pre><p>
122
���� �� ������ ������������ ����������� ��������� install, ������������ ������
123
� IRIX 6.5, �� � ���� ������ �� ������ ������ ������� �������� ����������
124
<tt class="filename">Makefile</tt>.
125
��������� ��������� ��� ������:
126
</p><pre class="programlisting">
127
$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
129
$(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
132
</p><pre class="programlisting">
133
$(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
135
$(INSTALL) -m 644 codecs.conf $(CONFDIR)/
137
� ����� ��������� (�� ��������� �������� MPlayer'�):
138
</p><pre class="screen">cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</pre><p>
139
� ����� ������ �������� � ���������� MPlayer.
140
</p></div><div class="sect2" lang="ru"><div class="titlepage"><div><div><h3 class="title"><a name="hp-ux"></a>12.3.3. HP-UX</h3></div></div></div><p>
142
Joe Page �� ����� �������� �������� ������ ���������
143
<a href="http://users.rcn.com/joepage/mplayer_on_hpux11.htm" target="_top">HOWTO</a>
144
�� <span class="application">MPlayer</span> �� HP-UX, ���������� Martin Gansser.
145
� ����� ������������ ������ ������ �������� "����� �� �������".
146
��������� ���������� ����� ������.
148
��� ����������� GCC 3.4.0 ��� ����� ������� ������, GNU make ������ 3.80
149
��� ����� � SDL 1.2.7 ��� ����� �����. HP cc �� ����� ������� ���������������
150
���������, ���������� ������ GCC ������. ��� ���������������� OpenGL
151
���������� ���������� Mesa, ����� ���� ������ ���������� �������� ������ �����
152
gl � gl2, ����, � ����������� �� �������������� CPU, �������� ����� ���� �������.
153
GNU esound �������� ������� ������� �������� ������ �������� ������� HP-UX.
156
����������� ������������ ���� SCSI
157
�� ������� ������� DVD ���������:
158
</p><pre class="screen">
161
Class I H/W Path Driver S/W State H/W Type Description
163
ext_bus 1 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI
164
target 3 8/16/5.2 tgt CLAIMED DEVICE
165
disk 4 8/16/5.<span class="bold"><strong>2</strong></span>.<span class="bold"><strong>0</strong></span> sdisk CLAIMED DEVICE <span class="bold"><strong>PIONEER DVD-ROM DVD-305</strong></span>
166
/dev/dsk/c1t2d0 <span class="bold"><strong>/dev/rdsk/c1t2d0</strong></span>
167
target 4 8/16/5.7 tgt CLAIMED DEVICE
168
ctl <span class="bold"><strong>1</strong></span> 8/16/5.7.0 sctl CLAIMED DEVICE Initiator
169
/dev/rscsi/c1t7d0 /dev/rscsi/c1t7l0 /dev/scsi/c1t7l0
172
����� ����������, ��� �� ������ 2 ���� SCSI ��������� Pioneer DVD-ROM.
173
��������� ����� ��� ����������� ���� 8/16 ����� 1.
175
�������� ������ �� ������ ���������� � DVD ����������.
176
</p><pre class="screen">
177
# ln -s /dev/rdsk/c<em class="replaceable"><code><SCSI bus instance></code></em>t<em class="replaceable"><code><SCSI target ID></code></em>d<em class="replaceable"><code><LUN></code></em> /dev/<em class="replaceable"><code><device></code></em>
180
</p><pre class="screen">
181
# ln -s /dev/rdsk/c1t2d0 /dev/dvd
183
����� ������� ������� ��������� ����� �������:
184
</p><div class="itemizedlist"><ul type="disc"><li><p>
185
���� ��� ������� � ����� ���������� �� ������:
186
</p><pre class="screen">
187
/usr/lib/dld.sl: Unresolved symbol: finite (code) from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libGL.sl
190
��� ������, ��� ������� <code class="systemitem">.finite().</code> ���������� � �����������
191
�������������� ���������� HP-UX.
192
������ ����� ����������� <code class="systemitem">.isfinite().</code>.
193
�������: ����������� ��������� ������ Mesa �� �����������.
195
���� ��� ��������������� �� ��������� �������:
196
</p><pre class="screen">
197
/usr/lib/dld.sl: Unresolved symbol: sem_init (code) from /usr/local/lib/libSDL-1.2.sl.0
200
�������: ����������� ����� extralibdir ��������� configure
201
<tt class="option">--with-extralibdir="/usr/lib -lrt"</tt>
203
MPlayer �������� � ���������� ����������� � ���������� ����� �����:
204
</p><pre class="screen">
205
Pid 10166 received a SIGSEGV for stack growth failure.
206
Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz.
211
���� HP-UX ��-��������� ��� ������� �������� ����� ������ ����� ������ 8MB(?).
212
(11.0 � ����� ����� ��� 10.20 ��������� ��� ��������� <code class="systemitem">maxssiz</code>
213
������ �� 350MB ��� 32-� ������ ��������). �� ������ ��������� <code class="systemitem">maxssiz</code>
214
� ����������������� ���� (� ���������������). ����� ������� ���, ����� ������������ SAM.
215
(�������� � ���, ��������� �������� <code class="systemitem">maxdsiz</code> �� �������
216
������������� ���������� ������, ������� ����� �������������� �����������.
217
64 �� �� ��������� ����� ������� ��� �� ������� � ����������� �� ����� ����������.)
218
</p></li></ul></div></div><div class="sect2" lang="ru"><div class="titlepage"><div><div><h3 class="title"><a name="aix"></a>12.3.4. AIX</h3></div></div></div><p>
219
<span class="application">MPlayer</span> ������� ���������� �� AIX 5.1,
220
5.2, � 5.3, ��������� GCC 3.3 ��� �����. ������
221
<span class="application">MPlayer</span> �� ��������� �� AIX 4.3.3 � ����� ������.
222
������ ������������� ��������
223
<span class="application">MPlayer</span> ��������� GCC 3.4 ��� ������, �, ��� �������,
224
GCC 4.0, ���� ��������� �� POWER5.
226
����������, ��� ����������� GNU make
227
(<tt class="filename">/opt/freeware/bin/gmake</tt>) ��� ������
228
<span class="application">MPlayer</span>, ��������� ����������� � ���������� ���
229
������������� <tt class="filename">/usr/ccs/bin/make</tt>.
232
��-�������� ������� ������ ��� ����� ����������� CPU.
233
��������� ��������� �����������:
234
</p><div class="itemizedlist"><ul type="disc"><li><p>604e</p></li><li><p>POWER3</p></li><li><p>POWER4</p></li></ul></div><p>
235
�� ��������� ������������ �� �����������, �� ������ ��������:
236
</p><div class="itemizedlist"><ul type="disc"><li><p>POWER</p></li><li><p>POWER2</p></li><li><p>POWER5</p></li></ul></div><p>
237
����� ����� ����� Ultimedia Services �� ��������������, �.�.
238
Ultimedia ���� ������ �� AIX 5.1; ����� �������, �������� ������������
239
�������: ������������ ������� AIX Open Sound system (OSS) ��
240
4Front Technologies � <a href="http://www.opensound.com/aix.html" target="_top">http://www.opensound.com/aix.html
241
</a>. ��� ��������������� ������������� 4Front Technologies
242
�������������� ������� OSS ��� AIX 5.1 ���������; �������� �� ���,
243
�� ������� ���� ��� ��������� ������ ����� ��� AIX 5.2 ��� 5.3.
244
drivers for AIX 5.2 or 5.3. ��� ��������, ��� ������
245
<span class="bold"><strong>AIX 5.2 � 5.3 ������������ � ������� ����� MPlayer.</strong></span>
246
</p><p>������� ��� ����� �������:</p><div class="itemizedlist"><ul type="disc"><li><p>
247
���� �� ����������� � ����� ������� <tt class="filename">configure</tt>:
248
</p><pre class="screen">
251
Checking for iconv program ... no
252
No working iconv program found, use
253
--charset=US-ASCII to continue anyway.
254
Messages in the GTK-2 interface will be broken then.
256
��� ��-�� ����, ��� AIX ���������� ������������� ����� ���������;
257
������� ������������� ��������� � ������ ������ �� ��������.
258
������� - ������������:
259
</p><pre class="screen">
260
$ ./configure --charset=noconv
262
</p></li></ul></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bsd.html">����.</a>�</td><td width="20%" align="center"><a accesskey="u" href="ports.html">������� ����</a></td><td width="40%" align="right">�<a accesskey="n" href="windows.html">����.</a></td></tr><tr><td width="40%" align="left" valign="top">12.2. *BSD�</td><td width="20%" align="center"><a accesskey="h" href="index.html">������</a></td><td width="40%" align="right" valign="top">�12.4. Windows</td></tr></table></div></body></html>