[theora-dev] CVS compile problems

Ivan Kalvachev ivan at cacad.com
Sat Aug 23 07:24:12 PDT 2003

I'm compiling theora from the cvs. I use it with mplayer.
I had run in these problems:

 1. At make time I got that:

Making all in doc
make[1]: Entering directory `/work/src/theora/doc'
make[1]: *** No rule to make target `testspec.raw', needed by `all-am'. 
make[1]: Leaving directory `/work/src/theora/doc'
make: *** [all-recursive] Error 1

    I cannot skip that error if I use ./configure --disable-oggtest. I guess
    it have other purpose
    I workaround this by removing these test from Makefile.

 2. My stock (slackware 9) SDL have problems with linking theora examples.
    here is the gcc command line & error:

make[1]: Entering directory `/work/src/theora/examples'
/bin/sh ../libtool --mode=link gcc  -I/usr/include/SDL -D_REENTRANT 
-all-static  -o p
layer_example  player_example.o ../lib/libtheora.la -logg -lm -L/usr/lib
sr/lib -lSDL -lpthread -lm -L/opt/kde/lib -ldl -lartsc -lpthread
-L/usr/lib -lesd -lau
diofile -lm -L/usr/X11R6/lib -lX11 -lXext -ldl -lvorbis -logg
gcc -I/usr/include/SDL -D_REENTRANT -static -o player_example
player_example.o -Wl,-rp
ath -Wl,/usr/lib  ../lib/.libs/libtheora.a -L/usr/lib /usr/lib/libSDL.a
 -lartsc -L/usr/X11R6/lib /opt/kde/lib/libartsc.so -lpthread
/usr/lib/libesd.a /usr/li
b/libaudiofile.a -lX11 -lXext -ldl /usr/local/lib/libvorbis.a -lm
g.a -Wl,--rpath -Wl,/opt/kde/lib -Wl,--rpath -Wl,/opt/kde/lib
annot find -lartsc
collect2: ld returned 1 exit status
make[1]: *** [player_example] Error 1
make[1]: Leaving directory `/work/src/theora/examples'
make: *** [all-recursive] Error 1

    this is the output of `ldconfig -p | grep artsc`

libartscbackend.so.0 (libc6) => /opt/kde/lib/libartscbackend.so.0
libartscbackend.so (libc6) => /opt/kde/lib/libartscbackend.so
libartsc.so.0 (libc6) => /opt/kde/lib/libartsc.so.0
libartsc.so (libc6) => /opt/kde/lib/libartsc.so

    BTW I have libartsc.so , but not *.a file! Maybe you should not have
to use sdl-config --static-libs and use sdl-config --libs?

<p> 3. Your configure script doesn't have option to disable sdl example
    I workaround the problem with forcing -with-sdl-prefix to wrong path.

<p>As I said I'm using cvs so I cannot check do these issue still exist. But
I will report them anyway:

 4. libraries path (e.g. libogg) should be queried on configure time
     not at autogen, just imagine what will happen on the release :O This
issue is written in the README!
 5. theora configure doesn't check the required version of libogg &

Best Regards
   Ivan Kalvachev

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Theora-dev mailing list