|
Packit |
eed494 |
Prerequisites
|
|
Packit |
eed494 |
-------------
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
libvorbis
|
|
Packit |
eed494 |
libogg
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
Both of these libraries must be installed before you can build
|
|
Packit |
eed494 |
libshout. If they aren't available in your OS's package system, you
|
|
Packit |
eed494 |
can find them at vorbis.com. You may also want libtheora if you're
|
|
Packit |
eed494 |
interested in doing video streaming.
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
Building
|
|
Packit |
eed494 |
--------
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
Normally, just ./configure; make
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
You may need to specify --with-ogg-prefix and/or --with-vorbis-prefix
|
|
Packit |
eed494 |
if you have installed those libraries in a non-standard
|
|
Packit |
eed494 |
location. The arguments to these will match the --prefix you used when
|
|
Packit |
eed494 |
configuring ogg and vorbis, respectively.
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
You may also choose to build libshout without thread safety, with the
|
|
Packit |
eed494 |
--disable-pthread argument to configure. Only do this if you know you
|
|
Packit |
eed494 |
will never be using the library in a threaded application, or if you
|
|
Packit |
eed494 |
intend to make all calls to libshout threadsafe by hand in your
|
|
Packit |
eed494 |
calling application.
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
Installation
|
|
Packit |
eed494 |
------------
|
|
Packit |
eed494 |
(as root) make install
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
This will install header files in $(prefix)/shout and library files in
|
|
Packit |
eed494 |
$(prefix)/lib.
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
configure will have detected whether or not you have pkg-config
|
|
Packit |
eed494 |
automatically. If you have, it will place a pkg-config data file in
|
|
Packit |
eed494 |
$(prefix)/lib/pkgconfig, otherwise it will place a shout-config script
|
|
Packit |
eed494 |
in $(prefix)/bin. You can force libshout to use shout-config instead
|
|
Packit |
eed494 |
of pkgconfig with the configure option --disable-pkgconfig.
|
|
Packit |
eed494 |
|
|
Packit |
eed494 |
$Id: INSTALL 8946 2005-02-19 17:49:25Z brendan $
|