saxon-node icon indicating copy to clipboard operation
saxon-node copied to clipboard

Availability on Windows?

Open jfix opened this issue 8 years ago • 15 comments

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!

jfix avatar Aug 02 '17 14:08 jfix

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 [email protected] 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.

ond1 avatar Aug 02 '17 15:08 ond1

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 [email protected] 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 [email protected] 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 .

jfix avatar Aug 02 '17 16:08 jfix

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 [email protected] 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 [email protected] 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 [email protected] 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.

ond1 avatar Aug 03 '17 14:08 ond1

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 [email protected] 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 [email protected] 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 [email protected] 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 [email protected] 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 .

jfix avatar Aug 03 '17 14:08 jfix

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 [email protected] 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 [email protected] 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 [email protected] 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 [email protected] 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 [email protected] 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.

ond1 avatar Aug 03 '17 15:08 ond1

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 [email protected] 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 [email protected] 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 [email protected] 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 [email protected] 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 [email protected] 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 [email protected] 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 .

jfix avatar Aug 03 '17 22:08 jfix

I can test building saxon-node on a windows box

rimmartin avatar Aug 05 '17 01:08 rimmartin

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

On 5 Aug 2017, at 02:06, rimmartin [email protected] 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.

ond1 avatar Sep 27 '17 16:09 ond1

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

rimmartin avatar Sep 29 '17 12:09 rimmartin

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!

rimmartin avatar Oct 23 '17 19:10 rimmartin

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

nschonni avatar Aug 27 '18 17:08 nschonni

you mean the version

'msbuild_toolset': 'v120',

?

rimmartin avatar Aug 27 '18 17:08 rimmartin

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

nschonni avatar Aug 27 '18 18:08 nschonni

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 avatar Aug 27 '18 18:08 rimmartin

can you post the first few compile error stacks?

rimmartin avatar Aug 27 '18 18:08 rimmartin