checking mysql/mysql.h usability... no

Support and queries relating to all previous versions of ZoneMinder
Post Reply
PowerfulWebsites
Posts: 5
Joined: Sun Nov 25, 2007 10:34 pm

checking mysql/mysql.h usability... no

Post by PowerfulWebsites » Sun Nov 25, 2007 10:39 pm

I'm trying to configure ZoneMinder 1.22.3 on a CentOS 5 box with the following:

./configure --prefix=/usr/local/zoneminder --exec-prefix=/usr/local/zoneminder --with-mysql=/usr/local/mysql/ --with-ffmpeg=/usr/local/lib --with-webdir=/usr/local3/WWW/zoneminder.neoteric.nbinteractive.com/html/ --with-cgidir=/usr/local3/WWW/zoneminder.neoteric.nbinteractive.com/cgi-bin/ --with-webuser=nobody --with-webgroup=nobody

and get the following error:

checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... no
checking for mysql/mysql.h... no
configure: error: zm requires mysql/mysql.h

I'm at a loss as to why since I have mysql installed at /usr/local/mysql and mysql.h is at /usr/local/mysql/include/mysql/mysql.h

Any ideas?

User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex » Mon Nov 26, 2007 7:17 pm

hi,

check that gcc-c++ is installed.

hope this helps
Image

PowerfulWebsites
Posts: 5
Joined: Sun Nov 25, 2007 10:34 pm

Post by PowerfulWebsites » Mon Nov 26, 2007 8:21 pm

It is.

The problem was that the configure script wasn't actually doing anything with the --with-mysql path that I was providing.

I spent quite a while hacking at it and finally got it to compile under CentOS 5. However, I couldn't get it to stream jpegs to the browser. Ultimately I gave up and tried an rpm install under FC8.

Thanks for your response.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests