Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
PHP and mysql woes

PHP and mysql woes

2003-07-01       - By Dan Dobbs

 Back
Reply:     1     2  

take out the --with-mysql and try it. I had a similar thing happen to
me.

-dd

>>> scollyer@(protected) 6/30/2003 9:16:23 PM >>>
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@(protected) 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@(protected) mysql]# pwd
/usr/include/mysql
[root@(protected) 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@(protected)
https://www.redhat.com/mailman/listinfo/psyche-list




Earn $52 per hosting referral at Lunarpages.