Bugzilla – Bug 4176
Installation.txt doesn't make explicit some MySQL dependencies under FreeBSD, OpenBSD and Solaris.
Last modified: 2008-12-18 11:11:39 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.
Created attachment 1566 [details] Diff of Installation.txt with proposed changes as outlined in the bug report.
I left this bug untargeted until after Dan is able to take a look.
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?
Should we set this for 6.5.1 then?
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.
Updated Installation.txt in change 9986