Can anyone help me please. I am a real novice at linux and unslung and am trying to get slimserver installed on a Nslu2. When i run the build-perl-modules.pl I get the following PERL_UNUSED_DECL error.
# /usr/local/SlimServer_v6.3.1/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) - ->
Couldn't find a valid SlimServer path. Exiting.
# pwd
/root
# cd /usr/local/SlimServer_v6.3.1
# /usr/local/SlimServer_v6.3.1/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 a directory to download files to -->
Downloads will use lwp to fetch tarballs.
Downloading Compress-Zlib-1.33.tar.gz to: /usr/local/SlimServer_v6.3.1
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: /usr/local/SlimServer_v6.3.1
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL
I see you're using perl 5.008008 on armv5b-softfloat-linux, 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..
In file included from DBIXS.h:31,
from DBI.xs:12:
dbipport.h:227:1: warning: "PERL_UNUSED_DECL" redefined
In file included from DBIXS.h:19,
from DBI.xs:12:
/opt/lib/perl5/5.8.8/armv5b-linux/CORE/perl.h:163:1: warning: this is the location of the previous definition
DBI.xs: In function `dbih_clearcom':
DBI.xs:1129: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1273: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1444: warning: unused variable `Perl___notused'
DBI.xs:1353: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_attr_k':
DBI.xs:1578: warning: unused variable `Perl___notused'
make: *** [DBI.o] Interrupt
Results 1 to 2 of 2
-
2006-09-08, 02:41 #1Junior Member
- Join Date
- Sep 2006
- Posts
- 2
SlimServer_v6.3.1 build-perl-modules
-
2006-09-12, 01:30 #2Junior Member
- Join Date
- Sep 2006
- Posts
- 2
SlimServer_v6.3.1 build-perl-modules
Re-ran this code today and all worked with a few warnings.

Reply With Quote
