Page 1 of 1
error when trying to configure Zoneminder
Posted: Mon Nov 27, 2006 9:20 pm
by BadFish
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
Posted: Mon Nov 27, 2006 10:30 pm
by Manwe
Hi,
I'm quite new with this but for what you say it seems that you don't have installed the MySQL 5 development packages:
if you're using MySQL 5 try with:
apt-get install libmysqlclient15-dev
that should allow you to reach the next STOP
error during configure
Posted: Tue Nov 28, 2006 2:58 am
by abemeister
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!
Posted: Tue Nov 28, 2006 3:00 am
by Manwe
This one is:
apt-get install libssl-dev
there must be a doc with all these dependencies in the wiki.
Posted: Tue Nov 28, 2006 6:24 am
by cordel
You will find it in the Hints and Tips topic.
Cheers,
Corey
Using Mepis 6
Posted: Tue Nov 28, 2006 1:08 pm
by abemeister
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!
Posted: Tue Nov 28, 2006 5:07 pm
by BadFish
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,
Posted: Tue Nov 28, 2006 9:31 pm
by BadFish
I also reinstalled mysql, I used the max version this time instead of the standard version. I still get the same error.
Thanks.
Posted: Tue Nov 28, 2006 10:41 pm
by ptast
I used
Code: Select all
rpm -i path_to_libmysql_devel_for_FC4
If I remember correctly?
Posted: Fri Dec 01, 2006 7:30 pm
by BadFish
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.
Posted: Wed Dec 06, 2006 6:18 pm
by BadFish
So anyone have any ideas? thought? opinions? about this?
Posted: Wed Dec 06, 2006 6:53 pm
by R2D2
Is mysql instaled correctly?
Have you tried to execute mysql?