php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6630 cannot find header files (mysql) or (imap)
Submitted: 2000-09-08 13:04 UTC Modified: 2000-09-08 20:03 UTC
From: alantmiller at yahoo dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: RedHat 6.2
Private report: No CVE-ID: None
 [2000-09-08 13:04 UTC] alantmiller at yahoo dot com
I am not sure where to go from here... as you can see from the following error, I have included every possible instance for the mysql header files path, as well as for imap, but nothing I have done seems to work. Could this be a bug? I keep seeing alot of others on either the usenet, or other sites with the same problem and no one has an answer.


configure: error: Cannot find header files under /usr/bin/mysql:/usr/lib/mysql:/usr/include/mysql:/usr/local/mysql:/usr/share/mysql
./php4.configure: --with-gd=/usr/include: No such file or directory
./php4.configure: --enable-libgcc: command not found
./php4.configure: --with-dom=/usr/lib: No such file or directory
./php4.configure: --with-imap=/usr/include/imap: No such file or directory
[root@hollywood101 php-4.0.1pl2]# 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-08 20:03 UTC] sniper@php.net
Configure like this:

# ./configure --with-mysql=/usr --with-gd=/usr --with-dom=/usr  --with-imap=/usr --enable-libgcc

Leave those /include and /lib strings out.
And read INSTALL file next time before submitting a bug report.

http://bugs.php.net/bugs-dos-and-donts.php

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 18:00:01 2026 UTC