Installing ogle on SuSE

<[email protected]>
Newsgroups gmane.comp.video.ogle.user
Message-ID <20040606002840.KUNI19746.mta01-svc.ntlworld.com@[10.137.100.69]>
Hi,
I successfully installed ogle with a lot of messing about, and thought my experience might be useful to others.
Note that this is not a full howto - just some pointers. I assume you know how to change to the right directory, download all the libraries and install as root, etc.

The system - 
AMD 3400+ 64 bit
1GB RAM
Radeon 9800XT graphics
DVD drive ;-)
SuSE Linux 9.1 Pro 64 bit

Firstly, the default install of SuSE doesn't have all the development libraries you will need, so install them with YaST if a compile seems to fail because they are missing. Secondly, some things are already present and don't need to be replaced. Like libdvdread and libmad. Best to go through the checklist of requirements with YaST open, and search for each package required.

A few clever things need to be done for two of the libraries that you will need. 

The first is the *JPEG* libraries - the SuSE 9.1 default ones don't seem to work, so you will have to download new ones and install them (don't worry - SuSE defaults are in /usr/lib, you'll be installing in /usr/local/lib).
$ ./configure --enable-shared --enable-static
In the generated file 'Makefile', change
 LIBTOOL = (whatever)
to
 LIBTOOL = /usr/bin/libtool
then,
$ make
# make install

Secondly, due to some difference between gcc-2.95 and gcc-3.0, *a52dec* needs some fiddling.
$ ./configure CFLAGS="-fPIC -DPIC"
$ make
# make install

Don't forget all the other dependancies!

Finally, you are ready to compile & install ogle itself. Make sure you get it to use your new jpeg libraries, and not SuSE's broken ones:
$ ./configure --with-libjpeg=/usr/local
$ make
# make install

Then install any GUIs you want. It really is that simple! I hope this saves a few people from tearing out their hair.

Regards,
- Oli

-----------------------------------------
Email provided by http://www.ntlhome.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.