Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35
  1. #11
    Senior Member
    Join Date
    Oct 2010
    Location
    UK
    Posts
    307

    re: Problem during install - patch outdated?

    Quote Originally Posted by feixar View Post
    Hi utgg,

    First of all, a big thanks for the step-by-step walkthrough you've listed here. It's great!

    However, a small update might be required, and I suspect it's related to the patch that's no longer 100% correct. I've followed your manual and something goes wrong during the build. At the end of the process, no 'arch' folder was created. The log gives me the following error message:


    Code:
     
    chmod 755 blib/arch/auto/Linux/Inotify2/Inotify2.so
    cp Inotify2.bs blib/arch/auto/Linux/Inotify2/Inotify2.bs
    chmod 644 blib/arch/auto/Linux/Inotify2/Inotify2.bs
    PERL_DL_NONLAZY=1 /e-data/4aafd256-5c29-47a7-bcb6-c979032c119b/ffproot/ffp/bin/perl5.14.2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/00_load.t ..... 
    t/00_load.t ..... 1/1 
                           
    t/00_load.t ..... ok
    t/01_inotify.t .. 
    t/01_inotify.t .. 1/5 
    #   Failed test 'watch created for directory 26499'
    #   at t/01_inotify.t line 11.
    Can't call method "cancel" on an undefined value at t/01_inotify.t line 27.
    # Looks like you planned 5 tests but ran 4.
    # Looks like you failed 1 test of 4 run.
    # Looks like your test exited with 11 just after 4.
    
                           
    t/01_inotify.t .. Dubious, test returned 11 (wstat 2816, 0xb00)
    Failed 2/5 subtests 
    
    Test Summary Report
    -------------------
    t/01_inotify.t (Wstat: 2816 Tests: 4 Failed: 1)
      Failed test:  2
      Non-zero exit status: 11
      Parse errors: Bad plan.  You planned 5 tests but ran 4.
    Files=2, Tests=5,  1 wallclock secs ( 0.23 usr  0.01 sys +  0.42 cusr  0.03 csys =  0.69 CPU)
    Result: FAIL
    Failed 1/2 test programs. 1/5 subtests failed.
    make: *** [test_dynamic] Error 11
    make test failed, aborting
    root@NSA325-v2:/ffp/funpkg/build/lms-7.9/slimserver-vendor/CPAN# exit
    exit
    
    Script done on Mon Mar  9 08:38:29 2015
    I've repeated the whole process a few times but I always end up here. Any idea what the problem & solution might be?

    Thank you very much in advance!

    Best,

    Koen
    Hi Koen,

    I'm sorry you're having trouble with this. It looks like the build has got a long way through, but that is an odd looking test failure - I've not got any real idea what might have caused that.

    I've just checked, and there was indeed a small change to buildme.sh in the 7.9 branch about two months ago. I've tried the patch on that, and it seems ok to me, however - the patch just reports an offset of 11 lines, but does the correct thing.

    Are you doing this on the 7.9 branch? Could you check the output of:
    diff build-ffp.sh buildme.sh

    It should be something like:
    Code:
    1c1
    < #!/ffp/bin/env bash
    ---
    > #!/usr/bin/env bash
    82c82
    < ARCH=`/ffp/bin/perl -MConfig -le 'print $Config{archname}' | sed 's/gnu-//' | sed 's/^i[3456]86-/i386-/' | sed 's/armv5tejl/arm/' `
    ---
    > ARCH=`/usr/bin/perl -MConfig -le 'print $Config{archname}' | sed 's/gnu-//' | sed 's/^i[3456]86-/i386-/' | sed 's/armv5tejl/arm/' `
    247,250d246
    < if [ -x "/ffp/bin/perl5.14.2" ]; then
    <     PERL_514=/ffp/bin/perl5.14.2
    < fi
    <
    350c346
    <         export MAKE=/ffp/bin/make
    ---
    >         export MAKE=/usr/bin/make
    513,517c509,513
    <             #if [ "$PERL_518" -o "$PERL_520" ]; then
    <             #    build_module DBI-1.628 "" 0
    <             #else
    <             #    build_module DBI-1.616 "" 0
    <             #fi
    ---
    >             if [ "$PERL_518" -o "$PERL_520" ]; then
    >                 build_module DBI-1.628 "" 0
    >             else
    >                 build_module DBI-1.616 "" 0
    >             fi
    651d646
    <             RUN_TESTS=0
    663d657
    <             RUN_TESTS=1

  2. #12
    Junior Member
    Join Date
    Mar 2015
    Posts
    3

    Problem solved!

    Hi utgg,

    I reset my NAS and repeated the whole process. It worked!

    Thanks again for the great tutorial!

    Best regards,

    Koen

  3. #13
    Junior Member
    Join Date
    Jan 2011
    Posts
    2
    Just registering thanks for sharing the walkthrough for LMS 7.9. Working perfectly on my NSA325 V1

  4. #14
    Junior Member
    Join Date
    Dec 2015
    Posts
    2

    Also have nsa 325 good info

    Thanks for sharing this info.
    I also have NSA325 so it'll do another job apart of nas, print server, scanner, minidlna...

  5. #15
    Junior Member
    Join Date
    Jan 2016
    Posts
    1
    Hi,

    Thank you very much for your nice tutorial Installing in a NAS.

    But I have a problem, when starting the Server with /ffp/start/lms.sh start. I get the following error:
    Code:
    The following CPAN modules were found but cannot work with Logitech Media Server:
      Audio::Scan:
    Audio::Scan object version 0.95 does not match bootstrap parameter 0.93 at /ffp/lib/perl5/5.14.2/arm-linux-thread-multi-64int/DynaLoader.pm line 213.
    Compilation failed in require at (eval 44) line 2.
    BEGIN failed--compilation aborted at (eval 44) line 2.
    
      Image::Scale:
    Image::Scale object version 0.11 does not match bootstrap parameter 0.08 at /ffp/lib/perl5/5.14.2/arm-linux-thread-multi-64int/DynaLoader.pm line 213.
    Compilation failed in require at (eval 100) line 2.
    BEGIN failed--compilation aborted at (eval 100) line 2.
    
    
    To fix this problem you have several options:
    1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
    2. Update the module's package using apt-get, yum, etc.
    3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.
    How can I resolve this?

    Thanks in advance!

    Best redards
    Daniel

  6. #16
    Senior Member
    Join Date
    Oct 2010
    Location
    UK
    Posts
    307
    Quote Originally Posted by DannyP View Post
    Hi,

    Thank you very much for your nice tutorial Installing in a NAS.

    But I have a problem, when starting the Server with /ffp/start/lms.sh start. I get the following error:
    Code:
    The following CPAN modules were found but cannot work with Logitech Media Server:
      Audio::Scan:
    Audio::Scan object version 0.95 does not match bootstrap parameter 0.93 at /ffp/lib/perl5/5.14.2/arm-linux-thread-multi-64int/DynaLoader.pm line 213.
    Compilation failed in require at (eval 44) line 2.
    BEGIN failed--compilation aborted at (eval 44) line 2.
    
      Image::Scale:
    Image::Scale object version 0.11 does not match bootstrap parameter 0.08 at /ffp/lib/perl5/5.14.2/arm-linux-thread-multi-64int/DynaLoader.pm line 213.
    Compilation failed in require at (eval 100) line 2.
    BEGIN failed--compilation aborted at (eval 100) line 2.
    
    
    To fix this problem you have several options:
    1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
    2. Update the module's package using apt-get, yum, etc.
    3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.
    How can I resolve this?

    Thanks in advance!

    Best redards
    Daniel
    I don't really know what those error messages actually mean, or how to resolve the problem.

    It is possible that something is broken with the buildme.sh patch now, as I see that there has been a change only 5 days ago. This has included an upgrade from v0.08 to v0.11 of Image::Scale, so that might have something to do with the second error message, but perhaps not the first one about the Audio::Scan error.

    Since the CPAN stuff has been stable for a very long time, I've not attempted to update and rebuild for ages. I'll have a go at updating and see if I can replicate your problem, but it will be a few days before I'll have the time...

  7. #17
    Junior Member
    Join Date
    Mar 2009
    Posts
    11
    Quote Originally Posted by utgg View Post
    Hi Koen,

    I'm sorry you're having trouble with this. It looks like the build has got a long way through, but that is an odd looking test failure - I've not got any real idea what might have caused that.

    I've just checked, and there was indeed a small change to buildme.sh in the 7.9 branch about two months ago. I've tried the patch on that, and it seems ok to me, however - the patch just reports an offset of 11 lines, but does the correct thing.

    Are you doing this on the 7.9 branch? Could you check the output of:
    diff build-ffp.sh buildme.sh

    It should be something like:
    Code:
    1c1
    < #!/ffp/bin/env bash
    ---
    > #!/usr/bin/env bash
    82c82
    < ARCH=`/ffp/bin/perl -MConfig -le 'print $Config{archname}' | sed 's/gnu-//' | sed 's/^i[3456]86-/i386-/' | sed 's/armv5tejl/arm/' `
    ---
    > ARCH=`/usr/bin/perl -MConfig -le 'print $Config{archname}' | sed 's/gnu-//' | sed 's/^i[3456]86-/i386-/' | sed 's/armv5tejl/arm/' `
    247,250d246
    < if [ -x "/ffp/bin/perl5.14.2" ]; then
    <     PERL_514=/ffp/bin/perl5.14.2
    < fi
    <
    350c346
    <         export MAKE=/ffp/bin/make
    ---
    >         export MAKE=/usr/bin/make
    513,517c509,513
    <             #if [ "$PERL_518" -o "$PERL_520" ]; then
    <             #    build_module DBI-1.628 "" 0
    <             #else
    <             #    build_module DBI-1.616 "" 0
    <             #fi
    ---
    >             if [ "$PERL_518" -o "$PERL_520" ]; then
    >                 build_module DBI-1.628 "" 0
    >             else
    >                 build_module DBI-1.616 "" 0
    >             fi
    651d646
    <             RUN_TESTS=0
    663d657
    <             RUN_TESTS=1
    I got the same error. Here's what my diff says:

    # diff build-ffp.sh buildme.sh
    1c1
    < #!/ffp/bin/env bash
    ---
    > #!/usr/bin/env bash
    247,250d246
    < if [ -x "/ffp/bin/perl5.14.2" ]; then
    < PERL_514=/ffp/bin/perl5.14.2
    < fi
    <
    366c362
    < export MAKE=/ffp/bin/make
    ---
    > export MAKE=/usr/bin/make
    671d666
    < RUN_TESTS=0
    683d677
    < RUN_TESTS=1

  8. #18
    Junior Member
    Join Date
    Mar 2009
    Posts
    11

    Share resulting CPAN directory?

    Could somebody who has gotten the CPAN stuff to build correctly share the CPAN file they end up with?

    I still haven't been able to get it to build due to the failing inotify test.

  9. #19
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,700

    ZyXEL NSA325 v2 NAS and LMS

    > I still haven't been able to get it to build due to the failing inotify
    > test.


    You don't need inotify. Try to build without it.

    --
    --

    Michael

  10. #20
    Junior Member
    Join Date
    Mar 2009
    Posts
    11
    Quote Originally Posted by mherger View Post
    > I still haven't been able to get it to build due to the failing inotify
    > test.


    You don't need inotify. Try to build without it.
    Thanks. That got me past the build issue but I'm now running into the Image::Scale version issue mentioned above:

    Code:
    root@NSA310S:/ffp/start# /ffp/start/lms.sh start
    The following CPAN modules were found but cannot work with Logitech Media Server:
      Image::Scale:
    Image::Scale object version 0.11 does not match bootstrap parameter 0.08 at /ffp/lib/perl5/5.14.2/arm-linux-thread-multi-64int/DynaLoader.pm line 213.
    Compilation failed in require at (eval 97) line 2.
    BEGIN failed--compilation aborted at (eval 97) line 2.
    
    
    To fix this problem you have several options:
    1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
    2. Update the module's package using apt-get, yum, etc.
    3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •