error when trying to configure Zoneminder
error when trying to configure Zoneminder
I am running fedora Core 4 and have httpd 2.0.54 and mysql 5.0.22
I and trying to run
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin ZM_DB_PASS=zmpass --with-mysql=/usr/local/mysql
however it always ends with the following:
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 and trying to run
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin ZM_DB_PASS=zmpass --with-mysql=/usr/local/mysql
however it always ends with the following:
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
-
- Posts: 2
- Joined: Tue Nov 28, 2006 1:42 am
- Location: Atlanta
error during configure
I got past the previous problem but ran into this:
hecking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking whether MD5 is declared... no
configure: error: zm requires openssl/md5.h
I could not run the make. I am trying to install on Mepis 6.0.
Thanks!
hecking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking whether MD5 is declared... no
configure: error: zm requires openssl/md5.h
I could not run the make. I am trying to install on Mepis 6.0.
Thanks!
...and the answer is?
-
- Posts: 2
- Joined: Tue Nov 28, 2006 1:42 am
- Location: Atlanta
Using Mepis 6
To get the configure to finish, I had to load the following libraries through the Synaptic Package Manager:
*** install MYSQL first
*** install Apache with ssl
*** add in "libmysqlclient15-dev"
*** add in "libpcrecpp0" I am not sure that I needed this.
*** add in "libssl-dev"
After all of that, the configure completed and I was able to do the make. The "Make" completed successfully but then I have problems creating the database. This is because I need to make sure that Mysql is set up correctly. I will continue.
I will also look at the Hints and Tips. If anyone did a Mepis install, please let me know.
Thanks all!
*** install MYSQL first
*** install Apache with ssl
*** add in "libmysqlclient15-dev"
*** add in "libpcrecpp0" I am not sure that I needed this.
*** add in "libssl-dev"
After all of that, the configure completed and I was able to do the make. The "Make" completed successfully but then I have problems creating the database. This is because I need to make sure that Mysql is set up correctly. I will continue.
I will also look at the Hints and Tips. If anyone did a Mepis install, please let me know.
Thanks all!
...and the answer is?
Thanks for the info,
So i tried
apt-get install libmysqlclient15-dev
but I got this error:
# apt-get install libmysqlclient15-dev
-bash: apt-get: command not found
Then I tried using yum instead of apt-get and this is what I saw:
# yum install libmysqlclient15-dev
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: libmysqlclient15-dev
Nothing to do
So am I to assume that libmysqlclient15-dev is installed already?
Thanks,
So i tried
apt-get install libmysqlclient15-dev
but I got this error:
# apt-get install libmysqlclient15-dev
-bash: apt-get: command not found
Then I tried using yum instead of apt-get and this is what I saw:
# yum install libmysqlclient15-dev
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: libmysqlclient15-dev
Nothing to do
So am I to assume that libmysqlclient15-dev is installed already?
Thanks,
I used
If I remember correctly?
Code: Select all
rpm -i path_to_libmysql_devel_for_FC4
Ok i think I have a better idea what the issue is now.
Correct me if i'm wrong.
ok so this error is telling me that the mysql header files can not be found.
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
Now I looked around and found the header file mysql.h it is in
/usr/local/mysql/includes/
however when I look at the error it seems to be looking for the file in
/usr/local/mysql/
is there a way for me to tell it in the ./configure to look for the header files in /include folder?
thanks.
Correct me if i'm wrong.
ok so this error is telling me that the mysql header files can not be found.
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
Now I looked around and found the header file mysql.h it is in
/usr/local/mysql/includes/
however when I look at the error it seems to be looking for the file in
/usr/local/mysql/
is there a way for me to tell it in the ./configure to look for the header files in /include folder?
thanks.
Is mysql instaled correctly?
Have you tried to execute mysql?
Have you tried to execute mysql?
Code: Select all
# mysql