Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87

    SBS 7.4 and problems loading modules

    Hi

    I installed the 7.4 tar ball with CPAN.
    Running slimserver.pl with the same options as my 7.3.3 version, I get the following error:


    "The following modules failed to load: EV YAML::Syck GD Sub::Name
    "To download and compile them, please run: /opt/squeezeboxserver-7.4.0-28672/Bin/build-perl-modules.pl EV YAML::Syck GD Sub::Name
    "Exiting..


    As I did install 7.4 with CPAN, I can see EV.pm, GD/ and GD.pm, YAML/syck.pm and Sub/Name.pm in the squeezeboxservers CPAN directory. What is wrong here, do I need to set some additional perl library path?

    Thanks for any help,
    andifor

  2. #2
    Administrator andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396

    SBS 7.4 and problems loadingmodules

    7.4 has a lot of new and updated modules. If you want to run from
    source on a platform we don't directly support, you will need to
    compile them. You may want to look at the vendor/CPAN/buildme.sh
    script too, it's a bit better than build-perl-modules.

    On Sep 29, 2009, at 2:15 PM, andifor wrote:

    >
    > Hi
    >
    > I installed the 7.4 tar ball with CPAN.
    > Running slimserver.pl with the same options as my 7.3.3 version, I get
    > the following error:
    >
    >
    > "The following modules failed to load: EV YAML::Syck GD Sub::Name
    > "To download and compile them, please run:
    > /opt/squeezeboxserver-7.4.0-28672/Bin/build-perl-modules.pl EV
    > YAML::Syck GD Sub::Name
    > "Exiting..
    >
    >
    > As I did install 7.4 with CPAN, I can see EV.pm, GD/ and GD.pm,
    > YAML/syck.pm and Sub/Name.pm in the squeezeboxservers CPAN directory.
    > What is wrong here, do I need to set some additional perl library
    > path?
    >
    > Thanks for any help,
    > andifor


  3. #3
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Thanks, that was fast!

    I'm building them now... but how should I build GD on a server? Dependency asks for Xpm and X11, but I don't run X11 on my server... :-?

    And I can install YAML::Syck but I still have the "modules failed" error on this module.

  4. #4
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Quote Originally Posted by andifor View Post
    And I can install YAML::Syck but I still have the "modules failed" error on this module.
    The old trick of renaming the squeezebox/CPAN/YAML/Syck.pm did work here. But I think, I have to install X server to compile GD... :-(

  5. #5
    Administrator andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396

    SBS 7.4 and problems loadingmodules

    For GD you should use buildme.sh, it builds all the dependencies needed.

    On Sep 29, 2009, at 2:36 PM, andifor wrote:

    >
    > Thanks, that was fast!
    >
    > I'm building them now... but how should I build GD on a server?
    > Dependency asks for Xpm and X11, but I don't run X11 on my server...
    > :-?
    >
    > And I can install YAML::Syck but I still have the "modules failed"
    > error on this module.



  6. #6
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Quote Originally Posted by andyg View Post
    For GD you should use buildme.sh, it builds all the dependencies needed.
    The only shell script I found is Bin/build-perl-modules.pl. I'll try that one.

  7. #7
    Administrator andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396

    SBS 7.4 and problems loadingmodules


  8. #8
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Quote Originally Posted by andifor View Post
    The only shell script I found is Bin/build-perl-modules.pl. I'll try that one.
    Gosh... silly me :-)

    Where do I get this buildme.sh??

  9. #9
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Quote Originally Posted by andyg View Post
    Ok, I compiled and installed all the needed dependencies for GD. Now, I have to update some of the other modules...

    Still I'm surprised I have to update some modules like DBI, HTML::Parser, or JSAN::XS. Are these all binary modules? Anyway, I let you know about my success :-)

  10. #10
    Member
    Join Date
    Mar 2008
    Location
    Zürich/Switzerland
    Posts
    87
    Quote Originally Posted by andifor View Post
    Ok, I compiled and installed all the needed dependencies for GD. Now, I have to update some of the other modules...

    Still I'm surprised I have to update some modules like DBI, HTML::Parser, or JSAN::XS. Are these all binary modules? Anyway, I let you know about my success :-)

    No success :-(

    Did you change the database backend?


    [09-09-29 21:26:21.3574] Slim::Schema::Storage::throw_exception (82) Error: DBI Connection failed: DBI connect('hostname=127.0.0.1;port=9092;database=sli mserver','slimserver',...) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /opt/squeezeboxserver-7.4.0-28672/CPAN/DBIx/Class/Storage/DBI.pm line 950

    + some backtraces, should I post them? Do you have time for analysis?

    Thanks so far!
    andifor

Posting Permissions

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