I'm glad to see that this thread didn't die. I just compiled the latest beta of the Logitech Media Server (7.8.0-1346674706) on my Pogoplug Pro running Archlinux with perl 5.16.1. It seems to be functioning just fine. As some people have mentioned, you can do this by grabbing the tarball from AUR
https://aur.archlinux.org/packages/lo/logitechmediaserver/logitechmediaserver.tar.gz and making a few changes to the PKGBUILD. My edited PKGBUILD is as follows: $this->bbcode_second_pass_code('', '
pkgname=logitechmediaserver
pkgver=7.8.0
pkgrel=1346674706
pkgdesc='Streaming audio server supported by Logitech'
url='http://www.mysqueezebox.com/download'
license=('GPL' 'custom')
arch=('i686' 'x86_64')
makedepends=('nasm' 'yasm' 'rsync')
[[ $CARCH = x86_64 ]] && optdepends=('lib32-glibc: transcoding' 'lib32-gcc-libs: transcoding')
depends=('perl>5.15' 'perl<5.17')
source=("http://downloads.slimdevices.com/nightly/7.8/sc/6ae78d4/logitechmediaserver-${pkgver}-${pkgrel}-arm-linux.tgz"
'perl-recent.patch'
'service'
'conf.d'
'rc.d')
backup=('etc/conf.d/logitechmediaserver')
sha1sums=('5ADEAA8FC0BCD86A13CE0C71F4503361A2711281'
'2e9989b5ea49e9e3b0fa2e16590ad3a6957f7b9c'
'6e3428f9e798bf2403f46d7d20020eb985832356'
'80d3658796ba7241b497e5fce93813423c57e06e'
'9a98d601faff6345dfeddae16d1f10547c2aacba')
install=install
build_cpan() {
svnurl=svn.slimdevices.com/repos/slim/7.7/trunk/vendor/CPAN/
wget -r --no-parent http://${svnurl} --reject 'mysql-*'
pushd ${svnurl}
wget http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/Class-XSAccessor-1.13.tar.gz
sed \
-e 's/XSAccessor-1.05/XSAccessor-1.13/g' \
-e '/RUN_TESTS=1/c RUN_TESTS=0' \
-e 's/perl5.12/perl/g' \
-e 's/5.12/5.16/g' \
-i buildme.sh
sh buildme.sh
popd
cp -r ${svnurl}build/5.16/lib/perl5/*-linux-thread-multi/* CPAN/
cp -r ${svnurl}build/arch CPAN/
rm -fr svn.slimdevices.com
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"-*
build_cpan
patch -p1 -i ../perl-recent.patch
rm -r CPAN/arch/5.{8,10,12,14}
#rm -r CPAN/arch/5.16/{arm-linux-gnueabi-thread-multi-64int,i386-linux-thread-multi-64int,powerpc-linux-thread-multi-64int}
#[[ ${CARCH} = i686 ]] && rm -r CPAN/arch/5.16/x86_64-linux-thread-multi || true
#[[ ${CARCH} = x86_64 ]] && rm -r CPAN/arch/5.16/i386-linux-thread-multi || true
rm -r Bin/arm-linux
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"-*
install -d "${pkgdir}"/{opt,usr/share/licenses}/"${pkgname}"
cp -a * "${pkgdir}/opt/${pkgname}"
ln -s /opt/"${pkgname}"/License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
install -Dm644 ../conf.d "${pkgdir}/etc/conf.d/${pkgname}"
install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/${pkgname}"
}
') I'm not a linux pro, so I kind of pieced it together from different messeages. As someone mentioned, it is not necessary to add "arm" to the arch line in the PKGBUILD if you compile using the command (makepkg -Acs --asroot). The -Acs option takes care of that. I also found that you can change the compression level to save time when you are compiling. By having makepkg create a .tar file rather than a .xz file, the compile took about a third of the time (you can find lots of reference to how to do this with a simple google search). There were a few errors once I started LMS.
defined(@array) is deprecated at /opt/logitechmediaserver/CPAN/Class/Inspector.pm line 124.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /opt/logitechmediaserver/CPAN/Log/Log4perl/Config.pm line 840.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /opt/logitechmediaserver/Slim/Player/SB1SliMP3Sync.pm line 146.
(Maybe you should just omit the defined()?)
overload arg '"' is invalid at /opt/logitechmediaserver/CPAN/DBIx/Class/Storage.pm line 26
The first three are pretty easy to fix. Go to the indicated line and simply delete the word "defined" in that line.
nano +124 /opt/logitechmediaserver/CPAN/Class/Inspector.pm
nano +840 /opt/logitechmediaserver/CPAN/Log/Log4perl/Config.pm
nano +146 /opt/logitechmediaserver/Slim/Player/SB1SliMP3Sync.pm
The last error appears to be a typo. I think instead of '"' it is supposed to be '""'. So go to the line (actually a few lines earlier) and add a second quotation mark.
overload arg '"' is invalid at /opt/logitechmediaserver/CPAN/DBIx/Class/Storage.pm line 26
I hope that helps anyone who wants to try this.