Page 1 of 1

I downloaded, but there is a problem

Posted: Thu Apr 08, 2004 8:56 pm
by linh
I went to http://www.zoneminder.com/downloads.html.
I select the firat item listed, which is Release 1.19.1 24th March 2004,
it takes me to http://www.zoneminder.com/fileadmin/dow ... 9.1.tar.gz,
the file downloaded was not zm-1.19.1.tar.gz, but konquerorsonXRb.gz
The file konquerorsonXRb.gz was automatically saved in /tmp/kde-root/

I then issue the command gunzip -dfv konquerorsonXRb.gz, and the file
became konquerorsonXRb.

1) id use ./configure konquerorsonXRb, but it does not work. What do I do now ?

2) I ran "rpm -q mysql" on RedHat 9.0
result: mysql-3.23.54a-11

3) I ran "rpm -q mysqld" on RedHat 9.0
result: package mysqld is not installed

4) There is a conflicting output from above. Is SQL installed on RedHat 9.0. If it is then where would it be
on a standard RedHat 9.0 installation?

Re: I downloaded, but there is a problem

Posted: Thu Apr 08, 2004 9:45 pm
by zoneminder
I don't use Konqueror so I can't help you with why it wants to rename the download. Perhaps someone else may, otherwise have you tried just renaming it? If it is the right file, and just renamed, you will have to untar it into a build directory and follow the instructions in the included README to build it, you can't just run ./configure on it, since there is no 'configure' until it's untarred.

Your other questions about mysql I don't think I exactly understand, mysqld is a component of the mysql server package. You will also need the mysql development and client packages as well as the server. For instance this is what rpm -qa | grep mysql shows on my RH9 system

mysql-server-3.23.58-1.9
mysql-devel-3.23.58-1.9
libdbi-dbd-mysql-0.6.5-5
mysql-3.23.58-1.9
mod_auth_mysql-1.11-12
php-mysql-4.2.2-17.2

though some of these refer to associated packages which you may not need. If you have mysql installed then you should find various mysql files in /usr/bin, init scripts in /etc/init.d and also a /var/lib/mysql directory with all your databases in. If you need any further help then checking with mysql.com is probably a good idea first before you start with ZM.

Phil,

Re: I downloaded, but there is a problem

Posted: Thu Apr 08, 2004 10:40 pm
by linh
Hi Philip. Thank you for your help.

I issued the command rpm -qa | grep mysql , and it showed

mysql-server-3.23.54a-11
mysql-devel-3.23.54a-11
mysql-3.23.54a-11
libdbi-dbd-mysql-0.6.5-5
mod_auth_mysql-1.11-12
php-mysql-4.2.2-17

/////////////////////////////////////////////////

1) Please tell me where my sql directory is at. I have the following directories that contains mysql.
I need to know this so that I could use it in ./configure

/var/lib/mysql
/usr/lib/mysql
/usr/bin/mysql
/usr/share/mysql
/usr/include/mysql
/usr/lib/perl15/vendor-perl/5.8.0/i386-linux-thread-multi/DBD/mysql

2) What rpm command would I used to see if the PHP files is installed and where it is located ?

3) What rpm command would I used to see if the cgidir files is installed and where it is located ?

4) On the site http://www.zoneminder.com/fileadmin/dow ... EADME.html, under section
3. Building, do I just followed it step by step when installing ZoneMinder ?

Re: I downloaded, but there is a problem

Posted: Mon Apr 12, 2004 10:11 am
by zoneminder
1) The sql directory for the purposes of the ZM configure is rooted at /usr so you would use --with-mysql=/usr

2) You can do rpm -qa | grep <anything> to find out what rpms of 'anything' are installed so try that with php. Or just do a 'locate php' to find out if/where the files are. However it is sometimes the case that php installed without mysql support at all or more often with it as a shared module, where the module may be missing. You may have to (re)build php with mysql support if you find it doesn't work. You do not need to give a location of php for the configure and make stages of ZM however so you can ignore this for now.

3) There are no 'cgi' installed by default usually. This is normally initially just an empty directory under your web root that is configured in your apache configuration file as the location of cgi scripts. By default this is often /var/www/cgi-bin but can really be anything you want it to be. ZM will put zms and nph-zms in this directory and the web pages will expect to access them from the defined cgi directory.

4) Yes, pretty much. You should choose your own usernames and passwords etc and some distros have files in slightly different places but otherwise following the instructions is a good place to start.

Phil,