Thanks for taking the time to help Michael. I've also corrected the
subject.
I see from your reply that I'm not making it clear in my attempt to
summarise without unnecessary details.
And for Julf as well: this is the post from a different forum where a
user has kindly provided the step by step to the install on current
FreeBSD for nas4free systems
http://www.nas4free.org/forums/viewtopic.php?f=71&t=38&sid=9884e7ad892d337e62c3150288cfdc3f&start=90.
I have followed and lms runs fine and dandy, just that can't play those
apple lossless files. The files are fine, I can copy a file and put it
into say a portable player or a ubuntu pc and they play fine. Only LMS
can't play them, hence I'm following the route of the decoder from the
LMS logs.
Would the default faad work? No Michael, it gives the error "decoder
does not support file format".
What did you merge?!?
After installing official packages with
Code:
--------------------
pkg install -y bash git gmake nasm rsync nano p5-DBI p5-EV p5-XML-Parser
p5-HTML-Parser p5-JSON-XS p5-Digest-SHA1 p5-YAML-LibYAML p5-Sub-Name
p5-Audio-Scan p5-Image-Scale p5-DBD-SQLite p5-Class-XSAccessor
p5-Template-Toolkit p5-IO-Interface sox mac faad2 libgd p5-Cpanel-JSON-XS
p5-DBI screen gcc49
rehash
--------------------
we get LMS.
Code:
--------------------
mkdir /usr/local/lms
cd /usr/local/lms
git clone https://github.com/Logitech/slimserver-vendor.git
cd slimserver-vendor
ls -al
cd CPAN
ls -al
cp buildme.sh buildme.sh.original
nano buildme.sh
--------------------
Edit 'buildme.sh', change 'RUN_TESTS=1' to 'RUN_TESTS=0'. Make the
following symbolic links so that the buildme.sh script can find the
installed packages.
Code:
--------------------
ln -s /usr/local/bin/gcc49 /usr/bin/gcc
ln -s /usr/local/bin/g++49 /usr/bin/g++
ln -s -f /usr/local/bin/perl5.20.3 /usr/bin/perl
ln -s -f /usr/local/bin/perl5.20.3 /usr/bin/perl5
--------------------
Build with the following
Code:
--------------------
./buildme.sh | tee /usr/local/lms/buildme.sh.log
--------------------
Here comes the new bit. Image::Scale has been updated so we need to copy
both the newly built Scale.so and Scale.pm. Otherwise we get Scale.so
version 0.11 but Scale.pm version 0.08.
Code:
--------------------
cd slimserver-vendor/CPAN/build
tar cf /usr/local/lms/arch.tar arch/
cd
/usr/local/lms/slimserver-vendor/CPAN/build/5.20/lib/perl5/amd64-freebsd-thread-multi/Image
tar cf /usr/local/lms/Scale11.tar *
cd /usr/local/lms
--------------------
Fetch an appropriate noCPAN nightly. I got:
Code:
--------------------
fetch
http://downloads.slimdevices.com/nightly/7.9/sc/ae43ff8/logitechmediaserver-7.9.0-1461319207-noCPAN.tgz
tar xzf logitechmediaserver-7.9.0-1461319207-noCPAN.tgz
--------------------
Combine newly built files with noCPAN - this is the merge.
Code:
--------------------
mv logitechmediaserver-7.9.0-1461319207-noCPAN/* .
tar xf arch.tar -C /usr/local/lms/CPAN/
mv /usr/local/lms/CPAN/Image/Scale.pm /usr/local/lms/CPAN/Image/_Scale.pm
cd /usr/local/lms/
tar xf Scale11.tar -C /usr/local/lms/CPAN/Image/
--------------------
*Note*: credit for instructions are to user Stuarty, I've simply lifted
his method.
The binary probably is called just "faad", not "faad2". Did you search
for that as well? Yes, the resulting file from this method is called
faad. It is the directory that is called faad2, my mistake.
It is not a problem with the build, that succeeds. Is not a problem with
FreeBSD, the build succeeds.
So it might be simply the case then that as you say that 'we don't
include 64 bit binaries for FreeBSD' is the root of the problem.
I'm reading here then therefore that the build is fine, the merge with
CPAN is for other perl modules. That is fine as seen with LMS working.
So once I merge I have missing patched faad binary simply because it's
not included in the CPAN files, nor the LMS files.
So if I'm on the right track, how can I build the logitech patched
version of faad so I can play these files? Can I install the official
faad with
Code:
--------------------
pkg install faad2
--------------------
and get a patch from logitech to go onto it? I've tried building from
the downloaded files ../slimserver-vendor-public-7.9/faad2/ but once the
script to build and install completes, there is no binary created I can
find. The files are here
https://github.com/Logitech/slimserver-vendor/tree/public/7.9/faad2
All help appreciated.
------------------------------------------------------------------------
cookiemonster's Profile: http://forums.slimdevices.com/member.php?userid=42415
View this thread: http://forums.slimdevices.com/showthread.php?t=106222
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter