Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create build scripts for win64 and linux #2

Closed
nthjelme opened this issue Apr 19, 2016 · 4 comments
Closed

Create build scripts for win64 and linux #2

nthjelme opened this issue Apr 19, 2016 · 4 comments

Comments

@nthjelme
Copy link
Owner

No description provided.

@nthjelme
Copy link
Owner Author

It will only work on 32-bit Linux, as the IBM Notes C++ API (which the nodejs-domino is using) only comes with prebuilt 32-bit libs for Linux.

I guess you can build it on 64-bit Linux if you install the 32-bit build tools/gcc and libs and build it against the 32-bit Notes client.

You would also need to add a condition OS=="linux" to the bindings.gyp file, with the correct compiler flags,libraries, etc.

Because of that, and the C++ API isn't supported by IBM anymore, I'm planning to rewrite the implementations against the supported C API. It would then be possible to target 64-bit Linux.

I would be very happy if anyone would like to help out with the rewrite.. :)

@cristiandley
Copy link

@nthjelme okey i will start doing some PR's under "linux" branch

or what name should i use ?

@nthjelme
Copy link
Owner Author

"linux" if fine :)

I did play around with building on linux a while back, here is the binding.gyp I used. Hopefully it'll give you a little head start..

@nthjelme
Copy link
Owner Author

nthjelme commented Jun 9, 2017

It does now build and run under linux, it's only been tested in ubuntu 14.04 running iin a docker container

.

@nthjelme nthjelme closed this as completed Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants