Did read the wiki. Just about memorized it by now. Still having
problems.

Finally reinstalled the OS from scratch. Installed the SUNWgcc.
Installed the Sun Coolstack AMP, which is supposed to be compiled with
gcc. Installed perl 5.8.8 from Sunfreeware, which is compiled with gcc.
Set up mysql. Installed lynx and gnupg. Configured CPAN. Installed
Bundle::DBI, then DBD::mysql (at last!). Ran the
Bin/build-perl-modules.pl, got a fare way along then died with the
message: Couldn't find a valid dynamic library for
Encode-Detect-1.00.tar.gz.

Also messages that it could not load a lynx starter file (forgot the
exact message).

After a reboot I opted to upgrade the CPAN. Did that successfully and
now the build-perl-modules craps out quickly with a bunch of errors:

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

You will need development libraries for MySQL. eg: libmysqlclient

You will need development libraries for expat. eg: libexpat1-dev

*** 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/local/bin/perl
Please enter the path to your SqueezeCenter directory (ex:
/usr/local/slimserver) --> /opt/sc701
Please enter a directory to download files to --> /opt/sc701
Downloads will use lwp to fetch tarballs.

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

Downloading DBI-1.50.tar.gz to: /opt/sc701
Uncompressing..
Configuring..
/usr/local/bin/perl Makefile.PL 

I see you're using perl 5.008008 on i86pc-solaris, 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:
/usr/local/lib/perl5/5.8.8/i86pc-solaris/CORE/perl.h:163:1: warning:
this is the location of the previous definition
DBI.xs: In function `dbih_clearcom':
DBI.xs:1183: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1332: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1514: warning: unused variable `Perl___notused'
DBI.xs:1514: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_attr_k':
DBI.xs:1654: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:2081: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:2971: warning: unused variable `Perl___notused'
Library for DBI-1.50.tar.gz is OK!

Downloading DBD-mysql-3.0002.tar.gz to: /opt/sc701
Uncompressing..
Configuring..
PERL5LIB=/opt/sc701/DBI-1.50/blib/lib:/opt/sc701/DBI-1.50/blib/arch
/usr/local/bin/perl Makefile.PL 
Multiple copies of Driver.xst found in:
/opt/sc701/DBI-1.50/blib/arch/auto/DBI/
/usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris/auto/DBI/ at
Makefile.PL line 727
Building..
In file included from
/opt/sc701/DBI-1.50/blib/arch/auto/DBI/DBIXS.h:31,
from dbdimp.h:20,
from dbdimp.c:20:
/opt/sc701/DBI-1.50/blib/arch/auto/DBI/dbipport.h:227:1: warning:
"PERL_UNUSED_DECL" redefined
In file included from
/opt/sc701/DBI-1.50/blib/arch/auto/DBI/DBIXS.h:19,
from dbdimp.h:20,
from dbdimp.c:20:
/usr/local/lib/perl5/5.8.8/i86pc-solaris/CORE/perl.h:163:1: warning:
this is the location of the previous definition
In file included from
/opt/sc701/DBI-1.50/blib/arch/auto/DBI/DBIXS.h:31,
from dbdimp.h:20,
from mysql.xs:14:
/opt/sc701/DBI-1.50/blib/arch/auto/DBI/dbipport.h:227:1: warning:
"PERL_UNUSED_DECL" redefined
In file included from
/opt/sc701/DBI-1.50/blib/arch/auto/DBI/DBIXS.h:19,
from dbdimp.h:20,
from mysql.xs:14:
/usr/local/lib/perl5/5.8.8/i86pc-solaris/CORE/perl.h:163:1: warning:
this is the location of the previous definition
mysql.xs: In function `XS_DBD__mysql__GetInfo_dbd_mysql_get_info':
mysql.xs:639: warning: ignoring return value of `Perl_newSViv',
declared with attribute warn_unused_result
mysql.xs:642: warning: ignoring return value of `Perl_newSViv',
declared with attribute warn_unused_result
mysql.xs:645: warning: ignoring return value of `Perl_newSVpv',
declared with attribute warn_unused_result
Library for DBD-mysql-3.0002.tar.gz is OK!

Downloading Digest-SHA1-2.11.tar.gz to: /opt/sc701
Uncompressing..
Configuring..
/usr/local/bin/perl Makefile.PL 
Building..
Library for Digest-SHA1-2.11.tar.gz is OK!

Downloading Encode-Detect-1.00.tar.gz to: /opt/sc701
Uncompressing..
Configuring..
/usr/local/bin/perl Makefile.PL 
Building..
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
In file included from
/usr/local/lib/perl5/5.8.8/i86pc-solaris/CORE/perl.h:1195,
from Detector.xs:40:
/usr/include/sys/mode.h:49: error: use of enum `vtype' without previous
declaration
error building lib/Encode/Detect/Detector.o from
'lib/Encode/Detect/Detector.c' at
/usr/local/lib/perl5/site_perl/5.8.8/ExtUtils/CBuilder/Base.pm line
110.
make: Fatal error: Command failed for target `all'
Couldn't find a valid dynamic library for Encode-Detect-1.00.tar.gz -
something is wrong. Exiting!


Any ideas?


-- 
ptoly
------------------------------------------------------------------------
ptoly's Profile: http://forums.slimdevices.com/member.php?userid=18664
View this thread: http://forums.slimdevices.com/showthread.php?t=49633

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to