Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

node-sass fails to work on 32-bit systems #17

Closed
bradenmacdonald opened this issue Jul 8, 2012 · 7 comments
Closed

node-sass fails to work on 32-bit systems #17

bradenmacdonald opened this issue Jul 8, 2012 · 7 comments

Comments

@bradenmacdonald
Copy link
Contributor

On 32-bit systems, node-sass installs easily with npm but cannot be used; node gives the following error:

node-sass/precompiled/linux/binding.node: wrong ELF class: ELFCLASS64

In order to get it working, I had to manually download binding.gyp from the git repo and then run npm install again, in order to rebuild node-sass as a 32-bit library.

@deanmao
Copy link
Contributor

deanmao commented Jul 11, 2012

Yeah, I only made mac & linux 64bit precompiled version so that it wouldn't need to be compiled on npm-install (some places like heroku, don't have the facilities required for compiling) but I guess we should include a 32bit one too

@bradenmacdonald
Copy link
Contributor Author

Many VPS service providers recommend that users install 32-bit builds of their desired OS, because it significantly reduces memory usage (this will be true until use of the x32 ABI becomes widespread).

@deanmao
Copy link
Contributor

deanmao commented Jul 11, 2012

I don't disagree with you here. I just don't have a 32-bit machine to build on. I'd have to configure a new vmware instance to compile the 32-bit binary. If you make a pull request of your binary, I'll gladly merge it.

@jreading
Copy link

I'm getting:

Segmentation fault: 11

on my system. I'm assuming this is 32/64bit related? any chance to fix this quickly?

@deanmao
Copy link
Contributor

deanmao commented Jul 16, 2012

just rebuild the binary yourself. git clone the repo and run node-gyp rebuild

@jreading
Copy link

Thanks, will give it a go...

@bradenmacdonald
Copy link
Contributor Author

Sorry for the delay; here's a pull request :-)
(link above)

I'm new to node programming, so let me know if I did anything wrong.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants