Код: Выделить всё
#uname -v
FreeBSD 6.4-STABLE #1
# httpd -v
Server version: Apache/1.3.42 (Unix)
# php -v
PHP 5.3.4 with Suhosin-Patch (cli) (built: Jan 8 2011 20:58:55)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Итого нужна поддержка Firebird в php. Для этого пытаюсь поставить порт /usr/ports/databases/php5-interbase и получаю ошибку:
configure: error: libgds, libib_util or libfbclient not found! Check config.log for more information.
config.log большой. Строки непосредственно перед ошибкой
Код: Выделить всё
configure:4223: result: no
configure:4336: checking for isc_detach_database in -lib_util
configure:4361: cc -o conftest -O2 -fno-strict-aliasing -pipe -R/usr/local/lib -L/usr/local/lib conftest.c -lib_util >&5
/var/tmp//cco5SkMj.o(.text+0xd): In function `main':
: undefined reference to `isc_detach_database'
configure:4361: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char isc_detach_database ();
| int
| main ()
| {
| return isc_detach_database ();
| ;
| return 0;
| }
configure:4370: result: no
configure:4386: error: libgds, libib_util or libfbclient not found! Check config.log for more information.
Код: Выделить всё
#make LDFLAGS="-lpthread"
Есть у кого-нить идеи как это побороть?