[Otto-users] error on songs load-up..
Status: Beta
Brought to you by:
ferguson
|
From: Chris L. <ch...@da...> - 2005-07-05 17:12:40
|
Hi Guys,=20
I=92ve just started with this cool little system and have seemingly got =
everything installed and working ok, that is until I try to load up the =
songs.
I have 1 mp3 (Minnie.mp3) in a folder (/home/mp3) and it errors like =
this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-bash-3.00# /usr/local/otto/bin/otto load
looking for new songs...
minnie
at /usr/local/otto/lib/Otto/DB.pm line 369
Otto::DB::select1Fileunder('Otto::DB=3DHASH(0x3c1f83a8)', =
'fileunder', '') called at /usr/local/otto/lib/Otto/Loader.pm line 264
Otto::Loader::findFileunderID('Otto::Loader=3DHASH(0x3c019258)', =
'') called at /usr/local/otto/lib/Otto/Loader.pm line 197
Otto::Loader::loadSong('Otto::Loader=3DHASH(0x3c019258)', =
'filename', '/home/mp3/minnie.mp3') called at =
/usr/local/otto/lib/Otto/Loader.pm line 165
Otto::Loader::processSong('Otto::Loader=3DHASH(0x3c019258)', =
'filename', '/home/mp3/minnie.mp3') called at =
/usr/local/otto/lib/Otto/Loader.pm line 137
Otto::Loader::processFile('Otto::Loader=3DHASH(0x3c019258)') =
called at /usr/local/otto/lib/Otto/Loader.pm line 112
Otto::Loader::__ANON__() called at =
/usr/libdata/perl5/File/Find.pm line 1113
File::Find::_find_dir_symlnk('HASH(0x3c2167ec)', '/home/mp3', =
'/home/mp3') called at /usr/libdata/perl5/File/Find.pm line 678
File::Find::_find_opt('HASH(0x3c2167ec)', '/home/mp3') called at =
/usr/libdata/perl5/File/Find.pm line 1193
File::Find::find('HASH(0x3c2167ec)', '/home/mp3') called at =
/usr/local/otto/lib/Otto/Loader.pm line 114
Otto::Loader::loadNewSongs('Otto::Loader=3DHASH(0x3c019258)') =
called at /usr/local/otto/lib/Otto/Loader.pm line 58
Otto::Loader::load('Otto::Loader=3DHASH(0x3c019258)', 'channel', =
1) called at /usr/local/otto/lib/Otto/Command.pm line 152
Otto::Command::dispatch('Otto::Command=3DHASH(0x3c00627c)', =
'commandverb', 'load', 'args', 'ARRAY(0x3c011938)') called at =
/usr/local/otto/lib/Otto/Command.pm line 58
Otto::Command::run('Otto::Command=3DHASH(0x3c00627c)', =
'scriptname', '/usr/local/otto/bin/otto', 'args', 'ARRAY(0x3c011938)') =
called at /usr/local/otto/bin/otto line 19
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The only weird part of the installation was that dbd::mysql wasn=92t =
installing using the cpan method.. I get a weird error:
Checking if your kit is complete...
Looks good
Using DBI 1.48 (for perl 5.008005 on i386-openbsd) installed in =
/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBI/ =
-I/usr/local/include/mysql -pthread -DDBD_MYSQL_INSERT_ID_IS_GOOD -g =
-fno-strict-aliasing -pipe -I/usr/local/include -O2 =
-DVERSION=3D\"3.0000\" -DXS_VERSION=3D\"3.0000\" -DPIC -fPIC =
"-I/usr/libdata/perl5/i386-openbsd/5.8.5/CORE" dbdimp.c
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:2748: syntax error before `*'
dbdimp.c:2749: `imp_dbh' undeclared (first use in this function)
dbdimp.c:2749: (Each undeclared identifier is reported only once
dbdimp.c:2749: for each function it appears in.)
dbdimp.c:2752: syntax error before `int'
dbdimp.c:2760: `rc' undeclared (first use in this function)
dbdimp.c:2786: invalid lvalue in assignment
dbdimp.c:2787: `fbh' undeclared (first use in this function)
dbdimp.c:2792: wrong type argument to increment
dbdimp.c:2808: request for member `buffer_length' in something not a =
structure or union
dbdimp.c:2814: request for member `buffer_length' in something not a =
structure or union
dbdimp.c:2815: request for member `buffer' in something not a structure =
or union
dbdimp.c:2817: warning: passing arg 2 of `mysql_stmt_fetch_column' from =
incompatible pointer type
dbdimp.c:2824: request for member `buffer_type' in something not a =
structure or union
dbdimp.c:2826: warning: unreachable code at beginning of switch =
statement
*** Error code 1
Stop in /root/.cpan/build/DBD-mysql-3.0000.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So I installed 2.9 from the tarball with all the right flags and it =
seemed to work.
When I run that /usr/local/otto/lib/Otto.pm test module, nothing =
happens, the command prompt just reappears. I looked at Otto.pm and it =
seems like it should give me some sort of result.
I followed all instructions to the tee in the INSTALL document.
Help??? I really want to check this thing out!
Thanks
chris
--=20
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/39 - Release Date: 7/4/2005
=20
|