As there seems to be an issue in FreeBSD using portinstall or the normal make in the ports not recognizing installed mysql/perl/python libs, you explicitly got to define:
make WITH_PERL=1 WITH_PYTHON=1
make WITH_PERL=1 WITH_PYTHON=1 WITH_MYSQL=1
Make sure, the configure output dump verifies your desired installation options.
Should be sth like this for libpreludedb:
*** Dumping configuration *** - Generate documentation : no - Enable [[MySQL]] plugin : yes - Enable [[PostgreSQL]] plugin : no - Enable SQLite3 plugin : no - Perl binding : yes - Python binding : yes
Install security/prelude-manager using the ports. Prelude-LML has to be installed seperately via the ports, too.
All configuration files located in /usr/local/etc/prelude-lml and /usr/local/etc/prelude/default have a trailing *-dist, which has to be removed in order to complete the setup.
For the Prewikka Interface you will have to install Python and the devel/py-cheetah port
Prewikka can be found in the ports under www/py-prewikka
Now, don't forget to read the particular chapters on Prelude Components Installation for further configuring.
That should be it, you can now start the Agent Registration
If you are trying to run the manager and are getting an error like this:
$prelude-manager db.c:db_LTX_manager_plugin_init:229: error initializing libpreludedb: could not access sql plugin directory '/usr/local/lib/libpreludedb/plugins/sql'/usr/local/lib/prelude-manager/reports/db initialization failure. - Subscribing Normalize to active decoding plugins. /usr/local/etc/prelude-manager/prelude-manager.conf:86: invalid section : "db". /usr/local/etc/prelude-manager/prelude-manager.conf:89: invalid option "type" in "global" section at depth 0. /usr/local/etc/prelude-manager/prelude-manager.conf:92: invalid option "host" in "global" section at depth 0. /usr/local/etc/prelude-manager/prelude-manager.conf:95: invalid option "port" in "global" section at depth 0. /usr/local/etc/prelude-manager/prelude-manager.conf:98: invalid option "name" in "global" section at depth 0. /usr/local/etc/prelude-manager/prelude-manager.conf:104: invalid option "pass" in "global" section at depth 0. - server started (listening on 127.0.0.1 port 4690). manager-options.c:set_user:285: change to UID 1001 failed: Operation not permitted. Option error: error while setting option 'user'.
you should make sure that the config status of libprelude and libpreludedb definately include the mysql plugin and/or the perl/python bindings. If you are not sure, rebuild libprelude and libpreludedb as described above and verify the config output.