summaryrefslogtreecommitdiffstats
path: root/mpeglib_artsplug/README
blob: 200151619ec2e91b530624a8398bdb9c28fdb17b (plain)
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


1) compile  arts snapshot with
  
   ./configure --prefix=/tmp/arts
               ^^^^^^^^^^^^^^^^^^
                needed      

   This Makefile depends on the assumption that arts is in /tmp/arts !

2) Put the arts libraries into your library search path:
   
   edit ld.so.conf
   add: /tmp/arts/lib
   /sbin/ldconfig

   ---> Make sure the arts path is BEFORE your KDE Library path!
  (you will link against old arts versions and will get 
   "undefined references")

4) compile & install mpeglib

   ./configure
   make            <-- mabe you get errors here , because I have XFree4.0
   make install

5) add the library search path for mpeg lib to /etc/ld.so.conf
   see 2)
   Per default mpeglib installs in /usr/lib

6) Now build the arts plugins in this directory

   * You should edit the Makefile and remove the XFree4.0 dependecies

Makefile:
        -lmpeg -lX11 -lXext -lXt -lXv -lXxf86dga -lpthread
#                                ^^^^^^^^^^^^^^^
#                                needed if you have XFree4.0

     

   Type in this directory 
   
   make

   then pray.
   
   Now check the library dependcies.
   A success looks similar to this:
[m_vogt@mv arts]$ ldd ./libarts_splay.so 
        libmpeg--version-info.so => /usr/local/lib/libmpeg--version-info.so (0x40022000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4009d000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4015f000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4016c000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x401b5000)
        libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x401c8000)
        libm.so.6 => /lib/libm.so.6 (0x4020a000)
        libc.so.6 => /lib/libc.so.6 (0x40227000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4031c000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40325000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)


If you get undefined references read: 2.


7.) Now install the lib

    make install


8) start artsd

9) start the ./artsplay in the current directoy with a given mp3