PDA

View Full Version : Problems installing on Mandrake LE 2005



Chris Marr
2005-04-17, 19:24
Hi there,

I have just built a new system and installed Mandrake (Mandriva) LE 2005 and I'm having problems reinstalling Slimserver.

When starting from the command line I get the following error:

[root@maincomp chris]# /usr/local/slimserver/slimserver.pl
The following modules failed to load: DBD::SQLite XML::Parser

To download and compile them, please run: /usr/local/slimserver/Bin/build-perl-modules.pl

Can't locate auto/DBI/connect.al in @INC (@INC contains: /usr/local/slimserver/Plugins /usr/local/slimserver /usr/local/slimserver/CPAN /usr/local/slimserver/CPAN/arch/5.8.6/i386-linux /usr/local/slimserver/CPAN/arch/5.8.6/i386-linux/auto /usr/local/slimserver/CPAN/arch/5.8/i386-linux /usr/local/slimserver/CPAN/arch/5.8/i386-linux/auto /usr/local/slimserver/CPAN/arch/i386-linux/usr/lib/perl5/5.8.6/i386-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i386-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl .) at /usr/local/slimserver/Slim/DataStores/DBI/DataModel.pm line 106

Then when trying to run /usr/local/slimserver/Bin/build-perl-modules.pl I get this error:

Welcome to the Slim Devices perl module installer.

These packages are needed for SlimServer 6 to function.
You will need a C compiler (gcc), make, and perl installed.

*** Ignore any warnings about AppConfig. ***

Please enter a perl binary to use (defaults to /usr/bin/perl)
This must be the same perl binary that you ran this program with --> /usr/bin/perl
Please enter the path to your SlimServer directory (ex: /usr/local/slimserver) --> /usr/local/slimserver
Please enter a directory to download files to --> /home/chris/tmp
Downloads will use lwp to fetch tarballs.

Downloading Compress-Zlib-1.33.tar.gz to: /home/chris/tmp
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL
Up/Downgrade complete.
Building..
make: *** No rule to make target `/usr/lib/perl5/5.8.6/i386-linux/CORE/EXTERN.h', needed by `Zlib.o'. Stop.
Couldn't find a valid dynamic library for Compress-Zlib-1.33.tar.gz - something is wrong. Exiting!

I'm trying to install 2005_04_17-1 from the /downloads/nightly/latest/6.1 branch.

Any help would be appreciated.

Thanks, Chris.

Jack Coates
2005-04-18, 10:26
Chris Marr wrote:
....
> Downloading Compress-Zlib-1.33.tar.gz to: /home/chris/tmp
> Uncompressing..
> Configuring..
> /usr/bin/perl Makefile.PL
> Up/Downgrade complete.
> Building..
> make: *** No rule to make target
> `/usr/lib/perl5/5.8.6/i386-linux/CORE/EXTERN.h', needed by `Zlib.o'.
> Stop.
> Couldn't find a valid dynamic library for Compress-Zlib-1.33.tar.gz -
> something is wrong. Exiting!
>
> I'm trying to install 2005_04_17-1 from the
> /downloads/nightly/latest/6.1 branch.
>
> Any help would be appreciated.
>
> Thanks, Chris.
>
>

doesn't look like you've got a full devel environment. Try:

urpmi gcc
urpmi perl-devel

Then,

urpmf EXTERN.h

and urpmi the package that it points to.

--
Jack at Monkeynoodle dot Org: It's a Scientific Venture...
Riding the Emergency Third Rail Power Trip since 1996!

Chris Marr
2005-04-18, 14:06
But I still have a few problems.

OK, installed perl-devel
GCC already installed
urpmf EXTERN.h returns
perl-devel:/usr/lib/perl5/5.8.6/i386-linux/CORE/EXTERN.h

I'm not sure what package that points to.

/usr/local/slimserver/Bin/build-perl-modules.pl starts building OK but when it gets to:

Downloading XML-Parser-2.34.tar.gz to: /home/chris/tmp
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL
Building..
it returns a whole bunch of errors ending in:

Couldn't find a valid dynamic library for XML-Parser-2.34.tar.gz - something is wrong. Exiting!

Jack Coates
2005-04-18, 14:18
Chris Marr wrote:
> But I still have a few problems.
>
> OK, installed perl-devel
> GCC already installed
> urpmf EXTERN.h returns
> perl-devel:/usr/lib/perl5/5.8.6/i386-linux/CORE/EXTERN.h
>
> I'm not sure what package that points to.
>

Look to the left of the colon. It refers to perl-devel.

