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

installation fails to compile on ubuntu x86_64 #11

Closed
mauritslamers opened this issue Jun 12, 2012 · 3 comments
Closed

installation fails to compile on ubuntu x86_64 #11

mauritslamers opened this issue Jun 12, 2012 · 3 comments

Comments

@mauritslamers
Copy link
Contributor

When trying to install node-sass through npm, the compilation process fails while linking.

[2/2] cxx_link: build/Release/binding_1.o libsass/libsass.a -> build/Release/binding.node
/usr/bin/ld: ../libsass/libsass.a(sass_interface.o): relocation R_X86_64_32S against `std::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' can not be used when making a shared object; recompile with -fPIC
../libsass/libsass.a: could not read symbols: Bad value

When manually compiling master, it succeeds.

@mauritslamers
Copy link
Contributor Author

hmm, very weird... I first get these errors, but now it compiles without issues...
I did notice though that at first npm didn't download the nodejs source code, so it also failed on node.h
anyway, it does seem to work after all...

@deanmao
Copy link
Contributor

deanmao commented Jun 12, 2012

are you using node-gyp or waf? I was able to compile using gyp on x86_64. There's no reason for it to look for libsass.a -- that looks like something from the node-waf days.

We should probably just remove wscript so that there's only 1 way to build the package.

@mauritslamers
Copy link
Contributor Author

Yes, I was at first. That is also why I already closed the issue, because while it didn't install at first, it did three minutes later.

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

No branches or pull requests

2 participants