IMPORTANT NOTE: The instructions on this page, are retained for historical purposes only.
For Up To Date installation instructions please refer to Installing LedgerSMB
Deploying LedgerSMB with nginx and Plack on FreeBSD by Mikkel Høgh
FreeBSD Installation by Yuriy Kulyev
My comments on installation from tarball ledgersmb-1.3.13.tar.gz on FreeBSD 8.2 versions of prerequisites are
postgresql-contrib-9.1.3 (installation required upgrade of m4 to m4-1.4.16,1)
Installation manual which from tarball is quite clear but the one who decided to do it for FreeBSD should pay special attention to section "LedgerSMB depends on these required modules". Of course it is possible to install modules from cpan but this way make further upgraded via portupgrade more difficult. Most perl-modules presented in ports tree as p5-Module-Submodule and they spread in different directories and names of some of them do not match exactly as listed in "INSTALLATION" e.g. Template -> p5-Template-Toolkit, Math::BigFloat -> p5-Math-BigInt, Locale::Country -> p5-Locale-Codes.
Script prepare-company-database.sh doesn't work because of different format of utility getopt in FreeBSD I have installed from web browser http://localhost/ledgersmb/setup.pl but before you need to:
1) cp ledgersmb-httpd.conf.template /usr/local/etc/apache22/ledgersmb-httpd.conf
and change in it all WORKING_DIR entries to real path to ledgersmb/
2) add to /usr/local/etc/apache22/httpd.conf
3) cp ledgersmb.conf.default ledgersmb.conf
and edit section [database]
contrib_dir = /usr/local/share/postgresql/extension/
4) temporary for setup from remote desktop make in ledgersmb-httpd.conf some changes
Allow from All
# Allow from 127.0.0.1
# Allow from localhost
# Deny from All
And that was enough for me to get it installed and working. However I have not check yet all functions.
Thank you very much for developers and contributors of this package. I will keep on exploring it.