On 2010-Jun-15, 19:21, Kyryll A Mirnenko aka Mirya wrote:
>   Currently the databases/php5-odbc PHP extension is hardcoded to be compiled 
> with unixODBC backend, so the users that have libiodbc installed (as a 
> dependency of kde4 ports, for ex.) can't installed the first 'cause those two 
> ODBC ports conflict with each other.
>   The php-odbc configure script however says (./configure --help) it can be 
> compiled with iODBC support (--with-iodbc=/usr/local), but for some reason 
> simply replacing the configure script arguments for the port (with libiodbc 
> installed from ports) result in nothing being done: the configure script 
> creates the Makefile with empty target, so nothing is built actually.
>   Did anyone have success before with building php5-odbc lniked to iodbc 
> backend?

I've been able have the php5-odbc extension link against libiodbc by
applying this patch [1] to lang/php5. I haven't conducted any run-tests,
though. Please feel free to report success / failure :)

[1] http://people.freebsd.org/~gahr/Makefile.ext.diff

-- 
Pietro Cerutti
The FreeBSD Project
g...@freebsd.org

PGP Public Key:
http://gahr.ch/pgp

Attachment: pgpIcen8SpxEk.pgp
Description: PGP signature

Reply via email to