Date: Tue, 13 Jul 2010 12:21:47 +0200 From: "Pietro Cerutti" <gahr@gahr.ch> To: Kyryll A Mirnenko aka Mirya <mirya@zoc.com.ua> Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: databases/php5-odbc vs. libiodbc Message-ID: <20100713102147.GJ48019@gahrfit.gahr.ch> In-Reply-To: <201006151921.54486.mirya@zoc.com.ua> References: <201006151921.54486.mirya@zoc.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkw8PjoACgkQwMJqmJVx9470xQCeOjhnelR6KlJGBnLa5IukSLYf AVAAoOHMSpQqXVUY4WYd5cggWfMWsEVV =ML2p -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100713102147.GJ48019>
