Making PHP aware of Firebird 1.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying (Firebird 1.5 RC4 PHP 4.3.1 Mdk 9.1.)

Get the PHP source from http://www.php.net/downloads.php

untar it:
tar xvfz php-*.tar.gz

cd to the untared base dir:
cd php-4*

according to <http://bugs.php.net/bug.php?id=23928>
add #define ISC_FAR in php_interbase.h
export LIBS="-lstdc++ -lcrypt"


compile it with ib support:
./configure --with-interbase=shared,/opt/interbase

make

And there I got an error :
ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
/tempo/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat':
/tempo/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc':
/tempo/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc':
/tempo/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete':
/tempo/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x78):/tempo/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Erreur 1

Nota : I don't have mysql on my machine.

-- 
Philippe Makowski
Firebird serveur SQL open-source en français http://firebird-fr.eu.org
Ma clé PGP : http://makowski.eu.org/pgpkey.html




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux