Problems compiling current snapshot
| From: | Brian Leyton | Date: | Tue, 07 Dec 1999 20:38:40 +0000 |
| Subject: | Problems compiling current snapshot | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7640@lists.php.net to get a copy of this message | ||
I d/l'd the latest snapshot today from http://va.php.net/~sas/snapshots/,
and I'm getting the following when I try to compile it:
Making all in odbc
/bin/sh ../../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I
. -I../.. -I../../libzend -I../.. -I../../libzend -I/usr/local/lib/apache_1.
3.9/
src/include -I/usr/local/lib/apache_1.3.9/src/os/unix -I/usr/local/include
-I/
usr/local/lib/mysql/include -I/usr/openlink/odbcsdk/include -D_POSIX_PTHR
EAD_
SEMANTICS -D_REENTRANT -O2 -g -O2 -c php_odbc.c
php_odbc.c: In function `odbc_do_connect':
php_odbc.c:1772: `SQLCHAR' undeclared (first use in this function)
php_odbc.c:1772: (Each undeclared identifier is reported only once
php_odbc.c:1772: for each function it appears in.)
php_odbc.c:1772: parse error before `d_name'
php_odbc.c:1777: `d_name' undeclared (first use in this function)
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
Here's my configure line:
./configure --with-mysql=/usr/local/lib/mysql \
--with-ldap \
--with-openlink=/usr/openlink \
--enable-trackvars \
--with-apache=/usr/local/lib/apache_1.3.9
I was able to successfully compile beta3, but I'm getting segfaults when
trying to access my database via odbc, so I figured I'd try a more recent
version to see if it's been fixed.
Brian