configure: error: Cannot find MySQL header files under

From: Date: Mon, 30 Aug 2004 18:21:13 +0000
Subject: configure: error: Cannot find MySQL header files under
Groups: php.install 
Request: Send a blank email to php-install+get-14257@lists.php.net to get a copy of this message
Hi, Struggling with php configure. I am using RedHat 8. MySQL is running on the computer and was installed via RPM not from Source. When I run ./configure --with-mysql --with-apxs=/www/bin/apxs I receive the following cryptic error: configure: error: Cannot find MySQL header files under yes Note that the MySQL client library is not bundled anymore Searching the web for this error I found in Googles cache the following suggestion: "Nevertheless, the basic problem seems to be some incompatibility regarding 32-/64-bit-libraries, whether they are static or dynamic and where they live. Combining and distilling the hints, infos, attempts and phenomena described in the PHPbuilder-thread http://www.phpbuilder.com/board/showthread.phps=&threadid=10246689 and the bug report http://bugs.php.net/bug.php?id=19340, the following solution turned out to work: I took the main ./configuration file of the PHP sourceroot and replaced all "OCI8_DIR/lib" with "OCI8_DIR/lib32". Gave a bunch of warnings through the make, but finished with a module apache accepted without coredump." Although I am not very facile with vi I followed the suggestion and the error was the same as before. Any help would be greatly appreciated. Andrew

« previous php.install (#14257) next »