Page 1 of 1

Installation error on Freebsd.

Posted: Thu Apr 14, 2016 1:34 pm
by chebo
Hello. Trying to install Zoneminder on FreeBSD from source. Faced with a problem. When the configuration enters the error - ZoneMinder requires MySQL headers - check that MySQL development packages are installed. A similar problem occurs with Gentoo users.

https://forums.gentoo.org/viewtopic-t-1 ... 8f299ca1fd

But it is not helping me or I did something wrong. Tried to copy files from mysql/mysql mysql.

Met anyone with such a problem? Judging by the last post here - https://github.com/ZoneMinder/ZoneMinder/issues/1288. Everything should work. What can you recommend?

Re: Installation error on Freebsd.

Posted: Thu Apr 14, 2016 1:54 pm
by knight-of-ni
This is a common problem when building from source. You are missing the mysql development headers or the system cannot fine them.
What is probably more helpful is to point this conversation:

viewtopic.php?f=6&p=93853

A couple guys are ahead of you in progress with FreeBSD, and I'm sure they could help get you further along.

Right now, the only FreeBSD issue, still open, which I am aware of, is this:
https://github.com/ZoneMinder/ZoneMinder/issues/1357

Not sure yet what the issue is. We need more data.

In any case, maybe you can help once you get to this point.

Re: Installation error on Freebsd.

Posted: Sun Apr 17, 2016 6:41 am
by chebo
knnniggett wrote:This is a common problem when building from source. You are missing the mysql development headers or the system cannot fine them.
What is probably more helpful is to point this conversation:

viewtopic.php?f=6&p=93853

A couple guys are ahead of you in progress with FreeBSD, and I'm sure they could help get you further along.

Right now, the only FreeBSD issue, still open, which I am aware of, is this:
https://github.com/ZoneMinder/ZoneMinder/issues/1357

Not sure yet what the issue is. We need more data.

In any case, maybe you can help once you get to this point.
I managed to install and run zoneminder without errors. https://github.com/abishai/Zoneminder-port

But I can't log in the web interface. Check info.php successful and zoneminder looks like this - https://yadi.sk/i/ylTnUSLBr5oKp. What other settings need to do after installing? Specified in the documentation for Ubuntu commands do not work, how to implement them in FreeBSD?

sudo a2enconf zoneminder
sudo a2enmod rewrite
sudo a2enmod cgi

The last two if I understand correctly probably include modules?
LoadModule cgi_module libexec/apache24/mod_cgi.so
LoadModule rewrite_module libexec/apache24/mod_rewrite.so

What is No. 1?