The key is to modify the buildme.sh script. I was unsuccessful. Prerequisites:
1. install nasm using zipper or yast2 2. install any missing perl modules using cpan 3. install the C development tools and perl 4. I recommend a nice GUI text editor such as edit (from the OpenSUSE build service) I did everything in my download directory as root (su), or you can use sudo Download the version http://downloads.slimdevices.com/nightly/7.8/sc/520ec9c/logitechmediaserver-7.8.0-1350572233.tgz Untar it #tar -xvf logitechmediaserver-7.8.0-1350572233.tgz The above distribution contains a CPAN/arch directory structure organized by version and platform that should let you see where to put your own built binaries. To get the vendor directory you need to check it out with Subversion: svn co http://svn.slimdevices.com/repos/slim/7.8/trunk/vendor/CPANNow we need to build everything for perl 5.16.0 But the buildme.sh script in the CPAN directory will not work as given since perl is just /usr/bin/perl. I modified the 5.12 part to be: ------------------- # Path to Perl 5.16if [ -x "/usr/bin/perl" ]; then PERL_516=/usr/bin/perl elif [ -x "/usr/local/bin/perl5.12.4" ]; then PERL_512=/usr/local/bin/perl5.12.4 elif [ -x "/usr/local/bin/perl5.12.4" ]; then # Also FreeBSD 8.2 PERL_512=/usr/local/bin/perl5.12.4 elif [ -x "$HOME/perl5/perlbrew/perls/perl-5.12.4/bin/perl5.12.4" ]; then PERL_512=$HOME/perl5/perlbrew/perls/perl-5.12.4/bin/perl5.12.4 elif [ -x "/usr/bin/perl5.12" ]; then # OSX Lion uses this path PERL_516=/usr/bin/perl fi if [ $PERL_516 ]; then echo "Building with Perl 5.16 at $PERL_516" fi # Install dir for 5.16 BASE_516=$BUILD/5.16--------------Then do search and replace to change all 512 to 516 and 5.12 to 5.16 I did not get past running the script, which took a long time, and still failed. If you get past this, Andy says: After running buildme.sh the same arch directory structure is created and just needs to be copied over to the CPAN directory of the above distribution. Maybe someone else can figure this out. ------------------------------------------------------------------------ jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223 View this thread: http://forums.slimdevices.com/showthread.php?t=96492 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
