Re: [Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy

2008-09-29 Thread Steve Langasek
On Mon, Sep 29, 2008 at 12:30:01PM -, knb wrote:
 It has been true in the past that sybase and mssql server shared a
 common code base, a common api and a common transfer protocol. However
 this is no longer the case for at least 10 years.

That's irrelevant given that there's only one library implementation in
Ubuntu that talks to both of them (FreeTDS).

Bugs in the individual PHP extensions notwithstanding, there's no reason to
ship separate packages for each server type.

-- 
sybase_* functions missing in php5-sybase for hardy
https://bugs.launchpad.net/bugs/240519
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy

2008-09-29 Thread Ondřej Surý
Speaking with my debian php maintainer hat.

If you are able to install non-free sybase libraries, you are also
able to install php5-dev and run phpize  make  make install
in sybase_ct directory.

Ie. if you want to use non-free libraries, you cannot expect help
from package distributors.

O.

2008/9/29 knb [EMAIL PROTECTED]:
 The common dependency of both sybase mad mssql Vendor Specific Database 
 Extensions on FreetTDS libs  might be advantageous for the package developer 
 or maintainer, but it  has disadvantages for the library users:
 - if I remove  the Sybase DB  Extension using synaptic, I also lose the MSSQL 
 Server connectivity.
 - it is still confusing to be forced to connect to a sybase database using 
 mssql_connect(), or to call a mssql server with sybase_connect() . - it took 
 me some time to understand the whole issue. However it is next to impossible 
 to communicate the situation to other web developers and new colleagues.

 And what will happen if the FreeTDS developer(s) decided someday to drop
 compatibility for one of the server types, or too fork development?

 Instead of using freetds,  a linux user can still install the original C 
 Client libraries from Sybase. As part of the ASE DB server developer 
 trial-edition/expres-edition, these libraries are available for free but not 
 as open-source from Sybase in 32bit and 64 bit versions.
 (The 32-bit header files are available also free of charge from Sybase, 
 whereas the 64 bit versions  of the header files aren't. Here it is indeed an 
 advantage to have a basic 64bit FreetTDS-based sybase client that works)

 Seems that I have to do my php with-sybase-ct development on a different
 machine, than my unix box.

 --
 sybase_* functions missing in php5-sybase for hardy
 https://bugs.launchpad.net/bugs/240519
 You received this bug notification because you are subscribed to php5 in
 ubuntu.



-- 
Ondřej Surý [EMAIL PROTECTED]

-- 
sybase_* functions missing in php5-sybase for hardy
https://bugs.launchpad.net/bugs/240519
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 240519] Re: sybase_* functions missing in php5-sybase for hardy

2008-06-18 Thread Ondřej Surý
http://us3.php.net/manual/en/aliases.php


 That doc clearly says that the mssql_* functions are the aliases. How
 can you leave in the alias functions and remove the masters? I don't
 even understand how that's possible, much less desirable.


This document is wrong. Feel free to report bug at php. It's true for
sybase_ct extension, but not for mssql based function. Anyway I thought that
Steve aliased sybase_* to mssql_* when he made this transition in Debian. I
wonder why he hasn't do it.


 I've counted on Ubuntu packages for years, but if the directive is to
 now treat complete feature removal with so little care or oversight,
 then I'll have to look elsewhere for my server platforms.


Please don't be hysterical. Attached patch should do the trick. For now you
can just download php sources, go to ext/mssql, apply patch, install
php5-dev, run phpize  configure  make  make install. Full recompile of
php is not neccessary.

BIG WARNING: I didn't test the patch. Use at own risk, I don't even now if
it compiles (it should, but who knows).


-- 
Ondřej Surý [EMAIL PROTECTED]

** Attachment added: unnamed
   http://launchpadlibrarian.net/15414448/unnamed

** Attachment added: php_mssql.c.patch
   http://launchpadlibrarian.net/15414449/php_mssql.c.patch

-- 
sybase_* functions missing in php5-sybase for hardy
https://bugs.launchpad.net/bugs/240519
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs