#18517 [Asn->Opn]: PicoSQL access module

From: Date: Sat, 12 Apr 2003 14:20:04 +0000
Subject: #18517 [Asn->Opn]: PicoSQL access module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37598@lists.php.net to get a copy of this message
ID: 18517 Updated by: imajes@php.net Reported By: bilo at mit dot it -Status: Assigned +Status: Open Bug Type: Feature/Change Request Operating System: Linux, Windows NT, AIX PHP Version: 4.2.2 Assigned To: samjam New Comment: samjam's email doesn't work, so removing the assigned flag. Previous Comments: ------------------------------------------------------------------------ [2002-08-13 22:03:14] kalowsky@php.net marking as assigned. ------------------------------------------------------------------------ [2002-07-26 04:33:26] derick@php.net I think you should make it a PECL package, as this is not really a mainstream database. Derick ------------------------------------------------------------------------ [2002-07-26 04:29:31] samjam@php.net I though't I'd add a note on how easy this is with swig-cvs: # make work directory mkdir picosql-php cd picosql-php # make interface file to depend on picosql .h files # we could craft our own .i file if we wanted cat > picosql.i <<END %module picosql %{ #include <odbcsql.h> %} %include win4unix.h %include odbcsql.h END # generate php module - very easy, need cvs version of swig swig -php4 -c++ -shadow -phpfull -I/usr/include -withincs odbcsql.h -o picosql_wrap.cpp picosql.i # compile! phpize ./configure --with-picosql=/usr make make install # then test the module loading php php_picosql.php ------------------------------------------------------------------------ [2002-07-26 04:28:11] samjam@php.net Well, I've done it, if there's no objection I'll add it to CVS. Someone else (bilo@mit.it ?) will need to write the documentation and see how usable it actually is. Sam ------------------------------------------------------------------------ [2002-07-24 08:50:53] samjam@php.net I'd like to do this, using swig (www.swig.org) Sam ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18517 -- Edit this bug report at http://bugs.php.net/?id=18517&edit=1

« previous php.bugs (#37598) next »