I've been running LMS 7.8 on every perl version from 5.20 to 5.30 for
the last 6 years. I suspect you got the NoCPAN version and build the
required modules to match your target system? What this will lead to is
version conflicts with the noarch modules that are still supplied in the
NoCPAN version and the corresponding .so files in your regular perl
tree. To fix this you should delete *every* instance of files residing
in logitechmediaserver/CPAN for which a matching module (and its .so
arch dependant companion) exists in your main system. There's one
exception: do not touch logitechmediaserver/CPAN/DBIx because LMS has a
strict dependency on the supplied version 1.8.2.
In my install/postconfig script I use the following code snippet to do
this:
Code:
--------------------
MY_PERL_VENDORPATH=$(LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" perl
-V | grep vendorarch | sed "s/^.*vendorarch=//" | sed "s/ .*$//g")
cd ${MY_PERL_VENDORPATH}
find -type f | sed "s/^\.\///" | grep -v "/CPAN/DBIx/" | while read file; do
if [ -f ${ROOT}${BINDIR}/CPAN/${file} ]; then
rm -v ${ROOT}${BINDIR}/CPAN/${file}
fi
done
cd - &>/dev/null
# delete empty directories in LMS path
cd ${ROOT}${BINDIR}
MY_SEARCHDEPTH=5
while [ ${MY_SEARCHDEPTH} -gt 0 ]; do
find -mindepth ${MY_SEARCHDEPTH} -maxdepth ${MY_SEARCHDEPTH} -type d -empty
-exec rmdir -v {} \;
MY_SEARCHDEPTH=$((MY_SEARCHDEPTH-1))
done
cd - &>/dev/null
--------------------
Note:
- ROOT is set by the system and would normally be '/'
- BINDIR is where you installed LMS, on my system this is
'/opt/logitechmediaserver'
------------------------------------------------------------------------
gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=113425
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter