I'm trying to install PHP 5.3 on Solaris 10 .
I'm using etc/apache2
and installed mysql 5.1.39.
When I tried to compile PHP 5.3, with the following configure text,
it makes fail and said mysql lib is not correct or somewhere else error.
So I tried to run "make distclean" command but it shows
"make: Fatal error: Don't know how to make target `distcelan'" error
How do I fix that problem?
I really need help and appreciate your help.
So I configure with the above syntax and got an error message of:
checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log
for more information.
so I go and check config.log for last 100 lines as it is too long.
The file contents are:
*******************************************
aaa@ekh09:src/php>tail config.log -n100
#line 59816 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_set_server_option();
int main() {
mysql_set_server_option()
; return 0; }
*********************************************
I'm using etc/apache2
Please help and advice me.
Thank you so much.
Then check why configure is complaining about it: "wrong mysql library version or lib not found". Instead of picking the last few lines of config.log, look for messages related to mysql in it.