PHP and mysql woes

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

 



Hi All,

Hopefully some one can shed some light on what I am doing wrong here.

I've just got the latest version of php-4.3.2

I'm having a few issues with compiling the bugger.

[root@xxxx php-4.3.2]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --with-mysql=/usr/include/mysql --with-system-regex


Is what I am using to compile it.

It gets through a fair bit of the configure, and then it spits out....

checking for msession support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking size of char... (cached) 1
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for type ulong... (cached) yes
checking for type uchar... (cached) no
checking for type uint... (cached) yes
checking for type ushort... (cached) yes
checking for int8... (cached) no
checking base type of last arg to accept... (cached) socklen_t
checking return type of qsort... (cached) void
configure: error: Cannot find header files under /usr/include/mysql

But, the header files are there....

[root@xxxx mysql]# pwd
/usr/include/mysql
[root@xxxx mysql]# ls
dbug.h     m_string.h   my_list.h        my_pthread.h    mysql.h          raid.h             sslopt-usage.h
errmsg.h   my_config.h  my_net.h         mysql_com.h     mysql_version.h  sslopt-case.h      sslopt-vars.h
m_ctype.h  my_global.h  my_no_pthread.h  mysqld_error.h  my_sys.h         sslopt-longopts.h

Any ideas on why its not happening?  Have i not included something specific?

-Simon




-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux