[Theora-dev] Building theora

John Kintree jkintree at swbell.net
Sun Sep 5 16:15:09 PDT 2004


I did not get very far a couple of weeks ago trying to build theoris using the 
theora trunk obtained with subversion.  I'll give your method a try, and if 
it works, will add that information to the theora web site.
John

On Sunday 05 September 2004 11:48 am, J. Grant wrote:
> Hi Ralph,
>
> Thanks for your reply.  I have working Ogg Theora encoding now with
> these packages now:
>
> libogg-1.1, libtheora-1.0alpha3, libvorbis-1.0.1
>
> > Yes, you need 1.0.1. It's hiding on vorbis.com:
> >
> >   http://www.vorbis.com/files/1.0.1/unix/libvorbis-1.0.1.tar.gz
> >
> > I'll clean up the links, if our webmaster team doesn't get to it first.
>
> Cool.  is the http://www.xiph.org/ogg/vorbis/download/ dead now?
>
> I had some trouble finding all the right bits to be able to get Ogg
> Theora built and working on my GNU/Linux box.  I wonder if a "Developers
> page" could be added to the site with links to all the latest stuff?
>
> Atm, there is just the subversion links, and I do not have subversion
> (or a plan to install it yet).
>
> I spoke to Silvia Pfeiffer about this problem over email.  She suggested
> I created a web page you could add to the site with this infomation.
>
> So a "Developers page" (perhaps combined with the Subversion info?)
> could go something like this:
>
> ================================================
> To build Ogg Theora you need to build and install these libraries.
> These are the latest releases:
>
> Ogg container support:
> http://www.vorbis.com/files/1.0.1/unix/libogg-1.1.tar.gz
>
> Vorbis audio support:
> http://www.vorbis.com/files/1.0.1/unix/libvorbis-1.0.1.tar.gz
>
> Theora video codec support:
> http://theora.org/files/libtheora-1.0alpha3.tar.gz
> ================================================
>
>
> Also, in case this has already not been noticed.  libvorbis-1.0.1
> examples has a link error, "-static" is the cause.  Removing
> "-static" is the workaround for me.
>
> Kind regards
>
> JG
>
> gcc (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk)
> GNU ld version 2.12.90.0.15 20020717
>
>
> <snip>
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libvorbis\"
> -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1
> -DHAVE_ALLOCA=1  -I. -I.  -I../include     -O20 -ffast-math -mno-ieee-fp
> -D_REENTRANT -fsigned-char  -DUSE_MEMORY_H -c decoder_example.c
> /bin/sh ../libtool --mode=link gcc  -O20 -ffast-math -mno-ieee-fp
> -D_REENTRANT -fsigned-char  -DUSE_MEMORY_H -all-static -o
> decoder_example  decoder_example.o ../lib/libvorbis.la -lm  -logg
> mkdir .libs
> gcc -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char
> -DUSE_MEMORY_H -static -o decoder_example decoder_example.o
> ../lib/.libs/libvorbis.a -lm -logg
> /usr/bin/ld: cannot find -lm
> collect2: ld returned 1 exit status
> make[1]: *** [decoder_example] Error 1
> make[1]: Leaving directory `/home/now3d/theora/libvorbis-1.0.1/examples'
> make: *** [all-recursive] Error 1


More information about the Theora-dev mailing list