>Description:
Installed MySQL-3.23.49a-1.i386.rpm and the client. Then tried to
install PHP which needs path to header files. From what I can determine
from your website documentation, the header files should be in an include
directory. There is no include directories under mysql.
>How-To-Repeat:
From the php-4.2.1 directory, enter:
./configure --with-mysql=/usr/share/mysql --with-xml --with-apache=/usr/loca
l/src/apache_1.3.23/ --enable-track-vars --enable-ftp
>Fix:
>Submitter-Id: <submitter ID>
>Originator: Tech Support
>Organization:
Hill Country Community MHMR Center
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis: Where are header files?
>Severity: critical
>Priority: medium
>Category: mysql
>Class: support
>Release: mysql-3.23.49a (Official MySQL RPM)
>Server: /usr/bin/mysqladmin Ver 8.23 Distrib 3.23.49a, for pc-linux-gnu on
i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 3.23.49a
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 19 hours 52 min 29 sec
Threads: 1 Questions: 5 Slow queries: 0 Opens: 6 Flush tables: 1 Open
tables: 0 Queries \
per second avg: 0.000
>Environment:
<machine, os, target, libraries (multiple lines)>
System: Linux geronimo 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
Compilation info: CC='gcc' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium'
CXX='gcc' CXXFLA\
GS='-O6 -fno-omit-frame-pointer -felide-constructors -fno-excep
tions -fno-rtti -\
mpentium' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Jan 29 06:58 /lib/libc.so.6 ->
libc-2.2.2.so
-rwxr-xr-x 1 root root 1236396 Apr 6 2001 /lib/libc-2.2.2.so
-rw-r--r-- 1 root root 26350254 Apr 6 2001 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Apr 6 2001 /usr/lib/libc.so
Configure command:
./configure --disable-shared --with-mysqld-ldflags=-all-static --with-clie\
nt-ldflags=-all-static --with-other-libc=/usr/local/mysql-glibc --without-be
rkeley-db --witho\
ut-innodb --enable-assembler --enable-local-infile --with-mysqld-user=mysql
--with-unix-socke\
t-path=/var/lib/mysql/mysql.sock --prefix=/ --with-extra-charsets=complex --
exec-prefix=/usr \
--libexecdir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --localstatedi
r=/var/lib/mysql \
--infodir=/usr/info --includedir=/usr/include --mandir=/usr/man
'--with-comment=Official MySQ\
L RPM' CC=gcc 'CFLAGS=-O6 -fno-omit-frame-pointer -mpentium'
'CXXFLAGS=-O6 -fno-omit-frame-po\
inter -felide-constructors -fno-exceptions -fno-rtti -mpent
ium' CXX=gcc
Carl Carpenter
IT Manager
Hill Country Community MHMR Center
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.363 / Virus Database: 201 - Release Date: 5/21/2002
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php