rimmartin / saxon-node

MIT License
64 stars 6 forks source link

Availability on Windows? #20

Open jfix opened 7 years ago

jfix commented 7 years ago

Hello, I'm interested in using your bindings to Saxon/C, however I'm constrained to use Windows. Can you tell me what the current situation is? Can I use your module on Windows? Thanks for your help!

ond1 commented 7 years ago

We will need a Saxon/C dll library build for windows. Which we are looking to do in the next release. Not sure what else is required.

On 2 Aug 2017, at 15:48, Jakob Fix notifications@github.com wrote:

Hello, I'm interested in using your bindings to Saxon/C, however I'm constrained to use Windows. Can you tell me what the current situation is? Can I use your module on Windows? Thanks for your help!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20, or mute the thread https://github.com/notifications/unsubscribe-auth/ADd5MDvtwNNgGrF5esW39iukTYfOqGLdks5sUIxWgaJpZM4OrNOF.

jfix commented 7 years ago

Thanks for that quick answer. Any idea when that release might happen? Thanks.

cheers, Jakob.

On Wed, Aug 2, 2017 at 5:33 PM, ond1 notifications@github.com wrote:

We will need a Saxon/C dll library build for windows. Which we are looking to do in the next release. Not sure what else is required.

On 2 Aug 2017, at 15:48, Jakob Fix notifications@github.com wrote:

Hello, I'm interested in using your bindings to Saxon/C, however I'm constrained to use Windows. Can you tell me what the current situation is? Can I use your module on Windows? Thanks for your help!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/rimmartin/saxon-node/issues/20>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ ADd5MDvtwNNgGrF5esW39iukTYfOqGLdks5sUIxWgaJpZM4OrNOF>.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20#issuecomment-319709039, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKZAF86C0h6eHfWsIF51MBaJeOtGviBks5sUJawgaJpZM4OrNOF .

ond1 commented 7 years ago

We are almost there. Currently working on migration from PHP5 to PHP7 library. Hopefully in the next 1-2 months.

On 2 Aug 2017, at 17:14, Jakob Fix notifications@github.com wrote:

Thanks for that quick answer. Any idea when that release might happen? Thanks.

cheers, Jakob.

On Wed, Aug 2, 2017 at 5:33 PM, ond1 notifications@github.com wrote:

We will need a Saxon/C dll library build for windows. Which we are looking to do in the next release. Not sure what else is required.

On 2 Aug 2017, at 15:48, Jakob Fix notifications@github.com wrote:

Hello, I'm interested in using your bindings to Saxon/C, however I'm constrained to use Windows. Can you tell me what the current situation is? Can I use your module on Windows? Thanks for your help!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/rimmartin/saxon-node/issues/20>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ ADd5MDvtwNNgGrF5esW39iukTYfOqGLdks5sUIxWgaJpZM4OrNOF>.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20#issuecomment-319709039, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKZAF86C0h6eHfWsIF51MBaJeOtGviBks5sUJawgaJpZM4OrNOF .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20#issuecomment-319721608, or mute the thread https://github.com/notifications/unsubscribe-auth/ADd5MGUUmPYNOUTKe0EOAd-yFt3YpT60ks5sUKBVgaJpZM4OrNOF.

jfix commented 7 years ago

Thanks for this (provisional) timeline!

I guess there is no help we can give to speed this up? I'm really looking for a way to use Saxon from node, and that seems to be the module we would need, given that it's being maintained by you, the Saxonica people, yourselves! ;-)

Again, thanks, and if we can provide help ...

cheers, Jakob.

On Thu, Aug 3, 2017 at 4:04 PM, ond1 notifications@github.com wrote:

We are almost there. Currently working on migration from PHP5 to PHP7 library. Hopefully in the next 1-2 months.

On 2 Aug 2017, at 17:14, Jakob Fix notifications@github.com wrote:

Thanks for that quick answer. Any idea when that release might happen? Thanks.

cheers, Jakob.

On Wed, Aug 2, 2017 at 5:33 PM, ond1 notifications@github.com wrote:

We will need a Saxon/C dll library build for windows. Which we are looking to do in the next release. Not sure what else is required.

On 2 Aug 2017, at 15:48, Jakob Fix notifications@github.com wrote:

Hello, I'm interested in using your bindings to Saxon/C, however I'm constrained to use Windows. Can you tell me what the current situation is? Can I use your module on Windows? Thanks for your help!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/rimmartin/saxon-node/issues/20>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ ADd5MDvtwNNgGrF5esW39iukTYfOqGLdks5sUIxWgaJpZM4OrNOF>.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20# issuecomment-319709039, or mute the thread https://github.com/notifications/unsubscribe-auth/ AAKZAF86C0h6eHfWsIF51MBaJeOtGviBks5sUJawgaJpZM4OrNOF .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/rimmartin/saxon-node/issues/20#issuecomment-319721608>, or mute the thread https://github.com/notifications/unsubscribe- auth/ADd5MGUUmPYNOUTKe0EOAd-yFt3YpT60ks5sUKBVgaJpZM4OrNOF.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20#issuecomment-319978678, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKZAJGm7zsS9y1iy0M6_gaQD2-_tHGNks5sUdN8gaJpZM4OrNOF .

ond1 commented 7 years ago

We could send you the dll library of the current release which you can then use with the C/C++ API o build the part that hooks up with saxon-node.

On 3 Aug 2017, at 15:12, Jakob Fix notifications@github.com wrote:

Thanks for this (provisional) timeline!

I guess there is no help we can give to speed this up? I'm really looking for a way to use Saxon from node, and that seems to be the module we would need, given that it's being maintained by you, the Saxonica people, yourselves! ;-)

Again, thanks, and if we can provide help ...

cheers, Jakob.

On Thu, Aug 3, 2017 at 4:04 PM, ond1 notifications@github.com wrote:

We are almost there. Currently working on migration from PHP5 to PHP7 library. Hopefully in the next 1-2 months.

On 2 Aug 2017, at 17:14, Jakob Fix notifications@github.com wrote:

Thanks for that quick answer. Any idea when that release might happen? Thanks.

cheers, Jakob.

On Wed, Aug 2, 2017 at 5:33 PM, ond1 notifications@github.com wrote:

We will need a Saxon/C dll library build for windows. Which we are looking to do in the next release. Not sure what else is required.

On 2 Aug 2017, at 15:48, Jakob Fix notifications@github.com wrote:

Hello, I'm interested in using your bindings to Saxon/C, however I'm constrained to use Windows. Can you tell me what the current situation is? Can I use your module on Windows? Thanks for your help!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/rimmartin/saxon-node/issues/20>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ ADd5MDvtwNNgGrF5esW39iukTYfOqGLdks5sUIxWgaJpZM4OrNOF>.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20# issuecomment-319709039, or mute the thread https://github.com/notifications/unsubscribe-auth/ AAKZAF86C0h6eHfWsIF51MBaJeOtGviBks5sUJawgaJpZM4OrNOF .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/rimmartin/saxon-node/issues/20#issuecomment-319721608>, or mute the thread https://github.com/notifications/unsubscribe- auth/ADd5MGUUmPYNOUTKe0EOAd-yFt3YpT60ks5sUKBVgaJpZM4OrNOF.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20#issuecomment-319978678, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKZAJGm7zsS9y1iy0M6_gaQD2-_tHGNks5sUdN8gaJpZM4OrNOF .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20#issuecomment-319980785, or mute the thread https://github.com/notifications/unsubscribe-auth/ADd5MEGbzaD63ENOWFKTeo38e9V4kKkeks5sUdUwgaJpZM4OrNOF.

jfix commented 7 years ago

I'm afraid this is outside my competencies. :-( I'd be gladly testing the module though! Thanks.

cheers, Jakob.

On Thu, Aug 3, 2017 at 5:27 PM, ond1 notifications@github.com wrote:

We could send you the dll library of the current release which you can then use with the C/C++ API o build the part that hooks up with saxon-node.

On 3 Aug 2017, at 15:12, Jakob Fix notifications@github.com wrote:

Thanks for this (provisional) timeline!

