1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Shairport with Optware?

Discussion in 'Tomato Firmware' started by philess, Mar 3, 2013.

  1. philess

    philess Networkin' Nut Member

    Hi everyone,

    i am trying to get Shairport (Airplay receiver, USB-audio at router) working, so far
    i have the USB sound working, but i cant find a pre-compiled shairport anywhere
    to use on TomatoUSB. I currently have Optware installed and dont really want to
    get rid of everything and use Entware (there is a Shairport package for Ent).

    Any ideas how i can get shairport working but keep Optware?
    I got the perl source for shairport but it requires perl 5.10 to run, only
    have perl 5.8.8 in the Optware repo tho. Do i have to compile a new
    version of perl on the router now? Prolly would take weeks.

    Any help is much appreciated.
     
  2. quihong

    quihong Serious Server Member

    @philess,

    What are you using on optware that can't be replicated on entware?

    My suggestion is to just switch to entware and use the tutorial - http://blog.qnology.com/2012/12/tutorial-apple-airplay-on-tomatousb.html

    Not many people have a (working) optware build environment, where as the entware build environment can be setup in minutes. Also @ryzhov_al, the entware maintainer is very responsive and constantly making updates.

    I would like to see more people get on entware and support it. Hopefully we can get AirPrint working on it soon (need help with getting ghostscript and gutenprint compiled).

    Qui

    Code:
    These are generic installation instructions.
     
    Requirements
    ============
     
    - A generic Linux compilation environment, tested on Debian 6 and Ubuntu 11.х:
    $ sudo apt-get install autoconf automake bash bison bzip2 \
    diffutils file flex g++ gawk groff-base libncurses-dev libtool \
    libslang2 make patch perl sed shtool subversion tar texinfo \
    zlib1g zlib1g-dev git-core gettext libexpat1-dev libssl-dev \
    cvs gperf unzip python libxml-parser-perl gcc-multilib
     
    - At least 20Gb of disk space,
    - Approx. 5 hours of free time to compile all stuff.
     
    Building
    ========
     
    $ mkdir ~/openwrt
    $ cd ~/openwrt
    $ svn co http://wl500g-repo.googlecode.com/svn/trunk/ ./rtn
    $ cd ./rtn
    $ make
     
    Building repo goes through a several stages:
    - downloading firmwares sources from http://code.google.com/p/wl500g/ for a patched 2.6.22.19 kernel
    - configuring kernel sources according to http://code.google.com/p/wl500g/wiki/CompilingCustomFirmware?wl=en
    - downloading, patching and compiling toolchain from http://code.google.com/p/wl500g/source/browse/#svn%2Ftoolchain
    - deploying and patching OpenWRT Buildroot, refer to http://wiki.openwrt.org/about/toolchain
    - compiling software packages
     
    If building fails, see whats wrong in a current target from Makefile.
     
    ipk-packages can be found at ~/openwrt/trunk/bin/entware/packages directory.
    
     
  3. quihong

    quihong Serious Server Member

    I kinda have to eat my words here :)

    With @davygravys help we got AirPrint working on optware. So now basically we have AirPlay working on Entware and AirPrint working on Optware. The goal is to get AirPrint and AirPlay working together.
     

Share This Page