Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88071 - mod_log_sql requires MySQL to be installed locally
Summary: mod_log_sql requires MySQL to be installed locally
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on: 88490
Blocks:
  Show dependency tree
 
Reported: 2005-04-05 12:52 UTC by Kyle England (RETIRED)
Modified: 2005-09-18 13:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle England (RETIRED) gentoo-dev 2005-04-05 12:52:55 UTC
# emerge -pv mod_log_sql

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-db/mysql-4.0.24  +berkdb -debug -innodb +perl +readline (-selinux) +ssl -static +tcpd 16,489 kB 
[ebuild  N    ] net-www/mod_log_sql-1.97  145 kB 
[ebuild  N    ] dev-perl/Net-Daemon-0.37  29 kB 
[ebuild  N    ] dev-perl/Storable-2.13  131 kB 
[ebuild  N    ] dev-perl/PlRPC-0.2016-r1  17 kB 
[ebuild  N    ] dev-perl/DBI-1.38-r1  292 kB 
[ebuild  N    ] dev-perl/DBD-mysql-2.1027  95 kB


I'm wanting to log to a remote MySQL server; therefore, there's no need in MySQL being install locally.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
MySQL should not be a dependency of mod_log_sql

mod_log_sql documentation clearly states that remote logging to a MySQL server
is possible:  http://www.outoforder.cc/projects/apache/mod_log_sql/docs-2.0/
Comment 1 Francesco R. (RETIRED) gentoo-dev 2005-04-05 13:13:03 UTC
Never installed/used mod_log_sql but probably it need at least mysql libraryes and header files.

If you don't need the -server- emerge =dev-db/mysql-4.0.24-r1 with the "minimal" USE flag (new option), this install only the environment needed by a -client- mysql installation.

In fact unless you want to use odbc you need something that connect to a MySQL server.
Comment 2 Kyle England (RETIRED) gentoo-dev 2005-04-05 13:47:54 UTC
I'm certainly not saying you're wrong, but, unless I'm missing something, the install docs don't say anything about needing MySQL locally.

http://www.outoforder.cc/projects/apache/mod_log_sql/docs-2.0/
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2005-04-09 07:56:01 UTC
you need mysql header and library files to compile mod_log_sql
Comment 4 Christian Parpart (RETIRED) gentoo-dev 2005-04-09 08:24:43 UTC
anyways, you can open a bug report requesting a split of mysql to mysql-server and libmysqlclient or alike in order to explicitely fix such behaviors. though, packages like mod_log_sql (and others) could just depend on the client library. If this 's gonna be accepted, than we'll update mod_log_sql to depend on this lib only.

btw, I'd appreciate such a solution.
Comment 5 Christian Parpart (RETIRED) gentoo-dev 2005-04-09 12:26:17 UTC
As a result of the new bug 88490 as a request for mysql ebuild split, I reopen this one to get fixed ASAP #88490 is done.
Comment 6 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-09-18 12:54:48 UTC
mysql maintainers won't split that package, and I'm fairly sure mod_log_sql
needs at least the client libs. CANTFIX
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-09-18 13:25:33 UTC
"USE=minimal emerge mysql" and then you can do emerge mod_log_sql fine.