I guess there is no help we can give to speed this up? I'm really looking for a way to use Saxon from node, and that seems to be the module we would need, given that it's being maintained by you, the Saxonica people, yourselves! ;-)

Again, thanks, and if we can provide help ...

cheers, Jakob.

On Thu, Aug 3, 2017 at 4:04 PM, ond1 notifications@github.com wrote:

We are almost there. Currently working on migration from PHP5 to PHP7 library. Hopefully in the next 1-2 months.

On 2 Aug 2017, at 17:14, Jakob Fix notifications@github.com wrote:

Thanks for that quick answer. Any idea when that release might happen? Thanks.

cheers, Jakob.

On Wed, Aug 2, 2017 at 5:33 PM, ond1 notifications@github.com wrote:

We will need a Saxon/C dll library build for windows. Which we are looking to do in the next release. Not sure what else is required.

On 2 Aug 2017, at 15:48, Jakob Fix notifications@github.com wrote:

Hello, I'm interested in using your bindings to Saxon/C, however I'm constrained to use Windows. Can you tell me what the current situation is? Can I use your module on Windows? Thanks for your help!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/rimmartin/saxon-node/issues/20>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ ADd5MDvtwNNgGrF5esW39iukTYfOqGLdks5sUIxWgaJpZM4OrNOF>.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20# issuecomment-319709039, or mute the thread https://github.com/notifications/unsubscribe-auth/ AAKZAF86C0h6eHfWsIF51MBaJeOtGviBks5sUJawgaJpZM4OrNOF .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/rimmartin/saxon-node/issues/20# issuecomment-319721608>, or mute the thread https://github.com/notifications/unsubscribe- auth/ADd5MGUUmPYNOUTKe0EOAd-yFt3YpT60ks5sUKBVgaJpZM4OrNOF.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20# issuecomment-319978678, or mute the thread https://github.com/notifications/unsubscribe- auth/AAKZAJGm7zsS9y1iy0M6_gaQD2-_tHGNks5sUdN8gaJpZM4OrNOF .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/rimmartin/saxon-node/issues/20#issuecomment-319980785>, or mute the thread https://github.com/notifications/unsubscribe-auth/ ADd5MEGbzaD63ENOWFKTeo38e9V4kKkeks5sUdUwgaJpZM4OrNOF.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20#issuecomment-320003416, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKZAKBumhoM8VlQEZkkKrL_F775mXkGks5sUebdgaJpZM4OrNOF .

rimmartin commented 7 years ago

I can test building saxon-node on a windows box

ond1 commented 7 years ago

We have a Saxon/C 1.1.0 release out today which includes a windows release.

On 5 Aug 2017, at 02:06, rimmartin notifications@github.com wrote:

I can test building saxon-node on a windows box

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rimmartin/saxon-node/issues/20#issuecomment-320382523, or mute the thread https://github.com/notifications/unsubscribe-auth/ADd5MCH9E9xCtGZuLYGlV167PjY5glQHks5sU8AlgaJpZM4OrNOF.

rimmartin commented 7 years ago

Ah great! I'll update this interface and include windows!

rimmartin commented 7 years ago

Hi @ond1

I needed to change enc_len to env_len on line 35 in SaxonCGlue.c to compile further.

Which Visual Studio are you using? 2015?

With 2013 I run into the "SaxonProcessor.cpp(330): error C3861: 'snprintf': identifier not found" issue I see on the internet

We are close to saxon-node running again on Windows!

nschonni commented 6 years ago

CI was setup with (https://github.com/rimmartin/saxon-node/pull/22), but I haven't gotten it running on my own VS 2017 + Node 10 machine since there are hardcoded VS 2015 bits in the binding.gyp

rimmartin commented 6 years ago

you mean the version

'msbuild_toolset': 'v120',

?

nschonni commented 6 years ago

Yes that's part of it, but removing that still didn't give me a successful build

rimmartin commented 6 years ago

I can't build it on windows with 2017 community version either I set the above to

                'msbuild_toolset': 'v141',

and get different errors than when running with 2015

rimmartin commented 6 years ago

can you post the first few compile error stacks?