Monday, April 25, 2005

MythMusic install

yum install libvorbis libvorbis-devel vorbis-tools cdparanoia-devel cdparanoia-libs cdparanoia SDL-devel SDL [these were already installed, "Nothing to do"]

yum install libmad-devel libid3tag libid3tag-devel

NOTE: You also need flac-devel

Can't find libcdaudio with yum.

Info from README:

Downloaded libcdaudio-0.99.12.tar.gz from
http://libcdaudio.sourceforge.net

Untar'd in a tmp dir. cd to the src dir.
./configure
make
make install

---
Output of make install:

[root@be libcdaudio-0.99.12]# make install
Making install in src
make[1]: Entering directory `/root/tmp/libcdaudio-0.99.12/src'
make[2]: Entering directory `/root/tmp/libcdaudio-0.99.12/src'
mkdir -p -- . /usr/local/lib
/bin/sh ../libtool --mode=install /usr/bin/install -c libcdaudio.la /usr/loc
al/lib/libcdaudio.la
/usr/bin/install -c .libs/libcdaudio.so.1.0.0 /usr/local/lib/libcdaudio.so.1
.0.0
(cd /usr/local/lib && rm -f libcdaudio.so.1 && ln -s libcdaudio.so.1.0.0 lib
cdaudio.so.1)
(cd /usr/local/lib && rm -f libcdaudio.so && ln -s libcdaudio.so.1.0.0 libcd
audio.so)
/usr/bin/install -c .libs/libcdaudio.lai /usr/local/lib/libcdaudio.la
/usr/bin/install -c .libs/libcdaudio.a /usr/local/lib/libcdaudio.a
ranlib /usr/local/lib/libcdaudio.a
chmod 644 /usr/local/lib/libcdaudio.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
mkdir -p -- . /usr/local/include
/usr/bin/install -c -m 644 cdaudio.h /usr/local/include/cdaudio.h
make[2]: Leaving directory `/root/tmp/libcdaudio-0.99.12/src'
make[1]: Leaving directory `/root/tmp/libcdaudio-0.99.12/src'
make[1]: Entering directory `/root/tmp/libcdaudio-0.99.12'
make[2]: Entering directory `/root/tmp/libcdaudio-0.99.12'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'libcdaudio-config' '/usr/local/bin/libcdaudio-config'
test -z "/usr/local/share/aclocal" || mkdir -p -- . "/usr/local/share/acloca
l"
/usr/bin/install -c -m 644 'libcdaudio.m4' '/usr/local/share/aclocal/libcda
udio.m4'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfi
g"
/usr/bin/install -c -m 644 'libcdaudio.pc' '/usr/local/lib/pkgconfig/libcda
udio.pc'
make[2]: Leaving directory `/root/tmp/libcdaudio-0.99.12'
make[1]: Leaving directory `/root/tmp/libcdaudio-0.99.12'
[root@be libcdaudio-0.99.12]#

---

make clean
make distclean

===

From libcdaudio's INSTALL doc:
You can remove the program binaries and object files from the
source code directory by typing 'make clean'. To also remove the
files that 'configure' created (so you can compile the package for
a different kind of computer), type 'make distclean'.

===

Back to ~/cvs/mythplugins dir.
./configure --disable-all --enable-mythmusic --enable-opengl

make clean
qmake mythplugins.pro
make

>> Compile aborted. Errors about 'flacencoder.h'.

yum install flac-devel

make clean
qmake mythplugins.pro
make
make install

0 Comments:

Post a Comment

<< Home