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 #1Junior Member
- 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 #3Junior Member
- 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 #5Junior Member
- 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 #6Junior Member
- 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 #7Senior Member
- Join Date
- Apr 2005
- Posts
- 6,932
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 #8Member
- 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:Fire up a shell.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:
Using the urpmi coding from above, copy and paste into the shell. Again, leave it to do its thing for a while. You may need to hit the return key to complete the last one as the copy & paste process sometimes fails to pick up the final carriage return.Code:su
Once the command prompt returns, download a version of SlimServer by using:
where MM is the current month, DD the current day. Hit return & let it do its stuff.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:
Now see if perl-devel is available on the system by using:Code:urpmi slimserver-2006_MM_DD-1.noarch.rpm
It'll come back with either perl-devel is already installed, or it will do the install for you.Code:urpmi perl-devel
Now see if gcc is installed by using:
Again, see what the system says...Code:urpmi gcc
Now see if libexpat0-devel is available by using:
Now we should be able to build the perl modules required for SlimServer, so change into the Bin directory using:Code:urpmi libexpat0-devel
and build away using:Code:cd /usr/local/slimserver/Bin
And, fingers crossed, we should be able to start SlimServer with:Code:./build-perl-modules.pl
Don't forget to open the required ports; 3483/tcp, 3483/udp and 9000/tcp using the firewall in Mandrake Control Centre.Code:service slimserver start
Good Luck!Last edited by CavesOfTQLT; 2006-02-02 at 04:03.

Reply With Quote
