install-vls.xml 3.56 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
<?xml version="1.0" encoding="iso-8859-1" ?>

<sect2><title>Windows</title>

<para>
Download the ZIP file from the <ulink
url="http://www.videolan.org/streaming/download-vls-windows.html">VLS
Windows download page</ulink>, unzip-it and run
<filename>setup.exe</filename>
.</para>

</sect2>

<sect2><title>GNULinux &amp; Mac OS X</title>

<simplesect><title>
Install the libraries
</title>

<para>
Many libraries are needed for particular uses
:</para>

<itemizedlist>

<listitem><para><emphasis>libdvbpsi</emphasis> 
(always needed)
</para></listitem>

<listitem><para><emphasis>libdvdcss</emphasis>
if you want to be able to access encrypted DVDs
,</para></listitem>

<listitem><para><emphasis>libdvdread</emphasis>
if you want to be able to stream DVDs
,</para></listitem>

<listitem><para><emphasis>libdvb</emphasis>
 if you want to be able to stream from a DVB card (a
satellite card or a digital terrestial TV card)
.</para></listitem>

</itemizedlist>

<para>
Download the libraries from the <ulink
url="http://www.videolan.org/streaming/download-vls-sources.html">VLS
sources download page</ulink>
.</para>

<para>
For each library, uncompress, configure
(unless for <emphasis>libdvb</emphasis> which doesn't have a
<emphasis>./configure</emphasis>), compile and install 
:</para>

<screen>
<prompt>% </prompt><userinput>tar xvzf library.tar.gz</userinput>
<prompt>% </prompt><userinput>cd library</userinput>
<prompt>% </prompt><userinput>./configure</userinput>
<prompt>% </prompt><userinput>make</userinput>
<prompt># </prompt><userinput>make install</userinput>
</screen>

<para>
On GNU/Linux, check that the configuration file
<filename>/etc/ld.so.conf</filename> contains the following line
 :</para>
<programlisting>
/usr/local/lib
</programlisting>

<para>
If the line is not present, add-it and then run
 :</para>

<screen>
<prompt># </prompt><userinput>ldconfig</userinput>
</screen>

<para>
On Mac OS X, run
:</para>
<screen>
<prompt># </prompt><userinput>ranlib /usr/local/lib/*.a</userinput>
</screen>


</simplesect>

<simplesect><title>
Install VLS
</title>

<para>
Download the sources of the latest release : get
the file <filename>vls-version.tar.gz</filename> from the <ulink
url="http://www.videolan.org/streaming/download-vls-sources.html">VLS
sources download page</ulink>. Uncompress-it and generate
<emphasis>./configure</emphasis> 
:</para>

<screen>
<prompt>% </prompt><userinput>tar xvzf vls-version.tar.gz</userinput>
<prompt>% </prompt><userinput>cd vls-version</userinput>
</screen>

<para>
To get the list of configuration options, do
:</para>

<screen>
<prompt>% </prompt><userinput>./configure --help</userinput>
</screen>

<para>
Then configure VLS 
:</para>

<itemizedlist>

<listitem><para>
if you want a basic VLS without DVD support, do
mchten, machen Sie
:</para>

<screen>
<prompt>% </prompt><userinput>./configure --disable-dvd</userinput>
</screen>

</listitem>

<listitem><para>
if you want a VLS with DVD support, do
 :</para>

<screen>
<prompt>% </prompt><userinput>./configure</userinput>
</screen>

</listitem>

<listitem><para>
if you want a VLS with DVB support, do 
:</para>

<screen>
<prompt>% </prompt><userinput>./configure --enable-dvb --with-dvb=PATH_TO_DVB_DRIVERS --with-libdvb=PATH_TO_LIBDVB</userinput>
</screen>

</listitem>

</itemizedlist>

<para>
Then, compile and install
 :</para>

<screen>
<prompt>% </prompt><userinput>make</userinput>
<prompt># </prompt><userinput>make install</userinput>
</screen>

<para>
You can also do a <command>make uninstall</command>,
<command>make clean</command> or <command>make distclean</command> as needed
.</para>

</simplesect>

</sect2>