> /usr/local/slimserver/Bin/build-perl-modules.pl starts building OK but
> when it gets to:
>
> Downloading XML-Parser-2.34.tar.gz to: /home/chris/tmp
> Uncompressing..
> Configuring..
> /usr/bin/perl Makefile.PL
> Building..
> it returns a whole bunch of errors ending in:
>
> Couldn't find a valid dynamic library for XML-Parser-2.34.tar.gz -
> something is wrong. Exiting!
>
>

That's the least useful of the errors... it says that it couldn't build
XML-Parser. You want to look a line or two above it, where it will say
that it can't find something. Then you urpmf what it can't find so you
can learn what package it's in. Then you urpmi the package. Then you try
again.

--
Jack at Monkeynoodle dot Org: It's a Scientific Venture...
Riding the Emergency Third Rail Power Trip since 1996!

Dan Sully
2005-04-18, 14:42
* Jack Coates shaped the electrons to say...

>That's the least useful of the errors... it says that it couldn't build
>XML-Parser. You want to look a line or two above it, where it will say
>that it can't find something. Then you urpmf what it can't find so you
>can learn what package it's in. Then you urpmi the package. Then you try again.

You'll need libexpat-devel or something similar, I don't know what the Mandrake name is.

-D
--
It's the wrong trousers Gromit, and they've gone wrong!

Chris Marr
2005-04-18, 14:45
the problem was libexpat0-devel. Once I installed that the build ran fine.

Slimserver is up and running.

Thank you very much for your help.
Chris.

Richard Atkinson
2005-05-29, 06:52
Hello,
I'm also running Mandriva 2005 LE and trying to install slimserver
6.0.2-1.noarch.rpm.

I get as far as running
"/usr/local/slimserver/Bin/build-perl-modules.pl" which downloads and
tries to install "Compress-Zlib-1.33.tar.gz" ... but fails with the
error message:

make: *** No rule to make target
`/usr/lib/perl5/5.8.6/i386-linux/CORE/EXTERN.h', needed by `Zlib.o'.
Stop.
Couldn't find a valid dynamic library for Compress-Zlib-1.33.tar.gz -
something is wrong. Exiting!

I read through the archived thread from April which describes using
urpmf and urpmi to locate and install the missing components. I then
did these in order as suggested.

I also ran urpmi libexpat0-devel, which installed ok, but I still get
the same error message missing EXTERN.h ... true enough, I don't have
the file.

if I "urpmf EXTERN.h" nothing gets returned, just a prompt...

Am sorry realise this is a perl problem strictly speaking, but
googling my problem brought me here.

thanks very much

- richard

Dan Sully
2005-05-29, 07:14
* Richard Atkinson shaped the electrons to say...

>I also ran urpmi libexpat0-devel, which installed ok, but I still get
>the same error message missing EXTERN.h ... true enough, I don't have
>the file.
>
>if I "urpmf EXTERN.h" nothing gets returned, just a prompt...

Try installing a libperl-dev or perl-dev package.

-D
--
On second thought, let's not go to Camelot. It is a silly place.

Richard Atkinson
2005-05-29, 07:22
Hi Dan, thanks for getting back so very quickly!

> Try installing a libperl-dev or perl-dev package.

I ran: "urpmi perl-dev", which returns:
"The package(s) are already installed"

"uprmi libperl-dev" returns
"no package named libperl-dev"

- rich

Triode
2005-05-29, 07:44
Looks to me that perl-devel includes EXTERN.h

The exact version I have is: perl-devel-5.8.6-6.1.102mdk

As of this weekend I am on Mandriva 2005 LE and the slim build script worked fine.

Richard Atkinson
2005-05-30, 02:44
Fixed... thanks to your guidance.

The knowledge that EXTERN.h is in perl-devel led me to some more
focused googling. And something turned up here:
http://kb.atmail.com/view_article.php?num=224

I downloaded the correct rpm for a fresh Mandriva LE2005 from:

ftp://ftp.sunet.se/pub/Linux/distributions/pub/Linux/distributions/mandrakelinux/official/10.2/i586/media/main/perl-devel-5.8.6-6mdk.i586.rpm

and ran the command: rpm -Uvh perl-devel-5.8.6-6.1.102mdk.i586.rpm

after this: /usr/local/slimserver/Bin/build-perl-modules.pl

worked flawlessly.

thanks much for your help, would still be struggling without you.

Would like to point out that so far Mandrake LE 2005 has impressed me
hugely, as has Slimserver.

Cheers

- richard

wyleu
2005-06-20, 04:29
ftp://ftp.sunet.se/pub/Linux/distributions/pub/Linux/distributions/mandrakelinux/official/10.2/i586/media/main/perl-devel-5.8.6-6mdk.i586.rpm


