From owner-freebsd-ports Sun Nov 5 12:45:18 2000 Delivered-To: freebsd-ports@freebsd.org Received: from web9403.mail.yahoo.com (web9403.mail.yahoo.com [216.136.129.109]) by hub.freebsd.org (Postfix) with SMTP id 22F3337B4CF for ; Sun, 5 Nov 2000 12:45:16 -0800 (PST) Message-ID: <20001105204516.93861.qmail@web9403.mail.yahoo.com> Received: from [203.99.66.4] by web9403.mail.yahoo.com; Sun, 05 Nov 2000 12:45:16 PST Date: Sun, 5 Nov 2000 12:45:16 -0800 (PST) From: Jonathan Chen Subject: PHP, Sybase and FreeTDS To: freebsd-ports@freebsd.org, midom@dammit.lt, dirk@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Recently tried compiling PHP4 with Sybase support, and discovered that this just did not work. After some hunting around, I traced it down to the databases/freetds compilation option which has: --with-tdsver=7.0 According to the freetds docs, tdsver=4.2 works with M$ SQL Server and Sybase (version < 10); tdsver=5.0 works only with Sybase; tdsver=7.0 only works with M$SQL Server. I tweaked the build option to tdsver=5.0, and PHP functions as expected. Would it be possible to request a change to freetds build so that the port builds 3 versions of the freetds library with the tds-protocol as the suffix (eg libtds4.2, libtds5.0, libtds7.0). The installed include files are common for all the 3 versions of the protocol. This way the PHP port would check for libct5.0 & libtds5.0 during its build. Cheers, Jonathan Chen __________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message