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

From: Date: Wed, 14 Aug 2002 02:03:14 +0000
Subject: #18517 [Opn->Asn]: PicoSQL access module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16673@lists.php.net to get a copy of this message
ID: 18517 Updated by: kalowsky@php.net Reported By: bilo@mit.it -Status: Open +Status: Assigned Bug Type: Feature/Change Request Operating System: Linux, Windows NT, AIX PHP Version: 4.2.2 Assigned To: samjam New Comment: marking as assigned. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2002-07-24 03:33:54] bilo@mit.it This is the right link: http://www.picosoft.it/picosql/ The main page is only in italian! ------------------------------------------------------------------------ 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 (#16673) next »