From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 10:33:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18D171065670; Tue, 13 Jul 2010 10:33:57 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel05.rubas-s05.net (cpanel05.rubas-s05.net [195.182.222.75]) by mx1.freebsd.org (Postfix) with ESMTP id A10638FC1E; Tue, 13 Jul 2010 10:33:56 +0000 (UTC) Received: from 168-254.105-92.cust.bluewin.ch ([92.105.254.168] helo=gahrfit.gahr.ch) by cpanel05.rubas-s05.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OYcoE-0007YS-7Z; Tue, 13 Jul 2010 12:33:55 +0200 Received: by gahrfit.gahr.ch (sSMTP sendmail emulation); Tue, 13 Jul 2010 12:21:47 +0200 From: "Pietro Cerutti" Date: Tue, 13 Jul 2010 12:21:47 +0200 To: Kyryll A Mirnenko aka Mirya Message-ID: <20100713102147.GJ48019@gahrfit.gahr.ch> References: <201006151921.54486.mirya@zoc.com.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nywXBoy70X0GaB8B" Content-Disposition: inline In-Reply-To: <201006151921.54486.mirya@zoc.com.ua> X-PGP-Key: 0x9571F78E X-PGP-Fingerprint: 1203 92B5 3919 AF84 9B97 28D6 C0C2 6A98 9571 F78E User-Agent: Mutt/1.5.20 (2009-06-14) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel05.rubas-s05.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: databases/php5-odbc vs. libiodbc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gahr@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2010 10:33:57 -0000 --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--