I modified the buildme.sh script and finally I got it to complete the
build.
I have an openSUSE-12.2 64 bit installation.

I was not able to compile Class-XSAccessor-1.05.tar.gz and
YAML-LibYAML-0.35.tar.gz,
so I replaced the packages with newer versions, which I found via
http://search.cpan.org/
( Class-XSAccessor-1.14.tar.gz and YAML-LibYAML-0.38.tar.gz )

Form jarome's prereqiusites I did:
- install nasm using zipper or yast2
- install the C development tools 

I did not install any missing perl modules using cpan, as there did not
seem to miss any.
I also cannot remember to install "perl" explicitly, but there are some
perl packages on my machine, maybe as a requirement from other
packages.
Installing a text editor is mandatory (I prefer Kate ;-)

I downloaded the latest nightly
logitechmediaserver-7.8.0-0.1.1350572233.noarch.rpm
and installed it with "rpm -iv
logitechmediaserver-7.8.0-0.1.1350572233.noarch.rpm"

I got the CPAN directory (with wget) from
http://svn.slimdevices.com/repos/slim/7.8/trunk/vendor/CPAN
I copied the Class-XSAccessor-1.14.tar.gz and YAML-LibYAML-0.38.tar.gz
into the CPAN directory.
Then I modified the buildme.sh until it compiled successfully. It is
attached as buildme.sh.txt, as ".sh" is not allowed as attachment
extension.

After the compile finished, I copied the CPAN/build/arch/5.16 directory
to /usr/share/squeezeboxserver/CPAN/arch/5.16

Then I started the squeezeboxserver with
/usr/bin/perl /usr/libexec/squeezeboxserver --daemon
--prefsdir=/var/lib/squeezeboxserver/prefs
--logdir=/var/log/squeezeboxserver
--cachedir=/var/lib/squeezeboxserver/cache --charset=utf8
which is the command that 
/etc/rc.d/squeezeboxserver start
calls.

The output on the comsole was:

defined(@array) is deprecated at
/usr/share/squeezeboxserver/CPAN/Class/Inspector.pm line 124.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at
/usr/share/squeezeboxserver/CPAN/Log/Log4perl/Config.pm line 840.
(Maybe you should just omit the defined()?)
NOTE: Class::XSAccessor 1.05+ not found, install it for better
performance
defined(@array) is deprecated at
/usr/lib/perl5/vendor_perl/5.16.0/Slim/Player/SB1SliMP3Sync.pm line
146.
(Maybe you should just omit the defined()?)
[12-10-28 16:54:41.4118] main::init (354) Starting Logitech Media Server
(v7.8.0, 1350572233, Wed Oct 24 04:23:28 MDT 2012) perl 5.016000
defined(@array) is deprecated at
/usr/share/squeezeboxserver/CPAN/Log/Log4perl/Config.pm line 840.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at
/usr/share/squeezeboxserver/CPAN/Class/Inspector.pm line 124.
(Maybe you should just omit the defined()?)
NOTE: Class::XSAccessor 1.05+ not found, install it for better
performance

The web page on localhost:9000 worked.
I skipped the mysqueezebox.com login and selected the music and playlist
directories.
The initial setup completed and the music scan started.
The scan completed and my music appeared in the web interface.

I used a SB3 to connect with the new squeezeboxserver.
The menu on the SB3 appears and scrolling through the menu works.
When I try to play a title, I only get two underscores on the SB3
display on the last two digits.
No music.
Going back to the menu works without problems.

scanner.log and server.log are attached.

I don't know anything about perl, does anybody has an idea what is wrong
with
NOTE: Class::XSAccessor 1.05+ not found, install it for better
performance
on startup (where is the reference to that particular version)
and with the errors when trying to play a title
Can't modify non-lvalue subroutine call...


+-------------------------------------------------------------------+
|Filename: scanner.log                                              |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13895|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
cajus's Profile: http://forums.slimdevices.com/member.php?userid=16872
View this thread: http://forums.slimdevices.com/showthread.php?t=96492

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to