Hmm, neither are of much help :(
I downloaded your build of Squeezecenter and replaced mine with it.
I configured everything asin the eiki instructions but when I run ./slimrun I 
get the same old message?

root at myserver:/usr/local/squeezecenter# ./slimrun 
The following modules failed to load: DBD::mysql GD

To download and compile them, please run: 
/usr/local/squeezecenter-7.4-24971/Bin/build-perl-modules.pl DBD::mysql GD

Exiting..
root at myserver:/usr/local/squeezecenter# 


If I try to use CPAN, when I run istall DBD::mysql it doesn't complain about 
't' or 'i386' to me. This is what I get:


cpan[1]> install DBD::mysql                                                     
                                        
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Sat, 14 Feb 2009 02:30:13 GMT
CPAN: YAML loaded ok (v0.68)
Going to read /root/.cpan/build/
............................................................................DONE
Found 25 old builds, restored the state of 24
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.010.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.015)
Checksum for 
/root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.010.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
x DBD-mysql-4.010, 0 bytes, 0 tape blocks
x DBD-mysql-4.010/ChangeLog, 57012 bytes, 112 tape blocks
x DBD-mysql-4.010/constants.h, 1948 bytes, 4 tape blocks
x DBD-mysql-4.010/dbdimp.c, 129026 bytes, 253 tape blocks
x DBD-mysql-4.010/dbdimp.h, 10173 bytes, 20 tape blocks
x DBD-mysql-4.010/eg, 0 bytes, 0 tape blocks
x DBD-mysql-4.010/eg/._bug14979.pl, 82 bytes, 1 tape blocks
x DBD-mysql-4.010/eg/bug14979.pl, 789 bytes, 2 tape blocks
x DBD-mysql-4.010/eg/._bug21028.pl, 82 bytes, 1 tape blocks
x DBD-mysql-4.010/eg/bug21028.pl, 2239 bytes, 5 tape blocks
x DBD-mysql-4.010/eg/bug30033.pl, 868 bytes, 2 tape blocks
x DBD-mysql-4.010/eg/bug30033pg.pl, 456 bytes, 1 tape blocks
x DBD-mysql-4.010/eg/decimal_test.pl, 839 bytes, 2 tape blocks
x DBD-mysql-4.010/eg/issue21946.pl, 848 bytes, 2 tape blocks
x DBD-mysql-4.010/eg/prepare_memory_usage.pl, 450 bytes, 1 tape blocks
x DBD-mysql-4.010/eg/proc_example1.pl, 1053 bytes, 3 tape blocks
x DBD-mysql-4.010/eg/proc_example2.pl, 1418 bytes, 3 tape blocks
x DBD-mysql-4.010/eg/proc_example2a.pl, 1318 bytes, 3 tape blocks
x DBD-mysql-4.010/eg/proc_example2b.pl, 1302 bytes, 3 tape blocks
x DBD-mysql-4.010/eg/proc_example3.pl, 901 bytes, 2 tape blocks
x DBD-mysql-4.010/eg/proc_example4.pl, 1388 bytes, 3 tape blocks
x DBD-mysql-4.010/INSTALL.html, 29285 bytes, 58 tape blocks
x DBD-mysql-4.010/lib, 0 bytes, 0 tape blocks
x DBD-mysql-4.010/lib/Bundle, 0 bytes, 0 tape blocks
x DBD-mysql-4.010/lib/Bundle/DBD, 0 bytes, 0 tape blocks
x DBD-mysql-4.010/lib/Bundle/DBD/mysql.pm, 364 bytes, 1 tape blocks
x DBD-mysql-4.010/lib/DBD, 0 bytes, 0 tape blocks
x DBD-mysql-4.010/lib/DBD/mysql, 0 bytes, 0 tape blocks
x DBD-mysql-4.010/lib/DBD/mysql/GetInfo.pm, 16096 bytes, 32 tape blocks
x DBD-mysql-4.010/lib/DBD/mysql/INSTALL.pod, 22221 bytes, 44 tape blocks
x DBD-mysql-4.010/lib/DBD/mysql.pm, 55489 bytes, 109 tape blocks
x DBD-mysql-4.010/Makefile.PL, 23043 bytes, 46 tape blocks
x DBD-mysql-4.010/Makefile.PL.embedded, 713 bytes, 2 tape blocks
x DBD-mysql-4.010/MANIFEST, 1117 bytes, 3 tape blocks
x DBD-mysql-4.010/MANIFEST.SKIP, 41 bytes, 1 tape blocks
x DBD-mysql-4.010/META.yml, 380 bytes, 1 tape blocks
x DBD-mysql-4.010/myld, 1709 bytes, 4 tape blocks
x DBD-mysql-4.010/mysql.xs, 18454 bytes, 37 tape blocks
x DBD-mysql-4.010/README, 3389 bytes, 7 tape blocks
x DBD-mysql-4.010/t, 0 bytes, 0 tape blocks
x DBD-mysql-4.010/t/00base.t, 811 bytes, 2 tape blocks
x DBD-mysql-4.010/t/10connect.t, 526 bytes, 2 tape blocks
x DBD-mysql-4.010/t/20createdrop.t, 725 bytes, 2 tape blocks
x DBD-mysql-4.010/t/25lockunlock.t, 1510 bytes, 3 tape blocks
x DBD-mysql-4.010/t/29warnings.t, 749 bytes, 2 tape blocks
x DBD-mysql-4.010/t/30insertfetch.t, 1036 bytes, 3 tape blocks
x DBD-mysql-4.010/t/31insertid.t, 1361 bytes, 3 tape blocks
x DBD-mysql-4.010/t/32insert_error.t, 1125 bytes, 3 tape blocks
x DBD-mysql-4.010/t/35limit.t, 1627 bytes, 4 tape blocks
x DBD-mysql-4.010/t/35prepare.t, 3308 bytes, 7 tape blocks
x DBD-mysql-4.010/t/40bindparam.t, 2941 bytes, 6 tape blocks
x DBD-mysql-4.010/t/40bindparam2.t, 1283 bytes, 3 tape blocks
x DBD-mysql-4.010/t/40blobs.t, 2053 bytes, 5 tape blocks
x DBD-mysql-4.010/t/40catalog.t, 10029 bytes, 20 tape blocks
x DBD-mysql-4.010/t/40keyinfo.t, 1327 bytes, 3 tape blocks
x DBD-mysql-4.010/t/40listfields.t, 2142 bytes, 5 tape blocks
x DBD-mysql-4.010/t/40nulls.t, 1125 bytes, 3 tape blocks
x DBD-mysql-4.010/t/40numrows.t, 2056 bytes, 5 tape blocks
x DBD-mysql-4.010/t/40server_prepare.t, 1086 bytes, 3 tape blocks
x DBD-mysql-4.010/t/40server_prepare_error.t, 1224 bytes, 3 tape blocks
x DBD-mysql-4.010/t/40types.t, 2015 bytes, 4 tape blocks
x DBD-mysql-4.010/t/41bindparam.t, 1019 bytes, 2 tape blocks
x DBD-mysql-4.010/t/41blobs_prepare.t, 2251 bytes, 5 tape blocks
x DBD-mysql-4.010/t/42bindparam.t, 978 bytes, 2 tape blocks
x DBD-mysql-4.010/t/50chopblanks.t, 1815 bytes, 4 tape blocks
x DBD-mysql-4.010/t/50commit.t, 3890 bytes, 8 tape blocks
x DBD-mysql-4.010/t/55utf8.t, 2388 bytes, 5 tape blocks
x DBD-mysql-4.010/t/60leaks.t, 4562 bytes, 9 tape blocks
x DBD-mysql-4.010/t/65types.t, 1315 bytes, 3 tape blocks
x DBD-mysql-4.010/t/70takeimp.t, 3216 bytes, 7 tape blocks
x DBD-mysql-4.010/t/71impdata.t, 1329 bytes, 3 tape blocks
x DBD-mysql-4.010/t/75supported_sql.t, 1063 bytes, 3 tape blocks
x DBD-mysql-4.010/t/76multi_statement.t, 2511 bytes, 5 tape blocks
x DBD-mysql-4.010/t/80procs.t, 2591 bytes, 6 tape blocks
x DBD-mysql-4.010/t/lib.pl, 6621 bytes, 13 tape blocks
x DBD-mysql-4.010/t/mysql.dbtest, 1626 bytes, 4 tape blocks
x DBD-mysql-4.010/t/mysql.mtest, 1003 bytes, 2 tape blocks
x DBD-mysql-4.010/TODO, 896 bytes, 2 tape blocks
CPAN: File::Temp loaded ok (v0.21)

  CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.010.tar.gz

Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem 
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't find mysql_config. Use --mysql_config option to specify where 
mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't find mysql_config. Use --mysql_config option to specify where 
mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't find mysql_config. Use --mysql_config option to specify where 
mysql_config is located
Use of uninitialized value $ENV{"USER"} in concatenation (.) or string at 
Makefile.PL line 488.
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 
488.