This isn't there anymore

try :http://rpm.pbone.net/index.php3/stat/4/idpl/1866547/com/perl-devel-5.8.6-6mdk.i586.rpm.html

which has lots of them.

It worked for me

./build-perl-modules.pl

did what it's supposed to and ps -e | grep slimserv

sees a working server.

Thank you

thomasmagnum
2005-06-24, 00:56
I have exactly the same message when i check the slimserver status, slimserver "arreté" in english stop.
So i' ve download the perl-devel rpm
But i could not install it, there is a message about signature V3 DSA and a key and perl =2.5.8.6-6.1.102mdk is required

Note: this linux machine is not connected on the net,i use window at work to send this message.
I run mandriva 10.2.
I previously install mandrake 9.2 and slimserver was running perfectly, but i could'nt install my wifi pci with ndiswrapper.
I' ve googled all the net to find information, but i'm completly lost. Help. S.O.S.

I also run all the command in root mode, because the main user account can not run command like urpmi in the console, is that a problem?

rpgoldman@real-time.com
2005-06-24, 09:25
>>>>> "tm" == thomasmagnum <thomasmagnum.1r4f9z (AT) no-mx (DOT) forums.slimdevices.com> writes:

tm> I have exactly the same message when i check the slimserver status,
tm> slimserver "arreté" in english stop.
tm> So i' ve download the perl-devel rpm
tm> But i could not install it, there is a message about signature V3 DSA
tm> and a key and perl =2.5.8.6-6.1.102mdk is required

It seems to me that you've probably pulled a perl-devel rpm that
corresponds to a version of perl that does not agree with the one that
is currently installed. Also, for some reason it seems like you can't
get the package's integrity verified. What happens when you do

rpm --checksig <perl-devel-rpm-filename>

?

tm> Note: this linux machine is not connected on the net,i use window at
tm> work to send this message.

Ouch. That certainly makes it more difficult. But you should be able
to simply use rpmdrake (system -> configuration -> configure your
computer -> software management) to install perl-devel. Doing this by
hand-downloading the file, etc. is going to be much harder! When you
ask to install perl-devel, rpmdrake should prompt you to install the
CD (or DVD) from which it will read the rpm, and you should be fine.


tm> I also run all the command in root mode, because the main user account
tm> can not run command like urpmi in the console, is that a
tm> problem?

No that's not a problem. No one except root should run urpmi. and no
one but root should start a daemon (like the slimserver). But for
other purposes you should absolutely not use the root account, because
it makes it far too easy for you to accidentally destroy your system.
By analogy to an automobile, you drive from behind the steering
wheel. There are maintenance actions you do under the hood, reaching
into the motor. But you don't try to drive from down there!

Good luck!

R

thomasmagnum
2005-06-24, 23:36
Hi,

When i check with checksig i've got perl....i586.rpm (SHA1) DSA SHAL md5 (GPG) NOT OK (missing key: GPG#22458A98)

I've download the perl devel rpm from http://rpm.pbone.net/index.php3/stat/4/idpl/1866547/com/perl-devel-5.8.6-6mdk.i586.rpm.html

I've try with the package manager to find the perl-devel and on the cds, i can't locate it. It doesn't seems that i've got it include with this distribution.

I don't kno where to find the appropriate files?

thomasmagnum
2005-06-25, 00:36
I 've download and install the perl-devel-5.8.6mdk.i586 instead of the perl-devel-5.8.6-6.1.102mdk.i586.rpm
it said 100%
So i ran the buidl-modules.pl again
It said " Something looks wrong i couldn't read Compress-Zlib-1.33.tar.gz wich i just downloaded "

thomasmagnum
2005-06-25, 03:17
So i've been good and i've installed what the build-perl-modules.pl asked me with perl Makefile.PL , make, make install

Compress-Zlib-1.33.tar.gz
DBI-1.46.tar.gz
DBD-SQLite-1.08.tar.gz
HTML-Parser-3.45.tar.gz
Template-Toolkit-2.13.tar.gz
AppConfig 1.55.tar.gz (pre required to install Template-Toolkit)

When i run the build-perl-modules.pl every thing works fine but when it comes to Template-Toolkit-2.13 i 've got a message telling me "Couldn't find a valid dynamic library for Template-Toolkit..."

I'm stuck here now.

I've discovered the very useful tab key not to type all the commands, it's very useful.

thomasmagnum
2005-06-25, 04:31
Well i don't know what i've done but i didn't ran the buil-module.. but when i start the slimserver.pl, it seems to works Do i really need to execute the build-perl-modules?
I'll check today with some music files, but i'am aleady happy