<?sphp $this->text('pagetitle') ?>
Home of the Squeezebox™ & Transporter® network music players.

SqueezePlay On Fedora 8

From SqueezeboxWiki

Revision as of 12:56, 30 June 2010 by Soulkeeper (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Building SqueezePlay on Fedora 8 (and possibly 7)

Included in the SqueezePlay source code, is the "README.linux" file. Note that the package names may differ in Fedora 8 so I've listed a simple yum command to install the necessary packages (you may already have many of these install, if you do, those packages will be ignored).

  • build-essential
  • flex
  • bison
  • subversion
  • automake
  • libtool
  • libpng12-dev
  • libjpeg62-dev
  • libexpat1-dev (known as expat-devel in Fedora 8)
  • libreadline5-dev (known as readline-devel in Fedora 8)
  • xorg-dev (this last one requires special attention, see below)

yum install flex bison subversion automake libtool libpng libpng-devel libjpeg libjpeg-devel expat expat-devel readline readline-devel gcc gcc-c++ libgcc libstdc++ libstdc++-devel make

NOTE: I have yet to figure this out, I'm still working on it, but I had to install the SDL-devel package as well. We should be using the SLD version bundled with the SqueezePlay source code, but my build still wants the installed version (??). By installing the SDL-devel package, you get around a compile error about not being able to find the file glu.h (which is actually disabled in the Makefile, as it should be).

Lastly, depending on your installation of Fedora 8, you may have included the LUA package. We do NOT want to use the installed version as it differs from the LUA bundled with the SqueezePlay source. You can quickly force the correct LUA by altering your PATH environment variable:

export PATH=~/<where_you_placed_the_squeezeplay_source>/SqueezePlay/src/pkg/lua-5.1.1/src/:$PATH

If you encounter the following error, you need to make a quick change to the Makefile.linux. See the wiki SqueezePlayOnFedora5and6 to fix this error.

SDL_Init(V|T|A): No available video device