Just an update. If anyone has been following my posts to this thread, I was able to get the latest nightly logitechmediaserver-7.8.0-1362754234 to compile on a Pogoplug Pro using the following process.
Of course, in order to build a package, you need to have the developer tools installed.
pacman -S base-devel
Grab the latest tarball from AUR maintained by vesath. This is actually for the normal non-nightly version and it's not exactly for ARM devices so a few changes need to be made to the PKGBUILD before it'll work. Basically, I correct the version and release information to match the nightly, update the CPAN area to reflect the files for version 7.8 (this is new, I was using the version 7.7 CPAN files but it didn't work this time while the 7.8 files did), and edit a line in the clean-up stage.
https://aur.archlinux.org/packages/logitechmediaserver/https://aur.archlinux.org/packages/lo/logitechmediaserver/logitechmediaserver.tar.gzUncompress this tarball and edit the PKGBUILD
tar xvfz logitechmediaserver.tar.gz
It'll create a directory called logitechmediaserver.
cd logitechmediaserver
nano PKGBUILD
My final PKGBUILD looked like this:
$this->bbcode_second_pass_code('', '# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=logitechmediaserver
pkgver=7.8.0
pkgrel=1362754234
pkgdesc='Streaming audio server supported by Logitech'
url='http://www.mysqueezebox.com/download'
license=('GPL' 'custom')
arch=('i686' 'x86_64')
makedepends=('nasm' 'yasm' 'rsync' 'wget')
[[ $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/63f6635/logitechmediaserver-7.8.0-1362754234-arm-linux.tgz"
'perl-recent.patch'
'service'
'conf.d'
'rc.d')
backup=('etc/conf.d/logitechmediaserver')
sha1sums=('1EEDAFD5441240390E2AA64A5832887EBD7FA2B5'
'2e9989b5ea49e9e3b0fa2e16590ad3a6957f7b9c'
'6e3428f9e798bf2403f46d7d20020eb985832356'
'80d3658796ba7241b497e5fce93813423c57e06e'
'9a98d601faff6345dfeddae16d1f10547c2aacba')
install=install
build_cpan() {
svnurl=svn.slimdevices.com/repos/slim/7.8/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}"
}')
Proceed to build the package. This process will take a few hours.
makepkg -Acs --asroot
Once complete, you simply install the newly complied package.
pacman -U whateveryourfileis
There are a few files that need to be fixed so the program doesn't complain about deprecated defined arrays and an invalid overload argument. In each of the three files below, just delete the word 'defined' on that particular 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
And in this file, it appears that the quote '"' should be a double quote '""'. So just add another quote next to the quote in the line.
nano +24 /opt/logitechmediaserver/CPAN/DBIx/Class/Storage.pm
That should be it. Start the server with /etc/rc.d/logitechmediaserver start
You can access the server from a browser at theipaddressofthepogoplug:9000.
Good luck!