msql build error
| From: | Jeffrey Labonski | Date: | Wed, 02 Jun 1999 16:27:10 +0000 |
| Subject: | msql build error | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1249@lists.php.net to get a copy of this message | ||
I've had a pretty ugly build error with php4/zend and mSQL. I'm
enclosing the details of the problem (mSQL is recent, version 2.0.10.1
5/26/99). configure doesn't seem able to pick up msql.h, even if I specify
/usr/local/Hughes as the mSQL path.
./configure --with-apache=/usr/local/src/apache_1.3.4/ --enable-debug
--with-msql --with-mysql=/usr/local/mysql --enable-track-vars
...
checking mSQL version... configure:6180: msql.h: No such file or directory
1.0
...
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM
-I/usr/local/src/apache_1.3.4//src/include
-I/usr/local/src/apache_1.3.4//src/os/unix -I/usr/local/Hughes/include
-I/usr/local/mysql/include -I../.. -I../../libzend -g -O2 -c msql.c
msql.c: In function `php3_msql_get_default_link':
msql.c:456: warning: passing arg 1 of `php3_msql_do_connect' makes integer
from pointer without a cast
msql.c:456: too few arguments to function `php3_msql_do_connect'
msql.c: In function `php3_msql_fetch_field':
msql.c:1231: `PRI_KEY_FLAG' undeclared (first use this function)
msql.c:1231: (Each undeclared identifier is reported only once
msql.c:1231: for each function it appears in.)
msql.c: In function `php3_msql_field_info':
msql.c:1324: `PRI_KEY_FLAG' undeclared (first use this function)
make: *** [msql.o] Error 1
php4 compiles fine without mSQL support.
Sincerely,
Jeff
"Some mornings, it's just not worth | Jeffrey Labonski
chewing through the leather straps" | CIS Major, Temple University
-Emo Phillips | jlabonsk@nimbus.ocis.temple.edu
http://nimbus.ocis.temple.edu/~jlabonsk/