PLEASE NOTE:

For 'make test' to run properly, you must ensure that the 
database user '' can connect to your MySQL server 
and has the proper privileges that these tests require such 
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others. 

mysql> grant all privileges on test.* to ''@'localhost' identified by 's3kr1t';

You can also optionally set the user to run 'make test' with:

perl Makefile.pl --testuser=username

Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't find mysql_config. Use --mysql_config option to specify where 
mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't find mysql_config. Use --mysql_config option to specify where 
mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't find mysql_config. Use --mysql_config option to specify where 
mysql_config is located
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
Warning: No success on command[/usr/bin/perl Makefile.PL]
  CAPTTOFU/DBD-mysql-4.010.tar.gz
  /usr/bin/perl Makefile.PL -- NOT OK
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Failed during this command:
 CAPTTOFU/DBD-mysql-4.010.tar.gz              : writemakefile NO '/usr/bin/perl 
Makefile.PL' returned status 512

Now, if I go to /usr/local/slimserver and run ./slimrun I get:

root at myserver:/usr/local/slimserver# ./slimrun
The following modules failed to load: DBD::mysql GD

To download and compile them, please run: 
/usr/local/squeezecenter-7.4-24971/Bin/build-perl-modules.pl DBD::mysql GD

Doing this, it tries to get a different version of DBD::mysql:

and says everything is OK:

Downloading DBD-mysql-3.0002.tar.gz to: /var/tmp
Uncompressing..
Configuring..
PERL5LIB=/var/tmp/DBI-1.604/blib/lib:/var/tmp/DBI-1.604/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
Building..
Library for DBD-mysql-3.0002.tar.gz is OK!
All done!


But I get the same error when I run slimrun again :(

Can you please send me a diff of the makefile you are getting the 'i386' errors 
that you had to manually edit. Where is this file located and how are you 
running everything one you edit it.

sorry to be a PITA, but something is different between our setups, I just don't 
know what it is yet.

Cheers m8

ET
-- 
This message posted from opensolaris.org

Reply via email to