Sybase and PHP
| From: | jim_patterson at tx dot rr dot com | Date: | Tue, 03 Apr 2007 19:25:05 +0000 |
| Subject: | Sybase and PHP | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-43411@lists.php.net to get a copy of this message | ||
We have been using sybase with PHP4 and now are looking to move to PHP5. I ran into an installation
problem with PHP5 and starting looking at the bug reports and can't tell for sure whether
sybase is being supported any longer.
I was working with PHP5 source rpm on Fedora 6 when I ran into a problem with recompiling it
(rpmbuild -ba). I really couldn't make much of the error.
php-5.1.6-3
Building from rpm source I get the following errors.
with standard Fedora6 src I added the following line to the
--with-sybase-ct=/opt/sybase/OCS-15_0 \
Building from rpm source I get the following errors.
-----
screen error
------
checking for string.h... (cached) yes
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.17076 (%build)
----------------------------------
partial output from config logs
config.log
before this it indicated that it was in confdefs.h
-------------------------------
#define SIZEOF_LONG 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG_LONG_INT 8
#define SIZEOF_PTRDIFF_T 4
#define SIZEOF_SHORT 2
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define UCD_SNMP_HACK 1
#define UNDEF_THREADS_HACK
#define USE_GD_IMGSTRTTF 1
#define USE_GD_IMGSTRTTF 1
#define YYTEXT_POINTER 1
#define _GNU_SOURCE 1
configure: exit 1