brettstimmerman / solder

Combines and minifies JavaScript and CSS at runtime and build time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm install failure

cschram opened this issue · comments

[4/4] cxx_link: build/default/src/glob_3.o build/default/deps/glob/glob_1.o build/default/deps/fnmatch/fnmatch_2.o -> build/default/glob.node
/usr/bin/ld: default/deps/glob/glob_1.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
default/deps/glob/glob_1.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Waf: Leaving directory `/usr/local/lib/node/.npm/glob/2.0.2/package/build'
Build failed:  -> task failed (err #1): 
    {task: cxx_link glob_3.o,glob_1.o,fnmatch_2.o -> glob.node}
npm info glob@2.0.2 Failed to exec preinstall script
npm ERR! install failed Error: glob@2.0.2 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! install failed `sh` failed with 1
npm ERR! install failed     at ChildProcess.<anonymous> (/usr/local/lib/node/.npm/npm/0.2.17/package/lib/utils/exec.js:25:18)
npm ERR! install failed     at ChildProcess.emit (events.js:45:17)
npm ERR! install failed     at ChildProcess.onexit (child_process.js:171:12)
npm info install failed rollback

I get this error when trying to run 'npm install solder.' I'm running Ubuntu 10.10.

Thanks for the report. Looks like node-glob has been having issues on Linux. There have been a few updates to it this weekend. I'll see about bumping the dependency to a more recent version tomorrow morning.

I bumped the glob dependency in 8b0e6, and published solder@0.0.3 in npm.

I don't have a Linux machine readily available to test on. Would you mind letting me know how it goes?

Hm, same exact error still persists.

I see now your original error was already against glob 2.0.2. You should open this issue against node-glob: https://github.com/isaacs/node-glob