Bug 4176 - Installation.txt doesn't make explicit some MySQL dependencies under FreeBSD, OpenBSD and Solaris.
: Installation.txt doesn't make explicit some MySQL dependencies under FreeBSD,...
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Documentation
: 6.5.0
: All Other
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-21 13:57 UTC by Ben Hockenhull
Modified: 2008-12-18 11:11 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
Diff of Installation.txt with proposed changes as outlined in the bug report. (1.54 KB, text/plain)
2006-09-21 13:58 UTC, Ben Hockenhull
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Hockenhull 2006-09-21 13:57:19 UTC
Please reference forum thread http://forums.slimdevices.com/showthread.php?t=27656 to see what prompted this bug report.

SlimServer version 6.5 requires MySQL in order to function.  However, precompiled binaries are not provided for some UNIX platforms.

The Installation.txt document doesn't make it clear that you must either install MySQL or have an existing MySQL installation to use SlimServer on those platforms.  As the documentation is currently written, it looks like you just have to build the perl modules, perhaps compile some MySQL client libs and all is well.

In addition, there are a few tweaks to be made to the build-perl-modules.pl to get it to compile DBD::mysql under FreeBSD with a MySQL install in the most typical location.

If you want it, I've got a diff of the Installation.txt file that contains some proposed modifications to that file to make more explicit the MySQL dependency as well as to document a way to ensure that DBD::mysql builds under FreeBSD.
Comment 1 Ben Hockenhull 2006-09-21 13:58:44 UTC
Created attachment 1566 [details]
Diff of Installation.txt with proposed changes as outlined in the bug report.
Comment 2 Chris Owens 2006-09-21 16:19:18 UTC
I left this bug untargeted until after Dan is able to take a look.
Comment 3 Blackketter Dean 2006-09-21 18:56:10 UTC
I'm good with this, but maybe the details should go in the wiki and put a link in the installation.txt file to that?
Comment 4 Chris Owens 2006-09-22 09:22:19 UTC
Should we set this for 6.5.1 then?
Comment 5 Pete 2006-09-22 15:21:03 UTC
This is relevant for all unsupported OS, so why not just change

"- For DBD::mysql to build properly, the MySQL client libs - http://www.mysql.com/
  This might also be a package on your system, such as libdbd-mysql-perl"

to

"- MySQL [version]. Included as a binary with SlimServer for Windows NT/2000/XP, Linux and Mac OS X.
For information about using MySQL with other operating systems, see http://wiki.slimdevices.com/... ."

I believe this is the correct place to put it, since it is the build-perl-modules.pl-script that will croak.

The wiki could then contain all the gory details (like in the patch), without bloating the installation instructions.

I'd be happy to contribute how I installed a MySQL version specifically for use by SlimServer on NetBSD.
Comment 6 Dan Sully 2006-09-22 15:37:09 UTC
Updated Installation.txt in change 9986