php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1054 No such file or directory (functions/mysql.h)
Submitted: 1999-01-12 03:02 UTC Modified: 1999-01-12 03:37 UTC
From: yusri at tm dot net dot my Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.6 OS: Red Hat Linux 5.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yusri at tm dot net dot my
New email:
PHP Version: OS:

 

 [1999-01-12 03:02 UTC] yusri at tm dot net dot my
There is no functions/mysql.h file in tar file.

#./configure --with-mysql --with-apache=../apache_1.3.3 --enable-track-vars
# make (successful)
# make install
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.3/src/include -I../apache_1.3.3/src/os/unix      -I/usr/local/include/mysql                    -c functions/mysql.c -o functions/mysql.o

functions/mysql.c:84: mysql.h: No such file or directory

make: *** [functions/mysql.o] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-12 03:37 UTC] rasmus
Because it comes with MySQL.  You probably need to provide a different path to your --with-mysql flag if you have that mysql.h file at all.  If you don't, you probably have a bogus binary distribution of MySQL and you should go fetch yourself the source tarball.  This is not a PHP bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 11:01:34 2024 UTC