==========================================
User slimsrv's env:
==========================================
HZ=
SHELL=/usr/bin/bash
TERM=xterm
MAIL=/var/mail/slimsrv
PATH=/opt/csw/bin:/usr/bin:
PWD=/usr/local/slimserver
LANG=C
TZ=US/Pacific
SHLVL=1
HOME=/usr/local/slimserver
LOGNAME=slimsrv
_=/usr/bin/env


==========================================
Output from Bin Bin/build-perl-modules.pl
==========================================
Welcome to the Slim Devices perl module installer.

These packages are needed for SlimServer 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 -->
Please enter a directory to download files to --> /tmp
Downloads will use lwp to fetch tarballs.

Downloading Compress-Zlib-1.41.tar.gz to: /tmp
Uncompressing..
Configuring..
/usr/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: /tmp
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL

I see you're using perl 5.008008 on i86pc-solaris-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.50.tar.gz is OK!

Downloading DBD-mysql-3.0002.tar.gz to: /tmp
Uncompressing..
Configuring..
PERL5LIB=/usr/local/slimserver/tmp/DBI-1.50/blib/lib:/usr/local/slimserver/tmp/DBI-1.50/blib/arch
/usr/bin/perl Makefile.PL
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 76.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 454.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
There was a problem creating Makefile - exiting!
==========================================

So I guess I'm starting to understand somethings about how Slimserver
finds and uses modules.  I already installed the above missing modules
from blastwave, but Slim prefers to use the ones in its CPAN dir. 
Perhaps it's as simple as the order of appearance in @INC that
determines this.
At any rate, I feel I have a pretty screwed up perl environment now,
but not irreversible. 

I used my old trick again and nuked Slim's Digest modules in the CPAN
dir, and now scanner.pl is working again.  I guess once I have it all
working I should wipe it all out and go for a cleaner install.

So, scanner.pl is working, but I'm not out of the woods yet.  Slim
reports the following problems but continues to operate.  I'm not sure
how these will affect me yet.  Perhaps once the scan is done then I'll
see what's broken.
==========================================
2007-04-14 18:32:52.0001 Aysnc: No DNS servers responded, you may have
trouble with network connections.  Please check your network settings.
2007-04-14 18:32:52.0024 UPnP: Error adding multicast membership, UPnP
may not work properly: Option not supported by protocol
2007-04-14 18:32:52.0026 UPnP: Error setting multicast TTL: Option not
supported by protocol
2007-04-14 18:32:52.3978 commit ineffective with AutoCommit enabled at
/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 706.
2007-04-14 18:32:52.3981 Commmit ineffective while AutoCommit is on at
/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 706.
2007-04-14 18:32:52.3985 ERROR: DBD::mysql::db commit failed: Commmit
ineffective while AutoCommit is on at
/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 706.

2007-04-14 18:32:52.3986 ERROR: Backtrace follows:

2007-04-14 18:32:52.3989 Backtrace:

frame 0: Slim::Schema::throw_exception
(/usr/local/slimserver/CPAN/DBIx/Class/Schema.pm line 606)
frame 1: DBIx::Class::Schema::txn_do
(/usr/local/slimserver/Slim/Music/Import.pm line 241)
frame 2: (eval) (/usr/local/slimserver/Slim/Music/Import.pm line
233)
frame 3: Slim::Music::Import::setIsScanning
(/usr/local/slimserver/Slim/Music/Import.pm line 152)
frame 4: Slim::Music::Import::launchScan
(/usr/local/slimserver/Slim/Control/Commands.pm line 1947)
frame 5: Slim::Control::Commands::wipecacheCommand
(/usr/local/slimserver/Slim/Control/Request.pm line 1483)
frame 6: (eval) (/usr/local/slimserver/Slim/Control/Request.pm line
1483)
frame 7: Slim::Control::Request::execute
(/usr/local/slimserver/Slim/Control/Request.pm line 772)
frame 8: Slim::Control::Request::executeRequest (./slimserver.pl
line 959)
frame 9: main::checkDataSource (./slimserver.pl line 418)
frame 10: main::init (./slimserver.pl line 443)
frame 11: main::main (./slimserver.pl line 1071)
==========================================
I don't know why it complains about no DNS servers.  Name resolution
works fine.  Maybe it's trying to ping the servers in /etc/resolv? 
That would fail, since Solaris puts ping in /usr/sbin.  I'll fiddle
with the path and see if that's it.

Thanks again. Getter closer bit by bit.


-- 
Friedmutant
------------------------------------------------------------------------
Friedmutant's Profile: http://forums.slimdevices.com/member.php?userid=10935
View this thread: http://forums.slimdevices.com/showthread.php?t=34014

_______________________________________________
unix mailing list
[EMAIL PROTECTED]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to