How would I know?

Support and queries relating to all previous versions of ZoneMinder
Locked
ixtow
Posts: 8
Joined: Sun Jul 04, 2004 9:17 pm

How would I know?

Post by ixtow »

The very fisrt line of the Config has me stumped:

Code: Select all

The first thing you need to do is run the included configure script to define some initial configuration, just type

./configure --with-mysql=<your MySQL root> --with-webdir=<your web directory> --with-cgidir=<your cgi directory>
This part:

Code: Select all

--with-mysql=<your MySQL root>
How would I know where Gentoo stuck it? I typed "emerge mysql" and poof, I have mysql. I have no idea where this so-called "root directory" of my MySQL is at.

Why does it even matter? I can use MySQL without knowing this. Why does ZoneMinder need to know this anyway? With MySQL running as a Service, why can't it produce querries like anything else?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

ZM builds against MySQL client Library.... :shock:
ixtow
Posts: 8
Joined: Sun Jul 04, 2004 9:17 pm

Post by ixtow »

cordel wrote:ZM builds against MySQL client Library.... :shock:
Wonderful, now how do I find out what to put there?
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post by lazyleopard »

Code: Select all

equery files mysql
will list all the files in package mysql. Chances are, all you need is

Code: Select all

--with-mysql=/usr
Rick Hewett
Locked