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

Fails to build - CentOS 6 32 bit #18

Closed
Nibbler999 opened this issue Apr 16, 2013 · 4 comments
Closed

Fails to build - CentOS 6 32 bit #18

Nibbler999 opened this issue Apr 16, 2013 · 4 comments

Comments

@Nibbler999
Copy link
Contributor

../deps/libmariadbclient/mysys/my_context.c: Assembler messages:
../deps/libmariadbclient/mysys/my_context.c:457: Error: CFI instruction used without previous .cfi_startproc
make: *** [Release/obj.target/mysys/deps/libmariadbclient/mysys/my_context.o] Error 1
make: Leaving directory `/opt/games/node_modules/mariasql/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:256:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Linux 3.8.4-linode50
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/games/node_modules/mariasql
gyp ERR! node -v v0.8.22
gyp ERR! node-gyp -v v0.8.5
gyp ERR! not ok 
npm ERR! mariasql@0.1.16 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR! 
npm ERR! Failed at the mariasql@0.1.16 install script.
npm ERR! This is most likely a problem with the mariasql package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls mariasql
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.8.4-linode50
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "git://github.com/mscdex/node-mariasql.git"
npm ERR! cwd /opt/games
npm ERR! node -v v0.8.22
npm ERR! npm -v 1.2.14
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /opt/games/npm-debug.log

Works on 64bit.

@mscdex
Copy link
Owner

mscdex commented Apr 16, 2013

I believe this may be a binutils problem. What binutils (and gcc for that matter) version are you using? Were either the installed binutils or gcc custom compiled?

@Nibbler999
Copy link
Contributor Author

gcc-4.4.7-3.el6.i686
binutils-2.20.51.0.2-5.36.el6.i686

gcc -v

Using built-in specs.
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)

Both are distro packages.

@mscdex
Copy link
Owner

mscdex commented Apr 16, 2013

Ok so I was incorrect, I was missing a flag. Fixed in bf4f428. Give it a try with npm install https://github.com/mscdex/node-mariasql/tarball/master

@Nibbler999
Copy link
Contributor Author

Fix confirmed, thanks.

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