You are not logged in.

#1 2008-03-25 20:49:36

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Slimserver broken due to Perl upgrade (i think)

Slimserver will not work after i performed a pacman -Syu. It appears to have something to do with Perl, and as i've seen on the forums this is due to the latest Perl version. Anybody got any idea how i can fix this? I'm totally lost.

root@elvix ~]# /etc/rc.d/slimserver start
:: Starting SlimServer                                                                       [BUSY]
 /usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/YAML/Syck/Syck.so: undefined symbol: Perl_Tstack_sp_ptr

Offline

#2 2008-03-26 05:38:32

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: Slimserver broken due to Perl upgrade (i think)

You should file a bug report.  It looks like it need rebuild for the new perl

Offline

#3 2008-03-26 08:11:57

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Re: Slimserver broken due to Perl upgrade (i think)

Ok. Bug report filed: http://bugs.archlinux.org/task/9968

Last edited by bistrototal (2008-03-26 08:12:15)

Offline

#4 2008-03-27 15:59:53

agentultra
Member
Registered: 2008-02-13
Posts: 13

Re: Slimserver broken due to Perl upgrade (i think)

http://bugs.archlinux.org/task/9927

just do:

pacman -S perl-xml-libxml

Other packages may be affected.

Offline

#5 2008-03-27 18:56:45

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Re: Slimserver broken due to Perl upgrade (i think)

It didn't work. I guess reinstall is my only option.

Last edited by bistrototal (2008-03-27 18:57:00)

Offline

#6 2008-03-28 08:19:53

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: Slimserver broken due to Perl upgrade (i think)

Hi!

bistrototal wrote:

It didn't work. I guess reinstall is my only option.

I would not do that, as it probably wouldn't fix the problem.

Mod_perl breaks down when Perl is upgraded to 5.10*; that's why pacman -Syu appears to cause the problem.

Actually, mod_perl doesn't even compile with Perl 5.10*. Sadly it seems the only thing we can do at the moment is wait until a fixed version of mod_perl is released. It would be great though if someone came up with even just a temporary solution -- the issue is kind of critical.

The same problem is discussed here: http://bbs.archlinux.org/viewtopic.php?id=45976

There's also another bug report here: http://bugs.archlinux.org/task/9928

- Jyri

Last edited by jyrijyri (2008-03-28 08:21:06)

Offline

#7 2008-03-28 11:10:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: Slimserver broken due to Perl upgrade (i think)

Offline

#8 2008-03-28 12:00:54

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: Slimserver broken due to Perl upgrade (i think)

Hi!

makepkg gives me this:

Reading Makefile.PL args from @ARGV
   MP_APXS = /usr/sbin/apxs
[  error] Can't find a sub-directory Apache-Test. Make sure that you are using a complete source distribution
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...

Folder /var/abs/local/mod_perl-svn/src/mod_perl-build/mod_perl/Apache-Test *does* exist and appears to be populated by a bunch of subfolders and files.

I guess this isn't really related to the original problem, but I'd still appreciate it a lot if anyone knows how to get over this latest problem... smile

- Jyri

Offline

#9 2008-03-28 12:30:42

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: Slimserver broken due to Perl upgrade (i think)

Hi again!

First of all: thank you so much Allan for helping us out!

Secondly: I was able to compile and install mod_perl-svn from aur. After building it, I removed Perl itself and all Perl modules I had installed -- from source or with pacman.

The situation is a bit better now: mod_perl seems to be searching modules from the right path.

Still, the module my problems started with (Apache::AuthenIMAP) still doesn't work, even though I did recompile and -install it too.

Now I'm getting this in Apache's error log:

[Fri Mar 28 14:28:39 2008] [error] [client nnn.nnn.nnn.nnn] failed to resolve handler `Apache::AuthenIMAP': Can't locate Apache/Constants.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current/i686-linux-thread-multi /usr/lib/perl5/current /usr/lib/perl5/site_perl/current/i686-linux-thread-multi /usr/lib/perl5/site_perl/current . /etc/httpd) at /usr/share/perl5/site_perl/5.10.0/Apache/AuthenIMAP.pm line 18.\nBEGIN failed--compilation aborted at /usr/share/perl5/site_perl/5.10.0/Apache/AuthenIMAP.pm line 18.\nCompilation failed in require at (eval 2) line 3.\n

Any ideas where to go from here?

My hunch is that now I might be dealing with AuthenIMAP related problem, not a mod_perl problem.

- Jyri

Offline

#10 2008-03-28 12:48:21

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: Slimserver broken due to Perl upgrade (i think)

Ok, good news! smile

I wasn't able to get AuthenIMAP work, but I replaced it with Authen::Simple::POP3 -- and it works ok!

So, apparently there's something in this Perl upgrade process that prevents AuthenIMAP from working, but this is kind of trivial. The most important thing is that the svn version of mod_perl, installed from aur, seems to work fine. As far as I can tell, it fixes the problem that prevented the Extra repository version of mod_perl from working after Perl is upgraded to 5.10.*

- Jyri

Offline

#11 2008-03-30 14:24:33

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Re: Slimserver broken due to Perl upgrade (i think)

I just ran pacman -Syu and Slimserver was upgraded to 6.5.4-2. It works perfectly now.

Offline

Board footer

Powered by FluxBB