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
--nywXBoy70X0GaB8B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Jun-15, 19:21, Kyryll A Mirnenko aka Mirya wrote: > Currently the databases/php5-odbc PHP extension is hardcoded to be comp= iled=20 > with unixODBC backend, so the users that have libiodbc installed (as a=20 > dependency of kde4 ports, for ex.) can't installed the first 'cause those= two=20 > ODBC ports conflict with each other. > The php-odbc configure script however says (./configure --help) it can = be=20 > compiled with iODBC support (--with-iodbc=3D/usr/local), but for some rea= son=20 > simply replacing the configure script arguments for the port (with libiod= bc=20 > installed from ports) result in nothing being done: the configure script= =20 > creates the Makefile with empty target, so nothing is built actually. > Did anyone have success before with building php5-odbc lniked to iodbc= =20 > 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 --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --nywXBoy70X0GaB8B Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkw8PjoACgkQwMJqmJVx9470xQCeOjhnelR6KlJGBnLa5IukSLYf AVAAoOHMSpQqXVUY4WYd5cggWfMWsEVV =ML2p -----END PGP SIGNATURE----- --nywXBoy70X0GaB8B--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100713102147.GJ48019>