Prev: Posting Guidelines for comp.lang.perl.misc ($Revision: 2.0 $)
Next: FAQ 9.2 My CGI script runs from the command line but not the browser. (500 Server Error)
From: Clive on 18 Jun 2010 16:23 Hello, I am not a perl programmer. I am trying to implement a Perl Script, Squeezebox Server (v7.5.0), on a FreeNAS server. the purpose of the script is to provide a SlimNAS / squeezebox server on an existing FreeNAS server so I can use my Logitech "client" to access the mp3 music files held on the FreeNAS Server. The installation is all packaged and documented and the install seems to have completed correctly as documented. See http://www.herger.net/slim/detail.php?nr=1026 Now , the simple problem is I can't get the squeezebox server to run on FreeNAS. It is supposed to work i.e. people have written it works. I have posted lots of diagnostic info on both squeezebox and freenas forums. http://forums.slimdevices.com/showthread.php?t=79395&highlight=clive However, no one on the forum has come up with a solution. I am guessing (and it is a guess) there is some problem running the supplied Perl script(s) on my FreeNAS server. I don't have the technical knowledge to diagnose nor fix the problem. Can anyone suggest where will be a good place (if not here) to go for advice and support? The script (??) puts out diagnostic messages - that may be significant - and maybe to do with the Perl script or have nothign to do with Perl, I just don't know. [10-06-16 21:05:33.2317] main::init (323) Starting Squeezebox Server (v7.5.0, r30464, Thu Apr 1 06:28:42 MDT 2010) perl 5.008009 [10-06-16 21:05:33.2853] main::init (400) Warning: Can't locate UUID/ Tiny.pm in @INC (@INC contains: /mnt/freenasmount/Slimnas/squeezebox/ CPAN/arch/5.8/i386-freebsd-64int /mnt/freenasmount/Slimnas/squeezebox/ CPAN/arch/5.8/i386-freebsd-64int/auto ..... (lots of libraries including one that holds Tiny.pm) Any help to get squeezebox working on FreeNAS will be much appreciated. Clive
From: Ralph Malph on 18 Jun 2010 16:29 > [10-06-16 21:05:33.2317] main::init (323) Starting Squeezebox Server > (v7.5.0, r30464, Thu Apr 1 06:28:42 MDT 2010) perl 5.008009 > [10-06-16 21:05:33.2853] main::init (400) Warning: Can't locate UUID/ > Tiny.pm in @INC (@INC contains: /mnt/freenasmount/Slimnas/squeezebox/ > CPAN/arch/5.8/i386-freebsd-64int /mnt/freenasmount/Slimnas/squeezebox/ > CPAN/arch/5.8/i386-freebsd-64int/auto ..... (lots of libraries > including one that holds Tiny.pm) I have no knowledge of this software you are trying to install but it looks like you need to install some modules from cpan! Read this web page to learn how: http://perl.about.com/od/packagesmodules/qt/perlcpan.htm
From: Henry Law on 18 Jun 2010 16:48 On 18/06/10 21:23, Clive wrote: > The script (??) puts out diagnostic messages - that may be significant > - and maybe to do with the Perl script or have nothign to do with > Perl, I just don't know. > > [10-06-16 21:05:33.2317] main::init (323) Starting Squeezebox Server > (v7.5.0, r30464, Thu Apr 1 06:28:42 MDT 2010) perl 5.008009 > [10-06-16 21:05:33.2853] main::init (400) Warning: Can't locate UUID/ > Tiny.pm in @INC (@INC contains: /mnt/freenasmount/Slimnas/squeezebox/ > CPAN/arch/5.8/i386-freebsd-64int /mnt/freenasmount/Slimnas/squeezebox/ > CPAN/arch/5.8/i386-freebsd-64int/auto ..... (lots of libraries > including one that holds Tiny.pm) Definitely Perl libraries are missing, or are in the wrong place and can't be found. But what you say about Tiny.pm actually being in one of the libraries in the @INC path (like a system path but for Perl modules) suggests some mis-configuration on installation. Have you seen where it says "If you have any questions or problems, don't hesitate to contact me in the Squeezebox Server forums. " at the bottom of the installation page you referred to? Might be better to post there first to eliminate Squeezebox-specific problems and narrow it down to Perl. I googled a bit and I found reference to a "build-perl-modules.pl" script (I know nothing about Squeezebox either) ... maybe there's an extra step in some environments. -- Henry Law Manchester, England
From: Tad McClellan on 18 Jun 2010 17:59 Clive <clive_long(a)yahoo.com> wrote: > The script (??) puts out diagnostic messages - that may be significant > - and maybe to do with the Perl script or have nothign to do with > Perl, I just don't know. > [10-06-16 21:05:33.2853] main::init (400) Warning: Can't locate UUID/ > Tiny.pm in @INC perl cannot find a module (library) that is being called in somewhere. > (@INC contains: /mnt/freenasmount/Slimnas/squeezebox/ > CPAN/arch/5.8/i386-freebsd-64int /mnt/freenasmount/Slimnas/squeezebox/ > CPAN/arch/5.8/i386-freebsd-64int/auto ..... (lots of libraries > including one that holds Tiny.pm) I dunno what that Tiny.pm might be, but it is not the one that is being looked for. It first looks for a *directory* named UUID under one of the listed @INC dirs, then it looks for a file named Tiny.pm inside of that UUID/ directory. -- Tad McClellan email: perl -le "print scalar reverse qq/moc.liamg\100cm.j.dat/" The above message is a Usenet post. I don't recall having given anyone permission to use it on a Web site.
From: Clive on 19 Jun 2010 08:09
{quote= I have no knowledge of this software you are trying to install but it looks like you need to install some modules from cpan! } Maybe but as I wrote the module Tiny.pm is in the search list {quote= I dunno what that Tiny.pm might be, but it is not the one that is being looked for. It first looks for a *directory* named UUID under one of the listed @INC dirs, then it looks for a file named Tiny.pm inside of that UUID/ directory. } Yes, I understand. The INC statement has the following references [10-06-19 09:40:57.7131] main::init (400) Warning: Can't locate UUID/ Tiny.pm in @INC (@INC contains: << Snipped lots of CPAN libraries >> /mnt/freenasmount/Slimnas/squeezebox/CPAN /mnt/freenasmount/Slimnas/squeezebox /usr/local/lib/perl5/5.8.9/BSDPAN << snip /usr/local libraries at /mnt/freenasmount/Slimnas/squeezebox/slimserver.pl line 400. When I look in /mnt/freenasmount/Slimnas/squeezebox/CPAN/UUID library on the FreeNAS server, then module Tiny.pm IS in there so why isn't it being found and loaded? (I'm not sure if found Loaded are the correct Perl terms) {quote= Definitely Perl libraries are missing, or are in the wrong place and can't be found. But what you say about Tiny.pm actually being in one of the libraries in the @INC path (like a system path but for Perl modules) suggests some mis-configuration on installation. } OK but do you have a suggestion where I can look for more info to isolate the problem? {quote= Have you seen where it says "If you have any questions or problems, don't hesitate to contact me in the Squeezebox Server forums. " at the bottom of the installation page you referred to? Might be better to post there first to eliminate Squeezebox-specific problems and narrow it down to Perl. } Yes, as in my first post, I gave the link to my posting of the problem on the squeezebox forum. The author of the script responded (see, in the thread) but since then has not come up with a solution. I have to work on the assumption he can't help me diagnose my particular problem. So, no criticism of him, I'm casting around for others who may have stronger Perl knowledge to help diagnose the problem, which is why I posted here with a link back to the work I have done so far. {quote= I googled a bit and I found reference to a "build-perl-modules.pl" script (I know nothing about Squeezebox either) ... maybe there's an extra step in some environments. } I very much appreciate your comments but you have left me stumped as to what to do next. |