LiViD   Oms How To UserPreferences
 
Help Search Diffs Info Edit Print View
 MoinMoin Wiki   LividWiki   RecentChanges   TitleIndex   WordIndex   Help 

Version as of 2001-01-31 16:19:15

Clear message


How to install and run the OpenMediaSystem:

[WWW]http://www.linuxvideo.org/docs/

  1. Binaries
    1. Debian
    2. RedHat
    3. tarball
  2. Source
    1. CVS
    2. tarball
  3. Configuration
  4. Build Problems
    1. I get "autoheader: error: AC_CONFIG_HEADERS not found in configure.in" when running bootstrap on libcss
    2. Building my omi_gtk binary failed!
    3. oms CVS: I get an aclocal error when running bootstrap
    4. omi configure fails: can't find oms-config
  5. Runtime Problems
    1. I ran XYZ and it segfaulted!
    2. I think I have a region code problem with my drive
    3. "GetTitleKey failed: Input/output error"
    4. Something really weird happend...
    5. "error while loading shared libraries:"
    6. ** Invalid mantissa - skipping frame **
    7. omi_gtk: Segmentation Fault right after dvddb
    8. error loading default / configured audio or video plugins
  6. Other Tips

Binaries

  1. Install your prefered binaries (described below).
  2. Run oms_shell or omi_gtk.

Debian

These packages probably have dependencies to Debian unstable packages.

Add the following to /etc/apt/sources.list :

deb http://linuxvideo.org/oms/data/debian/ ./

Use dselect/apt-get/console-apt/etc to install oms and oms-omi . Dependencies should be automagically calculated.

Note that as of 01/13/2001, /usr/doc/oms/README.Debian says that the oms package is unusable !! ("to get familiar with Debian packaging...")

RedHat

DENT: latest sources do allow RH-package building using 'make dist-rpm', so stay tuned until we've found a maintainer for those packages - do you like to volunteer?

tarball

DENT: latest sources do allow tar-package building using 'make dist' and 'make distcheck', so stay tuned until we've found a maintainer for those packages - do you like to volunteer?

Source

  1. Install libcss, oms, and omi source (described below).
  2. Make sure your library paths are setup to where you intend to install the libraries. (see description of this in problems section)
  3. Install required packages according to OpenMediaInterface.
  4. Build libcss:
    1. $ cd libcss
    2. $ ./bootstrap
    3. $ ./configure
    4. $ make
    5. $ make install
  5. Build OMS:
    1. $ cd oms
    2. $ ./bootstrap
    3. $ ./configure
    4. $ make
    5. $ make install
  6. Build OMI
    1. $ cd omi
    2. $ ./bootstrap
    3. $ ./configure
    4. $ make
    5. $ make install
  7. Run oms_shell or omi_gtk.

CVS

# export CVSROOT=:pserver:anonymous@cvs.linuxvideo.org:/cvs/livid 
# cvs login (Just press Return when prompted for a password) 
# cvs -z3 co module_name 

Get modules libcss, oms, omi.

tarball

Visit [WWW]http://www.linuxvideo.org/devel/dl.html.

Configuration

OpenMediaSystem uses a configuration file located at ~/.oms/config.

...

Build Problems

I get "autoheader: error: AC_CONFIG_HEADERS not found in configure.in" when running bootstrap on libcss

Make sure you are using autoconf version 2.13. Newer versions will cause this error.

Building my omi_gtk binary failed!

When building OpenMediaInterface check ./configure output, config.log, and ./src/config.h. Assure that the proper libs were detected. For a list of what is needed see OpenMediaInterface.

In case the make of omi aborts with undefined references to gtk things:

Run "gtk-config --libs" and add the missing parts to the configuration settings in Makefile and/or src/Makefile. grep for the problematic function names in /usr/lib and add the resulting libs as -Lxxx or -lxxx.

oms CVS: I get an aclocal error when running bootstrap

