error configure in ubuntu system

Abierto
#5 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
cpp, node.js
Área
build-system

Línea de trabajo

Reproduce la instalación global mediante npm con Node v0.12.0 y node-gyp 1.0.2; después, inspecciona src/atom.cpp en la línea indicada y la salida de compilación generada. Comprueba las versiones de Node/V8 compatibles con el paquete y los requisitos de compilación. Se considera completado cuando el paquete openbabel se instala correctamente en Ubuntu sin el fallo de compilación indicado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

$ npm install openbabel -g
/

[email protected] install /home/register/sf_install/node/lib/node_modules/openbabel
node-gyp rebuild

child_process: customFds option is deprecated, use stdio instead.
make: Entering directory /home/register/sf_install/node/lib/node_modules/openbabel/build' CXX(target) Release/obj.target/openbabel/src/atom.o In file included from ../src/atom.cpp:1:0: /home/register/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object, T = v8::Object]’: /home/register/.node-gyp/0.12.0/deps/v8/include/v8.h:592:5: instantiated from ‘static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Object, M = v8::NonCopyablePersistentTraits<v8::Object>, T = v8::Object, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Object>]’ /home/register/.node-gyp/0.12.0/deps/v8/include/v8.h:5826:3: instantiated from ‘void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Object, M2 = v8::NonCopyablePersistentTraits<v8::Object>, T = v8::Object, M = v8::NonCopyablePersistentTraits<v8::Object>]’ /home/register/.node-gyp/0.12.0/deps/v8/include/v8.h:657:5: instantiated from ‘v8::Persistent<T, M>::Persistent(const v8::Persistent<T, M>&) [with T = v8::Object, M = v8::NonCopyablePersistentTraits<v8::Object>, v8::Persistent<T, M> = v8::Persistent<v8::Object>]’ ../src/atom.cpp:90:46: instantiated from here /home/register/.node-gyp/0.12.0/deps/v8/include/v8.h:596:5: error: cannot convert ‘v8::Primitive*’ to ‘v8::Object* volatile’ in assignment make: *** [Release/obj.target/openbabel/src/atom.o] Error 1 make: Leaving directory/home/register/sf_install/node/lib/node_modules/openbabel/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/register/sf_install/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.5.0-23-generic
gyp ERR! command "node" "/home/register/sf_install/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/register/sf_install/node/lib/node_modules/openbabel
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.5.0-23-generic
npm ERR! argv "/home/register/sf_install/node/bin/node" "/home/register/sf_install/node/bin/npm" "install" "openbabel" "-g"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the openbabel 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 openbabel
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/register/sf_install/node/lib/node_modules/npm/npm-debug.log

How can i fix my mistakes?

Lenguaje dominante
C++
Estrellas
27
Forks
7
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mohebifar/openbabel-node

Todos los issues de mohebifar/openbabel-node

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.