Date: Sun, 5 Nov 2000 12:45:16 -0800 (PST) From: Jonathan Chen <jadedaemon@yahoo.com> To: freebsd-ports@freebsd.org, midom@dammit.lt, dirk@freebsd.org Subject: PHP, Sybase and FreeTDS Message-ID: <20001105204516.93861.qmail@web9403.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001105204516.93861.qmail>