Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 51
  1. #21
    Senior Member
    Join Date
    Dec 2006
    Location
    Boulder, CO
    Posts
    692
    Try editing buildme.sh and comment out line 196:

    # build DBD::mysql

    After doing this, I was able to get everything else to build on Fedora 14.

  2. #22
    Senior Member
    Join Date
    Aug 2005
    Posts
    622

    That worked!

    Thanks.

    Given the lack of QA, it would be better for there to be good manual build instructions on the mysqueezebox.com site than rpms that cause grief.

  3. #23
    Member
    Join Date
    Jun 2009
    Location
    Nyk÷ping, Sweden
    Posts
    78
    Quote Originally Posted by Ron Olsen View Post
    Try editing buildme.sh and comment out line 196:

    # build DBD::mysql

    After doing this, I was able to get everything else to build on Fedora 14.
    For me it seems to be some sort of catch 22 with this. I can surely build everything if I comment out mysql build but then the server won't start because failed load of DBI::mysql module...

    What next to do?

    /Anders

  4. #24
    Senior Member
    Join Date
    Dec 2006
    Location
    Boulder, CO
    Posts
    692
    Quote Originally Posted by falolaf View Post
    For me it seems to be some sort of catch 22 with this. I can surely build everything if I comment out mysql build but then the server won't start because failed load of DBI::mysql module...

    What next to do?

    /Anders
    Use the DBI::mysql module from SBS 7.5.4 and see if that works.
    Last edited by Ron Olsen; 2011-07-14 at 01:16.

  5. #25
    Member
    Join Date
    Jun 2009
    Location
    Nyk÷ping, Sweden
    Posts
    78
    Quote Originally Posted by Ron Olsen View Post
    Use the DBI::mysql module from SBS 7.5.4 and see if that works.
    That didn't work.

  6. #26
    Senior Member
    Join Date
    Aug 2005
    Posts
    622

    Install the module...

    Try
    cpan -i DBI::mysql

  7. #27
    Member
    Join Date
    Jun 2009
    Location
    Nyk÷ping, Sweden
    Posts
    78
    Quote Originally Posted by jarome View Post
    Try
    cpan -i DBI::mysql
    In what folder?

  8. #28
    Senior Member
    Join Date
    Aug 2005
    Posts
    622

    That installs it

    It goes automatically where your other perl modules are. You need to be root or sudo to do it.

  9. #29
    Member
    Join Date
    Jun 2009
    Location
    Nyk÷ping, Sweden
    Posts
    78
    Quote Originally Posted by jarome View Post
    It goes automatically where your other perl modules are. You need to be root or sudo to do it.
    Warning: Cannot install DBI::mysql, don't know what it is.
    Try the command

    i /DBI::mysql/

    to find objects with matching identifiers.

  10. #30
    Senior Member
    Join Date
    Aug 2005
    Posts
    622

    Can't update database

    With the MySQL build commented out, the database does not get updated. I just asked it to delete the database and rescan everything, but nothing happens. Scanner.log has not been updated for 2 days. Server.log has:
    [11-07-14 17:14:35.5071] Plugins::LazySearch2::Plugin::scanDoneCallback (2066) Lazifying database items not already done
    [11-07-14 17:14:35.6989] Plugins::LazySearch2::Plugin::lazifyDatabase (2123) No database items require lazification
    [11-07-14 17:14:36.9779] Plugins::AutoRescan::Plugin::delayedChangeCallback (314) Triggering database rescan following directory changes
    [11-07-14 17:14:47.1417] Plugins::LazySearch2::Plugin::scanDoneCallback (2066) Lazifying database items not already done
    [11-07-14 17:14:47.3329] Plugins::LazySearch2::Plugin::lazifyDatabase (2123) No database items require lazification
    [11-07-14 22:22:32.9748] Plugins::LazySearch2::Plugin::scanDoneCallback (2066) Lazifying database items not already done
    [11-07-14 22:22:33.1674] Plugins::LazySearch2::Plugin::lazifyDatabase (2123) No database items require lazification
    [11-07-14 22:26:50.2388] Plugins::LazySearch2::Plugin::scanDoneCallback (2066) Lazifying database items not already done
    [11-07-14 22:26:50.4327] Plugins::LazySearch2::Plugin::lazifyDatabase (2123) No database items require lazification
    [11-07-14 22:28:22.0812] Slim::Plugin::AudioScrobbler::Plugin::_handshakeOK (348) Invalid Last.fm username or password.
    [11-07-14 22:28:32.1520] Slim::Plugin::AudioScrobbler::Plugin::_handshakeOK (348) Invalid Last.fm username or password.
    [11-07-14 22:30:15.5909] Plugins::LazySearch2::Plugin::scanDoneCallback (2066) Lazifying database items not already done
    [11-07-14 22:30:15.7797] Plugins::LazySearch2::Plugin::lazifyDatabase (2123) No database items require lazification
    [11-07-14 22:33:13.3738] Plugins::LazySearch2::Plugin::scanDoneCallback (2066) Lazifying database items not already done
    [11-07-14 22:33:13.5634] Plugins::LazySearch2::Plugin::lazifyDatabase (2123) No database items require lazification

    The Web interface says "Progress information from the previous scan is not available."

    So things are still not working. We need a proper build.

    MySQL Build log:

    < my_bool mysql_stmt_send_long_data(MYSQL_STMT *stmt,
    < unsigned int param_number,
    < const char *data,
    < unsigned long length);
    < MYSQL_RES * mysql_stmt_result_metadata(MYSQL_STMT *stmt);
    < MYSQL_RES * mysql_stmt_param_metadata(MYSQL_STMT *stmt);
    < unsigned int mysql_stmt_errno(MYSQL_STMT * stmt);
    < const char * mysql_stmt_error(MYSQL_STMT * stmt);
    < const char * mysql_stmt_sqlstate(MYSQL_STMT * stmt);
    < MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT *stmt,
    < MYSQL_ROW_OFFSET offset);
    < MYSQL_ROW_OFFSET mysql_stmt_row_tell(MYSQL_STMT *stmt);
    < void mysql_stmt_data_seek(MYSQL_STMT *stmt, my_ulonglong offset);
    < my_ulonglong mysql_stmt_num_rows(MYSQL_STMT *stmt);
    < my_ulonglong mysql_stmt_affected_rows(MYSQL_STMT *stmt);
    < my_ulonglong mysql_stmt_insert_id(MYSQL_STMT *stmt);
    < unsigned int mysql_stmt_field_count(MYSQL_STMT *stmt);
    < my_bool mysql_commit(MYSQL * mysql);
    < my_bool mysql_rollback(MYSQL * mysql);
    < my_bool mysql_autocommit(MYSQL * mysql, my_bool auto_mode);
    < my_bool mysql_more_results(MYSQL *mysql);
    < int mysql_next_result(MYSQL *mysql);
    < void mysql_close(MYSQL *sock);
    make[2]: *** [do_abi_check] Error 1
    make[2]: Leaving directory `/home/jar/perl/CPAN/mysql-5.1.37'
    make[1]: *** [abi_check] Error 2
    make[1]: Leaving directory `/home/jar/perl/CPAN/mysql-5.1.37'
    make: *** [all-recursive] Error 1
    make failed
    [1]+ Done
    Last edited by jarome; 2011-07-15 at 08:54.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •