Re: [AOLSERVER] ns_odbc on Win32

2009-09-12 Thread Maurizio Martignano
Hello all,
I could try to add this module to my Win32-OpenACS distribution.
Anyhow I would just compile the module. I've no time to test its actual
behavior nor to properly support it.
It would be a take as is and compile thing.

Cheers,
Maurizio


-Original Message-
From: AOLserver Discussion [mailto:aolser...@listserv.aol.com] On Behalf Of
Tom Jackson
Sent: 10 September 2009 6:18 PM
To: AOLSERVER@listserv.aol.com
Subject: Re: [AOLSERVER] ns_odbc on Win32

Hopefully someone with a windows setup will take this up, or maybe a
new module can be added without the need to merge with the old
version. ODBC on windows is potentially much more useful than on *nix
since everything it seems can be an ODBC datasource.

Updating AOLserver to include a more complete ODBC/SQL CLI adapter
would be a good long term goal for this community, the only real issue
is that the current ns_db API works so well, or is easy enough to
adapt to, it is not easy to justify the pain for the marginal gain.

tom jackson

On Thu, Sep 10, 2009 at 3:38 AM, Scott Goodwinsc...@scottg.net wrote:
 Joe did this work during last year's Tcl conference when he couldn't get
 ns_odbc to compile on his Windows laptop so he could use it during a
 tutorial. I'm certain he based the changes on the version of ns_odbc in
CVS
 at that time, and I think the changes were mostly to the build process
 (Makefile). He did not add or delete any functionality; he just got it to
 compile with a newer Microsoft compiler. He sent me the changes but his
 message was promptly buried in the dog pile that is my inbox and I haven't
 even unpacked and looked at what he's done. Though I could try and merge
the
 changes myself, I have zero Windows dev experience and no Windows systems
at
 home or work to build and test it on (and no interest in moving in that
 direction). But I figured I'd make the changes available to the list so
that
 others would have the opportunity to do the merge, build, test and commit
 for the rest of the community that runs AOLserver on Windows.

 /s.


 On Sep 10, 2009, at 4:43 AM, Tom Jackson wrote:

 I wonder what the changes were. This driver is missing several API:
 select and dml (it has exec which can handle both by itself, so maybe
 they were removed).

 I have a more complete driver for unixodbc which includes transaction
 support, and a shutdown callback. If the changes are not that
 difficult, maybe I could apply them to this version as well (probably
 a different file for windows).  It may not be possible, I can see some
 internal API differences.

 Both drivers seem to be derived from a common source

 Here's the current version of nsunixodbc:
 http://www.junom.com/gitweb/gitweb.perl?p=nsunixodbc.git;a=tree;hb=18d7

 Unfortunately I have nothing setup on windows.

 tom jackson

 On Wed, Sep 9, 2009 at 8:42 AM, Scott Goodwinsc...@scottg.net wrote:

 Joe Mistachkin did some work on ns_odbc (almost a year ago) to get it to
 compile with newer Microsoft compilers; I've attached the relevant files
 if
 someone with Windows experience wants to diff and merge the changes into
 the
 module and check-in to AOLserver CVS.




 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 lists...@listserv.aol.com with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the
 Subject:
 field of your email blank.



 /s.


 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 lists...@listserv.aol.com with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the
 Subject:
 field of your email blank.



 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 lists...@listserv.aol.com with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the
 Subject: field of your email blank.


 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 lists...@listserv.aol.com with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the
Subject:
 field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject:
field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] ns_odbc on Win32

2009-09-10 Thread Scott Goodwin
Joe did this work during last year's Tcl conference when he couldn't  
get ns_odbc to compile on his Windows laptop so he could use it during  
a tutorial. I'm certain he based the changes on the version of ns_odbc  
in CVS at that time, and I think the changes were mostly to the build  
process (Makefile). He did not add or delete any functionality; he  
just got it to compile with a newer Microsoft compiler. He sent me the  
changes but his message was promptly buried in the dog pile that is my  
inbox and I haven't even unpacked and looked at what he's done. Though  
I could try and merge the changes myself, I have zero Windows dev  
experience and no Windows systems at home or work to build and test it  
on (and no interest in moving in that direction). But I figured I'd  
make the changes available to the list so that others would have the  
opportunity to do the merge, build, test and commit for the rest of  
the community that runs AOLserver on Windows.


/s.


On Sep 10, 2009, at 4:43 AM, Tom Jackson wrote:


I wonder what the changes were. This driver is missing several API:
select and dml (it has exec which can handle both by itself, so maybe
they were removed).

I have a more complete driver for unixodbc which includes transaction
support, and a shutdown callback. If the changes are not that
difficult, maybe I could apply them to this version as well (probably
a different file for windows).  It may not be possible, I can see some
internal API differences.

Both drivers seem to be derived from a common source

Here's the current version of nsunixodbc:
http://www.junom.com/gitweb/gitweb.perl? 
p=nsunixodbc.git;a=tree;hb=18d7


Unfortunately I have nothing setup on windows.

tom jackson

On Wed, Sep 9, 2009 at 8:42 AM, Scott Goodwinsc...@scottg.net wrote:
Joe Mistachkin did some work on ns_odbc (almost a year ago) to get  
it to
compile with newer Microsoft compilers; I've attached the relevant  
files if
someone with Windows experience wants to diff and merge the changes  
into the

module and check-in to AOLserver CVS.




--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the  
Subject:

field of your email blank.



/s.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the  
Subject:

field of your email blank.




--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to lists...@listserv.aol.com 
 with the
body of SIGNOFF AOLSERVER in the email message. You can leave the  
Subject: field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] ns_odbc on Win32

2009-09-10 Thread Tom Jackson
Hopefully someone with a windows setup will take this up, or maybe a
new module can be added without the need to merge with the old
version. ODBC on windows is potentially much more useful than on *nix
since everything it seems can be an ODBC datasource.

Updating AOLserver to include a more complete ODBC/SQL CLI adapter
would be a good long term goal for this community, the only real issue
is that the current ns_db API works so well, or is easy enough to
adapt to, it is not easy to justify the pain for the marginal gain.

tom jackson

On Thu, Sep 10, 2009 at 3:38 AM, Scott Goodwinsc...@scottg.net wrote:
 Joe did this work during last year's Tcl conference when he couldn't get
 ns_odbc to compile on his Windows laptop so he could use it during a
 tutorial. I'm certain he based the changes on the version of ns_odbc in CVS
 at that time, and I think the changes were mostly to the build process
 (Makefile). He did not add or delete any functionality; he just got it to
 compile with a newer Microsoft compiler. He sent me the changes but his
 message was promptly buried in the dog pile that is my inbox and I haven't
 even unpacked and looked at what he's done. Though I could try and merge the
 changes myself, I have zero Windows dev experience and no Windows systems at
 home or work to build and test it on (and no interest in moving in that
 direction). But I figured I'd make the changes available to the list so that
 others would have the opportunity to do the merge, build, test and commit
 for the rest of the community that runs AOLserver on Windows.

 /s.


 On Sep 10, 2009, at 4:43 AM, Tom Jackson wrote:

 I wonder what the changes were. This driver is missing several API:
 select and dml (it has exec which can handle both by itself, so maybe
 they were removed).

 I have a more complete driver for unixodbc which includes transaction
 support, and a shutdown callback. If the changes are not that
 difficult, maybe I could apply them to this version as well (probably
 a different file for windows).  It may not be possible, I can see some
 internal API differences.

 Both drivers seem to be derived from a common source

 Here's the current version of nsunixodbc:
 http://www.junom.com/gitweb/gitweb.perl?p=nsunixodbc.git;a=tree;hb=18d7

 Unfortunately I have nothing setup on windows.

 tom jackson

 On Wed, Sep 9, 2009 at 8:42 AM, Scott Goodwinsc...@scottg.net wrote:

 Joe Mistachkin did some work on ns_odbc (almost a year ago) to get it to
 compile with newer Microsoft compilers; I've attached the relevant files
 if
 someone with Windows experience wants to diff and merge the changes into
 the
 module and check-in to AOLserver CVS.




 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 lists...@listserv.aol.com with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the
 Subject:
 field of your email blank.



 /s.


 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 lists...@listserv.aol.com with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the
 Subject:
 field of your email blank.



 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 lists...@listserv.aol.com with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the
 Subject: field of your email blank.


 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 lists...@listserv.aol.com with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the Subject:
 field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.