Installation error on Freebsd.

Forum for questions and support relating to the 1.29.x releases only.
Locked
chebo
Posts: 29
Joined: Wed Mar 16, 2016 4:38 am

Installation error on Freebsd.

Post 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?
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Installation error on Freebsd.

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
chebo
Posts: 29
Joined: Wed Mar 16, 2016 4:38 am

Re: Installation error on Freebsd.

Post 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?
Locked