Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15972 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16041 invoked by uid 1010); 15 Apr 2005 16:30:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16017 invoked from network); 15 Apr 2005 16:30:44 -0000 Received: from unknown (HELO birdstep.com) (127.0.0.1) by localhost with SMTP; 15 Apr 2005 16:30:44 -0000 X-Host-Fingerprint: 67.139.146.250 unknown Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from ([67.139.146.250:51982] helo=xchgsrv.SeattleAD.bstep.us) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id CF/DF-45330-33CEF524 for ; Fri, 15 Apr 2005 12:30:43 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 15 Apr 2005 09:33:55 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] Update for Birdstep RDM Server / RAIMA Velocis support in PHP 4 & 5 Thread-Index: AcVBwO4B5UPHC6h+QpCkTWzkmWfO2AAF+Jzw To: "Albert Lash" , "Jani Taskinen" Cc: Subject: RE: [PHP-DEV] Update for Birdstep RDM Server / RAIMA Velocis support in PHP 4 & 5 From: jhiggins@birdstep.com ("John Higgins") Jani, Albert, have I missed something? I don't see what this has to do = with my update, is this a mistake or am I missing something? Thanks, ------------------------------------------------------------- Birdstep Technology John Higgins Office: 206 748 5353 Software Engineer Fax: 206 748 5200 Direct: 206 748 5240 Web: http://www.birdstep.com -----Original Message----- From: Albert Lash [mailto:alby@thirteen.net] Sent: Friday, April 15, 2005 6:46 AM To: Jani Taskinen Cc: John Higgins; internals@lists.php.net Subject: Re: [PHP-DEV] Update for Birdstep RDM Server / RAIMA Velocis support in PHP 4 & 5 Hi Jani, Its all set. I've got back and fixed the problems I was getting while compiling, so there are now no existing lines of code commented out. = There are several that were removed, all having something to do with SWFMovie_output, for example: #ifdef HAVE_NEW_MING RETURN_LONG(SWFMovie_output(movie, &phpByteOutputMethod, NULL, limit)); #else RETURN_LONG(SWFMovie_output(movie, &phpByteOutputMethod, NULL)); #endif It is now simplified as : RETURN_LONG(SWFMovie_output(movie, &phpByteOutputMethod, NULL)); This is because the SWFMovie_output function no longer has this last argument, as seen in ming/php_ext/ming.c line 620. The patch is online: http://people.thirteen.net/~alby/php_ext_ming.patch You can download a bzip2 compressed version also: http://people.thirteen.net/~alby/php_ext_ming.patch.bz2 From here, the FLV function needs to be added, but I haven't found time = to do so. Regards, Alby On Fri, 15 Apr 2005, Jani Taskinen wrote: > > I have committed a little bit modified version of this > patch in all branches. Basically I just replaced your two > 'uname' calls by using $host_alias and used $SHLIB_SUFFIX_NAME > instead of .so / .sl. > > --Jani > > > On Mon, 11 Apr 2005, John Higgins wrote: > > > I would like to submit an update for the UODBC module in PHP 4 & 5. = The > > changes update PHP's UODBC module to work with the latest versions = of > > Birdstep's RDM Server DBMS, while maintaining compatibility with = previously > > supported versions. The update was necessary due to a change in = Birdstep's > > library names as well as new functionality in RDM Server. The = changes > > affect two files, and are detailed in the diff output below. As I = would > > like to update the latest versions of PHP 4 as well as PHP 5, I have = pasted > > the diff output for version 5 into this post, and will reply to this = post > > with the diff for PHP 4. Please let me know if I can do anything to = make > > this easier... > > > > - John > > > > PHP 5 diff > > ********************************************************** > > Index: ext/odbc/config.m4 > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > RCS file: /repository/php-src/ext/odbc/config.m4,v > > retrieving revision 1.72 > > diff -u -r1.72 config.m4 > > --- ext/odbc/config.m4 10 Apr 2005 19:23:59 -0000 1.72 > > +++ ext/odbc/config.m4 11 Apr 2005 17:47:11 -0000 > > @@ -339,6 +339,22 @@ > > [ > > PHP_WITH_SHARED > > > > + ac_birdstep_uname_s=3D`uname -s 2>/dev/null` > > + ac_birdstep_uname_p=3D`uname -p 2>/dev/null` > > + case $ac_birdstep_uname_s in > > + AIX) AC_DEFINE(AIX,1,[ ]);; > > + HP-UX) AC_DEFINE(HPUX,1,[ ]);; > > + Linux) AC_DEFINE(LINUX,1,[ ]);; > > + QNX) AC_DEFINE(NEUTRINO,1,[ ]);; > > + SunOS) > > + if test "$ac_birdstep_uname_p" =3D=3D "i386"; then > > + AC_DEFINE(ISOLARIS,1,[ ]) > > + elif test "$ac_birdstep_uname_p" =3D=3D "sparc"; then > > + AC_DEFINE(SOLARIS,1,[ ]) > > + fi;; > > + UnixWare) AC_DEFINE(UNIXWARE,1,[ ]);; > > + esac > > + > > if test "$withval" !=3D "no"; then > > if test "$withval" =3D "yes"; then > > ODBC_INCDIR=3D/usr/local/birdstep/include > > @@ -350,7 +366,12 @@ > > ODBC_INCLUDE=3D-I$ODBC_INCDIR > > ODBC_TYPE=3Dbirdstep > > ODBC_LFLAGS=3D-L$ODBC_LIBDIR > > - > > ODBC_LIBS=3D"-lCadm -lCdict -lCenc -lCrdm -lCrpc -lCrdbc -lCrm = -lCuapi -lutil" > > + if test -e "$ODBC_LIBDIR/libCrdbc32.so" -o -e > > "$ODBC_LIBDIR/libCrdbc32.sl"; then > > + > > ODBC_LIBS=3D"-lCrdbc32 -lCadm32 -lCncp32 -lCrm32 -lCsql32 = -lCdict32 -lCrdm32 > > -lCrpc32 -lutil" > > + elif test -e "$ODBC_LIBDIR/libCrdbc.so" -o -e > > "$ODBC_LIBDIR/libCrdbc.sl"; then > > + > > ODBC_LIBS=3D"-lCrdbc -lCadm -lCncp -lCrm -lCsql -lCdict -lCrdm = -lCrpc -lutil" > > + fi > > + > > AC_DEFINE(HAVE_BIRDSTEP,1,[ ]) > > > > AC_MSG_RESULT(yes) > > Index: ext/odbc/php_odbc.h > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > RCS file: /repository/php-src/ext/odbc/php_odbc.h,v > > retrieving revision 1.58 > > diff -u -r1.58 php_odbc.h > > --- ext/odbc/php_odbc.h 8 Jan 2004 17:32:34 -0000 1.58 > > +++ ext/odbc/php_odbc.h 11 Apr 2005 17:47:11 -0000 > > @@ -33,8 +33,8 @@ > > extern zend_module_entry odbc_module_entry; > > #define odbc_module_ptr &odbc_module_entry > > > > -#if defined(HAVE_DBMAKER) || defined(PHP_WIN32) || = defined(HAVE_IBMDB2) || > > defined(HAVE_UNIXODBC) > > -# define PHP_ODBC_HAVE_FETCH_HASH 1 > > +#if defined(HAVE_DBMAKER) || defined(PHP_WIN32) || = defined(HAVE_IBMDB2) || > > defined(HAVE_UNIXODBC) || defined(HAVE_BIRDSTEP) > > +#define PHP_ODBC_HAVE_FETCH_HASH 1 > > #endif > > > > /* user functions */ > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >