PDA

View Full Version : slimserver 6.1.1 on Gentoo



zbindere
2005-08-03, 07:16
I am writing an ebuild for gentoo. Until now I have the following problem, after running:
/usr/share/slimserver/Bin/build-perl-modules.pl

I want to start the server and then I get:
The following modules failed to load: DBD::SQLite

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

Can't locate auto/DBI/connect.al in @INC (@INC contains: /usr/share/slimserver/Plugins /usr/share/slimserver /usr/share/slimserver/CPAN /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux-thread-multi /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /usr/share/slimserver/Slim/DataStores/DBI/DataModel.pm line 113

I have the following directories in: /usr/share/slimserver/CPAN/arch/5.8.6/i686-linux-thread-multi/auto
Compress DBD DBI HTML Template Time XML

Why doesn't it work? Do I have to set the @INC variable?

dean
2005-08-03, 07:58
You'll need to do this:

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

On Aug 3, 2005, at 7:16 AM, zbindere wrote:

>
> I am writing an ebuild for gentoo. Until now I have the following
> problem, after running:
> /usr/share/slimserver/Bin/build-perl-modules.pl
>
> I want to start the server and then I get:
> The following modules failed to load: DBD::SQLite
>
> To download and compile them, please run:
> /usr/share/slimserver/Bin/build-perl-modules.pl
>
> Can't locate auto/DBI/connect.al in @INC (@INC contains:
> /usr/share/slimserver/Plugins /usr/share/slimserver
> /usr/share/slimserver/CPAN /etc/perl
> /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi
> /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux-thread-
> multi
> /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at
> /usr/share/slimserver/Slim/DataStores/DBI/DataModel.pm line 113
>
> I have the following directories in:
> /usr/share/slimserver/CPAN/arch/5.8.6/i686-linux-thread-multi/auto
> Compress DBD DBI HTML Template Time XML
>
> Why doesn't it work? Do I have to set the @INC variable?
>
>
> --
> zbindere
>

zbindere
2005-08-03, 23:16
I did the following:
bart slimserver # Bin/build-perl-modules.pl
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 -->
Please enter the path to your SlimServer directory (ex: /usr/local/slimserver) --> /usr/share/slimserver
Please enter a directory to download files to --> /tmp
Downloads will use lwp to fetch tarballs.

Downloading Compress-Zlib-1.33.tar.gz to: /tmp
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL
Up/Downgrade complete.
Building..
Library for Compress-Zlib-1.33.tar.gz is OK!

Downloading DBI-1.46.tar.gz to: /tmp
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL

I see you're using perl 5.008006 on i686-linux-thread-multi, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.

Building..
Library for DBI-1.46.tar.gz is OK!

Downloading DBD-SQLite-1.08.tar.gz to: /tmp
Uncompressing..
Configuring..
PERL5LIB=/tmp/DBI-1.46/blib/lib:/tmp/DBI-1.46/blib/arch /usr/bin/perl Makefile.PL
Building..
Library for DBD-SQLite-1.08.tar.gz is OK!

Downloading HTML-Parser-3.45.tar.gz to: /tmp
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL
Building..
Library for HTML-Parser-3.45.tar.gz is OK!

Downloading Template-Toolkit-2.13.tar.gz to: /tmp
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL TT_DOCS=n TT_SPLASH=n TT_THEME=n TT_EXAMPLES=n TT_EXAMPLES=n TT_EXTRAS=n TT_QUIET=y TT_ACCEPT=y TT_DBI=n TT_LATEX=n

The Template Toolkit requires that the AppConfig module (version 1.55
or later) first be installed. This is used by
the 'ttree' program for reading command line options and configuration
files. It is available from CPAN:

http://www.cpan.org/authors/Andy_Wardley/

Warning: prerequisite AppConfig 1.55 not found.
Building..
Library for Template-Toolkit-2.13.tar.gz is OK!

Downloading Time-HiRes-1.66.tar.gz to: /tmp
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL
Building..
Library for Time-HiRes-1.66.tar.gz is OK!

Downloading XML-Parser-2.34.tar.gz to: /tmp
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL
Building..
Library for XML-Parser-2.34.tar.gz is OK!
All done!

And then:
bart slimserver # ./slimserver
The following modules failed to load: DBD::SQLite

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

Can't locate auto/DBI/connect.al in @INC (@INC contains: /usr/share/slimserver/Plugins /usr/share/slimserver /usr/share/slimserver/CPAN /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux-thread-multi /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /usr/share/slimserver/Slim/DataStores/DBI/DataModel.pm line 113

Any suggestions?