Hi all
I'm trying to install the slimserver rpm for 6.2.1 on my laptop, running
Mandriva 2006.0. It's not working, so far. I had similar problems when I
installed an older version on Mandriva 2005LE, but I guess I managed to
solve it that time...
The problem I see in /tmp/slimserver.log is:
"Can't locate auto/DBI/connect.al in @INC" (...)
/usr/local/slimserver/Slim/DataStores/DBI/DataModel.pm line 147
which is:
$dbh = DBI->connect($source, $username, $password, {
RaiseError => 1,
AutoCommit => 0,
PrintError => 1,
Taint => 1,
RootClass => "DBIx::ContextualFetch"
});
I tried adding perl module packages from Mandriva and using cpan directly,
but either there something else or I haven't found the right package yet.
Any idea on how to solve this?
If it is a module problem, I wonder why the correct module packages are not
listed in the dependencies of the RPM, it shouldn't be difficult to add all
te perl-... packages to make it work out of the box?
TIA
Simon
Results 1 to 9 of 9
-
2005-11-18, 03:54 #1
- Join Date
- May 2005
- Posts
- 20
problem installing 6.2.1 on Mandriva 2006.0
-
2005-11-18, 04:37 #2Robin BowesGuest
problem installing 6.2.1 on Mandriva 2006.0
Simon Oosthoek said the following on 18/11/2005 10:54:
> Hi all
>
> I'm trying to install the slimserver rpm for 6.2.1 on my laptop, running
> Mandriva 2006.0. It's not working, so far. I had similar problems when I
> installed an older version on Mandriva 2005LE, but I guess I managed to
> solve it that time...
>
> The problem I see in /tmp/slimserver.log is:
> "Can't locate auto/DBI/connect.al in @INC" (...)
> /usr/local/slimserver/Slim/DataStores/DBI/DataModel.pm line 147
>
> which is:
> $dbh = DBI->connect($source, $username, $password, {
> RaiseError => 1,
> AutoCommit => 0,
> PrintError => 1,
> Taint => 1,
> RootClass => "DBIx::ContextualFetch"
> });
>
> I tried adding perl module packages from Mandriva and using cpan directly,
> but either there something else or I haven't found the right package yet.
>
> Any idea on how to solve this?
>
> If it is a module problem, I wonder why the correct module packages are not
> listed in the dependencies of the RPM, it shouldn't be difficult to add all
> te perl-... packages to make it work out of the box?
This might be of use to you.
I don't run Mandriva - I did the install documented on the following
page just to see what was required to get it to work;
http://wiki.slimdevices.com/index.cg...ivaLinuxLE2005
R.
--
http://robinbowes.com
If a man speaks in a forest,
and his wife's not there,
is he still wrong?
-
2005-11-18, 06:41 #3
- Join Date
- May 2005
- Posts
- 20
problem installing 6.2.1 on Mandriva 2006.0
On Fri, Nov 18, 2005 at 11:37:11AM +0000, Robin Bowes wrote:
> Simon Oosthoek said the following on 18/11/2005 10:54:
> > Hi all
> >
> > I'm trying to install the slimserver rpm for 6.2.1 on my laptop, running
> > Mandriva 2006.0. It's not working, so far. I had similar problems when I
> > installed an older version on Mandriva 2005LE, but I guess I managed to
> > solve it that time...
>
> This might be of use to you.
>
> I don't run Mandriva - I did the install documented on the following
> page just to see what was required to get it to work;
>
> http://wiki.slimdevices.com/index.cg...ivaLinuxLE2005
>
Thanks, that worked for me, just running the buildmodules script was enough
on top of what I'd already done before to try and get it working.
I suppose this is not the most convenient way to install slimserver, I do
hope some people are working on improving the "working out of the box" thing
for rpm packages!
Cheers
Simon
-
2005-11-18, 07:40 #4Robin BowesGuest
problem installing 6.2.1 on Mandriva 2006.0
Simon Oosthoek said the following on 18/11/2005 13:41:
> On Fri, Nov 18, 2005 at 11:37:11AM +0000, Robin Bowes wrote:
>
>>Simon Oosthoek said the following on 18/11/2005 10:54:
>>
>>>Hi all
>>>
>>>I'm trying to install the slimserver rpm for 6.2.1 on my laptop, running
>>>Mandriva 2006.0. It's not working, so far. I had similar problems when I
>>>installed an older version on Mandriva 2005LE, but I guess I managed to
>>>solve it that time...
>>
>>This might be of use to you.
>>
>>I don't run Mandriva - I did the install documented on the following
>>page just to see what was required to get it to work;
>>
>>http://wiki.slimdevices.com/index.cg...ivaLinuxLE2005
>>
>
>
> Thanks, that worked for me, just running the buildmodules script was enough
> on top of what I'd already done before to try and get it working.
>
> I suppose this is not the most convenient way to install slimserver, I do
> hope some people are working on improving the "working out of the box" thing
> for rpm packages!
Simon,
It works fine on other platforms.
I'm not sure why the modules are not present on the Mandrake/Mandriva
platform.
R.
--
http://robinbowes.com
If a man speaks in a forest,
and his wife's not there,
is he still wrong?
-
2005-11-21, 17:08 #5
- Join Date
- May 2005
- Posts
- 20
problem installing 6.2.1 on Mandriva 2006.0
On Fri, Nov 18, 2005 at 02:40:30PM +0000, Robin Bowes wrote:
> Simon Oosthoek said the following on 18/11/2005 13:41:
> > On Fri, Nov 18, 2005 at 11:37:11AM +0000, Robin Bowes wrote:
> >
> >>Simon Oosthoek said the following on 18/11/2005 10:54:
> >>
> >>>Hi all
> >>>
> >>>I'm trying to install the slimserver rpm for 6.2.1 on my laptop, running
> >>>Mandriva 2006.0. It's not working, so far. I had similar problems when I
> >>>installed an older version on Mandriva 2005LE, but I guess I managed to
> >>>solve it that time...
> >>
> It works fine on other platforms.
>
> I'm not sure why the modules are not present on the Mandrake/Mandriva
> platform.
>
Someone on the Mandriva Cooker list thought it might have something to
do with the dropping of threading support in perl on Mandriva. It was
considered unstable and nobody complained at the time. I'd never have
linked it to this problem, since I have no experience with threaded perl
and I didn't even know slimserver was using that... (is it???)
Cheers
Simon
-
2006-01-22, 07:47 #6
- Join Date
- Jan 2006
- Posts
- 3
Packaging for Mandriva
Some of these problems seem to be dependency issues, don't they? Would it be appropriate to try to fix them by adding a slightly-modified spec file for Mandriva so that Mandriva-specific RPMs could be built? Possibly handled through Mandriva's "contrib" repository?
I'm not a huge expert on this, but I have built a couple of Mandriva RPMs, and would be willing to help.
-
2006-01-22, 08:14 #7
- Join Date
- Apr 2005
- Posts
- 8,410
The slimserver rpm ships with prebuilt modules for the perl achitecture:
i386-linux-thread-multi
This used to work fine (I seem to remember with Mandrake), but with recent Mandrake/Mandravia the architecure for the default perl is:
i386-linux
Hence to run on Mandravia you need to run the build script to rebuild the shipped modules for the architecture i386-linux.
You will probably get different error messages depending on how many of the slim shipped modules you already have installed elsewhere.
Adrian
-
2006-02-01, 23:52 #8
- Join Date
- Dec 2005
- Posts
- 69
Hi Robert,
Is it possible to create a rpm for Mandriva 2006? I am really frustrated to the installation.
Originally Posted by Robert Goldman
-
2006-02-02, 04:01 #9
Hi hkfind... Try the following (streamlined from Robin Bowes' excellent wiki entry - thanks Robin!):
Install Mandriva Linux 2005 or 2006 version. Use the Mandrake Control Centre to install the latest updates.
Go to the easyurpmi site here to get the latest sources for your chosen version. Section 1 is already set for 2006 so go straight to section 2. Though you can use the dropdown boxes to select alternative sites, I just left them as is and ticked the source: main and source: update boxes on the Core distribution section. Click on proceed to section 3 whereby you'll get the urpmi coding to use in a later step. For the 2006 version it should look something like this:Code:urpmi.addmedia --update updates ftp://ftp.caliu.info/pub/distribucions/mandrake/official/updates/2006.0/main_updates/ with media_info/hdlist.cz urpmi.addmedia main ftp://ftp.caliu.info/pub/distribucions/mandrake/official/2006.0/i586/media/main with media_info/hdlist.cz
Log in as root (if not already) by using:
Code:su
Once the command prompt returns, download a version of SlimServer by using:
Code:wget http://www.slimdevices.com/downloads/nightly/latest/6.2.2/slimserver-2006_MM_DD-1.noarch.rpm
Once downloaded install it by using:
Code:urpmi slimserver-2006_MM_DD-1.noarch.rpm
Code:urpmi perl-devel
Now see if gcc is installed by using:
Code:urpmi gcc
Now see if libexpat0-devel is available by using:
Code:urpmi libexpat0-devel
Code:cd /usr/local/slimserver/Bin
Code:./build-perl-modules.pl
Code:service slimserver start
Good Luck!Last edited by CavesOfTQLT; 2006-02-02 at 04:03.