You need to install the automake package on your system in case aclocal isn't found.

omi configure fails: can't find oms-config

Make sure that /usr/local/bin is in your PATH (/etc/profile for root, or ~/.cshrc or ~/.profile for a user, depending on if your shell is csh/tcsh or bash). Also, as a sanity check, make sure you compiled and installed oms before trying to build omi.

Also, make sure /usr/local/lib is in your linker path; this is either defined by the variable LD_LIBRARY_PATH or is an entry in the file /etc/ld.so.conf.

Runtime Problems

I ran XYZ and it segfaulted!

Yeah, that can happen sometimes. Sorry. But there is hope! Make sure that you don't have old versions of OpenMediaSystem or OpenMediaInterface libraries and plugins on your system. You can also try a clean rebuild just to make sure everything is sane.

I think I have a region code problem with my drive

Run dmesg to see if you have a problem. You may see output like the following:

ATAPI device hdc: 
   Error: Illegal request -- (Sense key=0x05) 
   System resource failure -- (asc=0x55, ascq=0x00) 
   Media region code is mismatched to logical unit -- (asc=0x6f, ascq=0x04) 
   The failed "Report Key" packet command was: 
   "a4 00 00 00 00 00 00 00 00 0c 04 00 " 

Get the regionset program from [WWW]linuxtv.org use that to reset the region on your dvd drive. Remember: you can only do this 5 times or so on most drives, so don't get carried away.

To compile, untar the file downloaded, and run:

  1. # gcc -c dvd_udf.c
  2. # gcc -c regionset.c
  3. # gcc -o regionset dvd_udf.o regionset.o
  4. # ./regionset

If you have no region code set, you will see type: NONE as part of the output, as well as drive plays discs from region(s): with no number after it. Set the code according to your region (e.g. United States is 1).

"GetTitleKey failed: Input/output error"

This may appear for other reasons, but one reason was because the region code on the DVD drive wasn't set at all (e.g. you have a brand new DVD drive and haven't run any Windows DVD software). See above subsection for a fix.

Something really weird happend...

Check your ~/.oms/config for sanity.

Also, run "ldconfig -v" (as root) and check the output carefully. I discovered all sorts of problems, including conflicting and old libraries. When I fixed all those problems, oms started working.

"error while loading shared libraries:"

If you get a message like error while loading shared libraries:" liboms.so.0; cannot open shared object file; No such file or directory. then your library paths are incorrect.

By default the libraries install in /usr/local/lib (but this may be different depending on system configuration). You can change this with configure options like --prefix= and --exec-prefix=.

Make sure to have the libdir you use added your library path :

** Invalid mantissa - skipping frame **

Sometimes you can get ** Invalid mantissa - skipping frame ** from OpenMediaSystem. Usually caused when skipping chapters?

Ac3Dec is spewing this when it get fed a bad stream?

It does this because OpenMediaSystem doesn't correctly jump between chapters, it lands in the middle of a stream and Ac3Dec gets confused(I think thats why) - no OpenMediaSystem does a correct jump to the start of the next chapter, but doesn't wait anymore for the end of a proper chunk. - ac3decs resampling has been optimized and fixed and will be commited to CVS this week.

omi_gtk: Segmentation Fault right after dvddb

Remove the $HOME/.oms/dvddb/ directory and create a file so omi_gtk doesn't try to create it again. That fixed it for me.

error loading default / configured audio or video plugins

You probably forgot to create ~/.oms/config. Make a directory called ~/.oms, and copy the file oms/doc/config.sample to ~/.oms/config.

Other Tips

You can install in your own directory by using the --prefix= option to configure.


PythonPowered EditText of this page (last modified 2001-01-31 16:19:15)
FindPage by browsing, searching, or an index
Or try one of these actions: LikePages, SpellCheck

MoinMoin 1.108, Copyright © 2000-2001 by Jürgen Hermann

config = 0.000
total = 0.380
imports = 0.170
send_page = 0.200