Installing Appbuilder Error

2 posts, 0 answers
  1. Gabriel
    Gabriel avatar
    1 posts
    Member since:
    Sep 2013

    Posted 01 Jul 2015 Link to this post

    npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
    npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
    npm WARN excluding symbolic link docs/assets/ir_black.css -> ../../node_modules/highlight.js/src/styles/ir_black.css
    npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
    npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.5","npm":"2.11.2"})

    > fibers@1.0.5 install /usr/local/lib/node_modules/appbuilder/node_modules/fibers
    > node ./build.js

    `darwin-x64-v8-3.28` exists; testing
    Binary is fine; exiting

    > ref@0.3.5 install /usr/local/lib/node_modules/appbuilder/node_modules/ref
    > node ./build.js

    child_process: customFds option is deprecated, use stdio instead.
      CXX(target) Release/obj.target/binding/src/binding.o
      SOLINK_MODULE(target) Release/binding.node
    ld: library not found for -lgcc_s.10.5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [Release/binding.node] Error 1
    gyp ERR! build error
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
    gyp ERR! System Darwin 14.3.0
    gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /usr/local/lib/node_modules/appbuilder/node_modules/ref
    gyp ERR! node -v v0.12.5
    gyp ERR! node-gyp -v v2.0.1
    gyp ERR! not ok
    Build failed
    npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Resources -> Versions/Current/Resources
    npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Test Framework -> Versions/Current/Test Framework
    npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Versions/Current -> A
    npm WARN excluding symbolic link docs/assets/ir_black.css -> ../../node_modules/highlight.js/src/styles/ir_black.css
    npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Resources -> Versions/Current/Resources
    npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Test Framework -> Versions/Current/Test Framework
    npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Versions/Current -> A
    npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
    npm WARN engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.12.5","npm":"2.11.2"})
    npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css

    > ffi@1.2.7 install /usr/local/lib/node_modules/appbuilder/node_modules/ffi
    > node ./build.js

    child_process: customFds option is deprecated, use stdio instead.
      CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o
      CC(target) Release/obj.target/ffi/deps/libffi/src/types.o
      CC(target) Release/obj.target/ffi/deps/libffi/src/raw_api.o
      CC(target) Release/obj.target/ffi/deps/libffi/src/java_raw_api.o
      CC(target) Release/obj.target/ffi/deps/libffi/src/closures.o
      CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi.o
      CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi64.o
      CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin.o
      CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin64.o
      LIBTOOL-STATIC Release/libffi.a
      CXX(target) Release/obj.target/ffi_bindings/src/ffi.o
      CXX(target) Release/obj.target/ffi_bindings/src/callback_info.o
      CXX(target) Release/obj.target/ffi_bindings/src/threaded_callback_invokation.o
      SOLINK_MODULE(target) Release/ffi_bindings.node
    ld: library not found for -lgcc_s.10.5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [Release/ffi_bindings.node] Error 1
    gyp ERR! build error
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
    gyp ERR! System Darwin 14.3.0
    gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /usr/local/lib/node_modules/appbuilder/node_modules/ffi
    gyp ERR! node -v v0.12.5
    gyp ERR! node-gyp -v v2.0.1
    gyp ERR! not ok
    Build failed
    npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but bundled package wasn't found in unpacked tree
    npm ERR! Darwin 14.3.0
    npm ERR! argv "node" "/usr/local/bin/npm" "install" "appbuilder" "-g" "--unsafe-perm"
    npm ERR! node v0.12.5
    npm ERR! npm  v2.11.2
    npm ERR! code ELIFECYCLE

    npm ERR! ref@0.3.5 install: `node ./build.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the ref@0.3.5 install script 'node ./build.js'.
    npm ERR! This is most likely a problem with the ref package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     node ./build.js
    npm ERR! You can get their info via:
    npm ERR!     npm owner ls ref
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR!     /Users/gabrielstein/npm-debug.log
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 02 Jul 2015 Link to this post

    Hello,

    This issue had been discussed in the github repository. I'm posting the final resolution here for anyone who has similar issue.
    The problem was missing /Developer/SDKs/MacOSX10.5.sdk/ After installing it, make sure to add the following lines to your shell profile:
    export C_INCLUDE_PATH=/Developer/SDKs/MacOSX10.5.sdk/usr/include
    export LIBRARY_PATH=/Developer/SDKs/MacOSX10.5.sdk/usr/lib

    After that restart your shell and everything should work fine.

    Regards,
    Rosen Vladimirov
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top