Compiler error: Cannot find MySQL header files under...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

I am about to pull myself bald trying to figure out what this crazy configure 
script wants.  I have done several days of research but everyone is saying 
nothing that has helped.

The compilation process cannot find a friggin file even though the directive 
I'm giving configure is pointing to the directory where the mysql.h file is 
located.

Platform: Solaris 10
Hardware: Sun E250
PHP version trying to compile: 4.4.4
MySQL version: 5.0.x

This is the command I'm using for configure:
./configure --with-apxs2=/usr/apache2/bin/apxs 
--with-mysql=/opt/mysql/mysql/include --with-zlib=/usr/include

Could someone tell me exactly what it is actually looking for since it's 
obvious it's not looking for the mysql.h file?

I have tried several other options that I have found over the internet and all 
the places I can find the mysql.h.  This includes downloading the source for 
MySQL and pointing to where the mysql.h file is in the temporary directory.

Either my directive isn't correct or there is something hard coded that is 
bypassing the directive.

Any help would be greatly appreciated.

Thanks,

Robert

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux