php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #5698 Non internal MySQL support won't ./configure nicely on Debian...
Submitted: 2000-07-20 14:48 UTC Modified: 2001-05-12 15:17 UTC
From: steelhawk at usa dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.1pl2 OS: Debian GNU/Linux
Private report: No CVE-ID: None
 [2000-07-20 14:48 UTC] steelhawk at usa dot net
There should really be a way to supply different paths of the MySQL headers and libraries... if you have the Debian mysql packages ./configure --with-mysql=<something> can't be done as you can then only find either the headers OR the libs... (example: /usr/lib/libmysqlclient.so and /usr/include/mysql/mysql.h)

It'd be really nice to be able to supply --with-mysql-includes= and --with-mysql-libraries= or something like that... so you don't have to create symlinks all over your system...

Thanks in advance...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-24 21:12 UTC] waldschrott@php.net
Seems to be an OS specific Feature/Change Request
 [2000-08-17 11:55 UTC] chrisv@php.net
I think the way to solve this isn't adding 2 configure options. The only difference between this installation and any other "standard" mysql installation is --

Headers:
[MYSQL]/include/mysql
Libraries:
[MYSQL]/lib

The standard installations (from a tarball, etc) install to:

Headers:
[MYSQL]/include/mysql
Libraries:
[MYSQL]/lib/mysql

So the appropriate solution is to check for MySQL libraries within lib/ and lib/mysql instead of just the latter.
 [2001-05-12 15:17 UTC] cardinal@php.net
Checking lib and lib/mysql was added before 4.0.1 was released, according to the CVS tag.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 15:01:56 2024 UTC