Skip to content

Cannot install on OSX #49

Closed
Closed

Description

@alessioalex

$ sudo npm install nodegit
npm http GET https://registry.npmjs.org/nodegit
npm http 304 https://registry.npmjs.org/nodegit

nodegit@0.0.7 preinstall /Users/alexandruvladutu/www/libgit2/node_modules/nodegit
./build.sh

Cloning libgit2
Cloning into '/Users/alexandruvladutu/www/libgit2/node_modules/nodegit/vendor/libgit2'...
remote: Counting objects: 31919, done.
remote: Compressing objects: 100% (9629/9629), done.
remote: Total 31919 (delta 22743), reused 30468 (delta 21492)
Receiving objects: 100% (31919/31919), 8.52 MiB | 1.80 MiB/s, done.
Resolving deltas: 100% (22743/22743), done.
Note: checking out 'v0.15.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 3eaf34f... libgit2 v0.15.0 "Das Wunderbar Release"
Checking for program gcc or cc : /usr/bin/gcc
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for program g++ or c++ : /usr/bin/g++
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /Users/alexandruvladutu/.node_libraries
Checking for node prefix : ok /Users/alexandruvladutu/.nvm/v0.8.11
/bin/sh: cmake: command not found
'configure' finished successfully (0.075s)
Waf: Entering directory /Users/alexandruvladutu/www/libgit2/node_modules/nodegit/build' /bin/sh: cmake: command not found [ 1/13] cxx: src/base.cc -> build/Release/src/base_1.o [ 2/13] cxx: src/sig.cc -> build/Release/src/sig_1.o [ 3/13] cxx: src/blob.cc -> build/Release/src/blob_1.o [ 4/13] cxx: src/error.cc -> build/Release/src/error_1.o [ 5/13] cxx: src/object.cc -> build/Release/src/object_1.o [ 6/13] cxx: src/reference.cc -> build/Release/src/reference_1.o [ 7/13] cxx: src/repo.cc -> build/Release/src/repo_1.o [ 8/13] cxx: src/commit.cc -> build/Release/src/commit_1.o [ 9/13] cxx: src/oid.cc -> build/Release/src/oid_1.o [10/13] cxx: src/revwalk.cc -> build/Release/src/revwalk_1.o [11/13] cxx: src/tree.cc -> build/Release/src/tree_1.o [12/13] cxx: src/tree_entry.cc -> build/Release/src/tree_entry_1.o [13/13] cxx_link: build/Release/src/base_1.o build/Release/src/sig_1.o build/Release/src/blob_1.o build/Release/src/error_1.o build/Release/src/object_1.o build/Release/src/reference_1.o build/Release/src/repo_1.o build/Release/src/commit_1.o build/Release/src/oid_1.o build/Release/src/revwalk_1.o build/Release/src/tree_1.o build/Release/src/tree_entry_1.o -> build/Release/nodegit.node ld: library not found for -lgit2 collect2: ld returned 1 exit status Waf: Leaving directory/Users/alexandruvladutu/www/libgit2/node_modules/nodegit/build'
Build failed: -> task failed (err #1):
{task: cxx_link base_1.o,sig_1.o,blob_1.o,error_1.o,object_1.o,reference_1.o,repo_1.o,commit_1.o,oid_1.o,revwalk_1.o,tree_1.o,tree_entry_1.o -> nodegit.node}
make: *** [build] Error 1
npm ERR! nodegit@0.0.7 preinstall: ./build.sh
npm ERR! sh "-c" "./build.sh" failed with 2

node -v && npm -v
v0.8.11
1.1.62

Activity

  1. faceleg commented on Mar 3, 2013

    @faceleg
    Collaborator

    It seems that you don't have cmake installed (/bin/sh: cmake: command not found). What is the output of

     which cmake
    

    I'm working on porting the installation script to node-gyp, and will try to get an update out tonight. I will update this issue with further instructions when I've done this.

  2. alessioalex commented on Mar 4, 2013

    @alessioalex
    Author

    $ which cmake
    /usr/local/bin/cmake

  3. faceleg commented on Mar 4, 2013

    @faceleg
    Collaborator

    @alessioalex hmm... I'll try my best to get a new version out tonight, it uses a completely different (current - what is released was deprecated awhile ago) build system. Fingers crossed it'll help you.

  4. ctrimble commented on Mar 18, 2013

    @ctrimble

    I successfully got this installing on MacOSX last week. I had a lot of problems with the new version of XCode from the App Store, since it has moved the SDKs to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/. Upgrading to cmake version 2.8.10.2 resolved the issues I was having.

  5. faceleg commented on Mar 21, 2013

    @faceleg
    Collaborator

    Fixed in v0.0.74.

  6. alessioalex commented on Mar 22, 2013

    @alessioalex
    Author

    Unfortunately there's still a minor issue:

    alexandruvladutu at mbp in ~/www/nodegit_folder
    $ npm install nodegit@0.0.74
    npm http GET https://registry.npmjs.org/nodegit/0.0.74
    npm http 200 https://registry.npmjs.org/nodegit/0.0.74
    npm http GET https://registry.npmjs.org/nodegit/-/nodegit-0.0.74.tgz
    npm http 200 https://registry.npmjs.org/nodegit/-/nodegit-0.0.74.tgz
    npm http GET https://registry.npmjs.org/fs-extra/0.6.0
    npm http GET https://registry.npmjs.org/tar/0.1.17
    npm http GET https://registry.npmjs.org/async
    npm http GET https://registry.npmjs.org/node-gyp
    npm http GET https://registry.npmjs.org/request
    npm http 200 https://registry.npmjs.org/fs-extra/0.6.0
    npm http GET https://registry.npmjs.org/fs-extra/-/fs-extra-0.6.0.tgz
    npm http 200 https://registry.npmjs.org/tar/0.1.17
    npm http GET https://registry.npmjs.org/tar/-/tar-0.1.17.tgz
    npm http 200 https://registry.npmjs.org/fs-extra/-/fs-extra-0.6.0.tgz
    npm http 200 https://registry.npmjs.org/tar/-/tar-0.1.17.tgz
    npm http 200 https://registry.npmjs.org/request
    npm http 200 https://registry.npmjs.org/node-gyp
    npm http 200 https://registry.npmjs.org/async
    npm http GET https://registry.npmjs.org/jsonfile
    npm http GET https://registry.npmjs.org/mkdirp
    npm http GET https://registry.npmjs.org/ncp
    npm http GET https://registry.npmjs.org/rimraf
    npm http GET https://registry.npmjs.org/fstream
    npm http GET https://registry.npmjs.org/inherits
    npm http GET https://registry.npmjs.org/block-stream
    npm http 304 https://registry.npmjs.org/mkdirp
    npm http 304 https://registry.npmjs.org/rimraf
    npm http 200 https://registry.npmjs.org/jsonfile
    npm http GET https://registry.npmjs.org/jsonfile/-/jsonfile-0.0.1.tgz
    npm http 304 https://registry.npmjs.org/fstream
    npm http 304 https://registry.npmjs.org/inherits
    npm http 304 https://registry.npmjs.org/block-stream
    npm http GET https://registry.npmjs.org/rimraf
    npm http GET https://registry.npmjs.org/mkdirp
    npm http GET https://registry.npmjs.org/graceful-fs
    npm http 200 https://registry.npmjs.org/ncp
    npm http GET https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz
    npm http GET https://registry.npmjs.org/graceful-fs
    npm http GET https://registry.npmjs.org/fstream
    npm http GET https://registry.npmjs.org/osenv
    npm http GET https://registry.npmjs.org/semver
    npm http GET https://registry.npmjs.org/nopt
    npm http GET https://registry.npmjs.org/minimatch
    npm http GET https://registry.npmjs.org/glob
    npm http GET https://registry.npmjs.org/npmlog
    npm http GET https://registry.npmjs.org/which
    npm http 200 https://registry.npmjs.org/jsonfile/-/jsonfile-0.0.1.tgz
    npm http 304 https://registry.npmjs.org/mkdirp
    npm http 304 https://registry.npmjs.org/graceful-fs
    npm http 200 https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz
    npm http 304 https://registry.npmjs.org/rimraf
    npm http 304 https://registry.npmjs.org/graceful-fs
    npm http 304 https://registry.npmjs.org/fstream
    npm http 304 https://registry.npmjs.org/osenv
    npm http 304 https://registry.npmjs.org/semver
    npm http 304 https://registry.npmjs.org/nopt
    npm http 304 https://registry.npmjs.org/glob
    npm http 304 https://registry.npmjs.org/minimatch
    npm http 304 https://registry.npmjs.org/npmlog
    npm http 304 https://registry.npmjs.org/which
    npm http GET https://registry.npmjs.org/ansi
    npm http GET https://registry.npmjs.org/abbrev
    npm http GET https://registry.npmjs.org/sigmund
    npm http GET https://registry.npmjs.org/lru-cache
    npm http GET https://registry.npmjs.org/inherits
    npm http GET https://registry.npmjs.org/inherits
    npm http GET https://registry.npmjs.org/graceful-fs
    npm http 304 https://registry.npmjs.org/abbrev
    npm http 304 https://registry.npmjs.org/ansi
    npm http 304 https://registry.npmjs.org/sigmund
    npm http 304 https://registry.npmjs.org/inherits
    npm http 304 https://registry.npmjs.org/lru-cache
    npm http 304 https://registry.npmjs.org/inherits
    npm http 304 https://registry.npmjs.org/graceful-fs
    
    > nodegit@0.0.74 install /Users/alexandruvladutu/www/nodegit_folder/node_modules/nodegit
    > node install.js
    
    [nodegit] Downloading libgit2 dependency.
    [nodegit] Building libgit2 dependency.
    -- The C compiler identification is Clang 4.2.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib (found version "0.9.8j")
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - found
    -- Found Threads: TRUE
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/alexandruvladutu/www/nodegit_folder/node_modules/nodegit/vendor/libgit2/build
    Scanning dependencies of target git2
    [  1%] Building C object CMakeFiles/git2.dir/src/attr.c.o
    [  2%] Building C object CMakeFiles/git2.dir/src/attr_file.c.o
    [  3%] Building C object CMakeFiles/git2.dir/src/blob.c.o
    [  4%] Building C object CMakeFiles/git2.dir/src/branch.c.o
    [  5%] Building C object CMakeFiles/git2.dir/src/buf_text.c.o
    [  6%] Building C object CMakeFiles/git2.dir/src/buffer.c.o
    [  7%] Building C object CMakeFiles/git2.dir/src/cache.c.o
    [  8%] Building C object CMakeFiles/git2.dir/src/checkout.c.o
    [  9%] Building C object CMakeFiles/git2.dir/src/clone.c.o
    [ 10%] Building C object CMakeFiles/git2.dir/src/commit.c.o
    [ 11%] Building C object CMakeFiles/git2.dir/src/commit_list.c.o
    [ 12%] Building C object CMakeFiles/git2.dir/src/compress.c.o
    [ 13%] Building C object CMakeFiles/git2.dir/src/config.c.o
    [ 14%] Building C object CMakeFiles/git2.dir/src/config_cache.c.o
    [ 15%] Building C object CMakeFiles/git2.dir/src/config_file.c.o
    [ 16%] Building C object CMakeFiles/git2.dir/src/crlf.c.o
    [ 17%] Building C object CMakeFiles/git2.dir/src/date.c.o
    /Users/alexandruvladutu/www/nodegit_folder/node_modules/nodegit/vendor/libgit2/src/date.c:684:25: warning: while loop has empty body [-Wempty-body]
            while (isalpha(*++end));
                                   ^
    /Users/alexandruvladutu/www/nodegit_folder/node_modules/nodegit/vendor/libgit2/src/date.c:684:25: note: put the semicolon on a separate line to silence this warning
    1 warning generated.
    [ 18%] Building C object CMakeFiles/git2.dir/src/delta-apply.c.o
    [ 19%] Building C object CMakeFiles/git2.dir/src/delta.c.o
    [ 20%] Building C object CMakeFiles/git2.dir/src/diff.c.o
    [ 21%] Building C object CMakeFiles/git2.dir/src/diff_output.c.o
    [ 22%] Building C object CMakeFiles/git2.dir/src/diff_tform.c.o
    [ 23%] Building C object CMakeFiles/git2.dir/src/errors.c.o
    [ 24%] Building C object CMakeFiles/git2.dir/src/fetch.c.o
    [ 25%] Building C object CMakeFiles/git2.dir/src/fetchhead.c.o
    [ 26%] Building C object CMakeFiles/git2.dir/src/filebuf.c.o
    [ 27%] Building C object CMakeFiles/git2.dir/src/fileops.c.o
    [ 28%] Building C object CMakeFiles/git2.dir/src/filter.c.o
    [ 29%] Building C object CMakeFiles/git2.dir/src/fnmatch.c.o
    [ 30%] Building C object CMakeFiles/git2.dir/src/global.c.o
    [ 31%] Building C object CMakeFiles/git2.dir/src/graph.c.o
    [ 32%] Building C object CMakeFiles/git2.dir/src/hash.c.o
    [ 33%] Building C object CMakeFiles/git2.dir/src/hashsig.c.o
    [ 34%] Building C object CMakeFiles/git2.dir/src/ignore.c.o
    [ 35%] Building C object CMakeFiles/git2.dir/src/index.c.o
    [ 36%] Building C object CMakeFiles/git2.dir/src/indexer.c.o
    [ 37%] Building C object CMakeFiles/git2.dir/src/iterator.c.o
    [ 38%] Building C object CMakeFiles/git2.dir/src/merge.c.o
    [ 39%] Building C object CMakeFiles/git2.dir/src/message.c.o
    [ 40%] Building C object CMakeFiles/git2.dir/src/mwindow.c.o
    [ 41%] Building C object CMakeFiles/git2.dir/src/netops.c.o
    [ 42%] Building C object CMakeFiles/git2.dir/src/notes.c.o
    [ 43%] Building C object CMakeFiles/git2.dir/src/object.c.o
    [ 44%] Building C object CMakeFiles/git2.dir/src/odb.c.o
    [ 45%] Building C object CMakeFiles/git2.dir/src/odb_loose.c.o
    [ 46%] Building C object CMakeFiles/git2.dir/src/odb_pack.c.o
    [ 47%] Building C object CMakeFiles/git2.dir/src/oid.c.o
    [ 48%] Building C object CMakeFiles/git2.dir/src/pack-objects.c.o
    [ 50%] Building C object CMakeFiles/git2.dir/src/pack.c.o
    [ 51%] Building C object CMakeFiles/git2.dir/src/path.c.o
    [ 52%] Building C object CMakeFiles/git2.dir/src/pathspec.c.o
    [ 53%] Building C object CMakeFiles/git2.dir/src/pool.c.o
    [ 54%] Building C object CMakeFiles/git2.dir/src/posix.c.o
    [ 55%] Building C object CMakeFiles/git2.dir/src/pqueue.c.o
    [ 56%] Building C object CMakeFiles/git2.dir/src/push.c.o
    [ 57%] Building C object CMakeFiles/git2.dir/src/refdb.c.o
    [ 58%] Building C object CMakeFiles/git2.dir/src/refdb_fs.c.o
    [ 59%] Building C object CMakeFiles/git2.dir/src/reflog.c.o
    [ 60%] Building C object CMakeFiles/git2.dir/src/refs.c.o
    [ 61%] Building C object CMakeFiles/git2.dir/src/refspec.c.o
    [ 62%] Building C object CMakeFiles/git2.dir/src/remote.c.o
    [ 63%] Building C object CMakeFiles/git2.dir/src/repository.c.o
    [ 64%] Building C object CMakeFiles/git2.dir/src/reset.c.o
    [ 65%] Building C object CMakeFiles/git2.dir/src/revparse.c.o
    [ 66%] Building C object CMakeFiles/git2.dir/src/revwalk.c.o
    [ 67%] Building C object CMakeFiles/git2.dir/src/sha1_lookup.c.o
    [ 68%] Building C object CMakeFiles/git2.dir/src/signature.c.o
    [ 69%] Building C object CMakeFiles/git2.dir/src/stash.c.o
    [ 70%] Building C object CMakeFiles/git2.dir/src/status.c.o
    [ 71%] Building C object CMakeFiles/git2.dir/src/submodule.c.o
    [ 72%] Building C object CMakeFiles/git2.dir/src/tag.c.o
    [ 73%] Building C object CMakeFiles/git2.dir/src/thread-utils.c.o
    [ 74%] Building C object CMakeFiles/git2.dir/src/trace.c.o
    [ 75%] Building C object CMakeFiles/git2.dir/src/transport.c.o
    [ 76%] Building C object CMakeFiles/git2.dir/src/tree-cache.c.o
    [ 77%] Building C object CMakeFiles/git2.dir/src/tree.c.o
    [ 78%] Building C object CMakeFiles/git2.dir/src/tsort.c.o
    [ 79%] Building C object CMakeFiles/git2.dir/src/util.c.o
    [ 80%] Building C object CMakeFiles/git2.dir/src/vector.c.o
    [ 81%] Building C object CMakeFiles/git2.dir/src/transports/cred.c.o
    [ 82%] Building C object CMakeFiles/git2.dir/src/transports/cred_helpers.c.o
    [ 83%] Building C object CMakeFiles/git2.dir/src/transports/git.c.o
    [ 84%] Building C object CMakeFiles/git2.dir/src/transports/http.c.o
    [ 85%] Building C object CMakeFiles/git2.dir/src/transports/local.c.o
    [ 86%] Building C object CMakeFiles/git2.dir/src/transports/smart.c.o
    [ 87%] Building C object CMakeFiles/git2.dir/src/transports/smart_pkt.c.o
    [ 88%] Building C object CMakeFiles/git2.dir/src/transports/smart_protocol.c.o
    [ 89%] Building C object CMakeFiles/git2.dir/src/transports/winhttp.c.o
    [ 90%] Building C object CMakeFiles/git2.dir/src/xdiff/xdiffi.c.o
    [ 91%] Building C object CMakeFiles/git2.dir/src/xdiff/xemit.c.o
    [ 92%] Building C object CMakeFiles/git2.dir/src/xdiff/xhistogram.c.o
    [ 93%] Building C object CMakeFiles/git2.dir/src/xdiff/xmerge.c.o
    [ 94%] Building C object CMakeFiles/git2.dir/src/xdiff/xpatience.c.o
    [ 95%] Building C object CMakeFiles/git2.dir/src/xdiff/xprepare.c.o
    [ 96%] Building C object CMakeFiles/git2.dir/src/xdiff/xutils.c.o
    [ 97%] Building C object CMakeFiles/git2.dir/src/unix/map.c.o
    [ 98%] Building C object CMakeFiles/git2.dir/src/unix/realpath.c.o
    [100%] Building C object CMakeFiles/git2.dir/deps/http-parser/http_parser.c.o
    Linking C shared library libgit2.dylib
    [100%] Built target git2
    [nodegit] Building native module.
    gyp ERR! configure error
    gyp ERR! stack Error: Can't find Python executable "python2", you can set the PYTHON env variable.
    gyp ERR! stack     at failNoPython (/Users/alexandruvladutu/.nvm/v0.8.11/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:109:14)
    gyp ERR! stack     at /Users/alexandruvladutu/.nvm/v0.8.11/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:56:11
    gyp ERR! stack     at F (/Users/alexandruvladutu/.nvm/v0.8.11/lib/node_modules/npm/node_modules/which/which.js:43:25)
    gyp ERR! stack     at E (/Users/alexandruvladutu/.nvm/v0.8.11/lib/node_modules/npm/node_modules/which/which.js:46:29)
    gyp ERR! stack     at /Users/alexandruvladutu/.nvm/v0.8.11/lib/node_modules/npm/node_modules/which/which.js:57:16
    gyp ERR! stack     at Object.oncomplete (fs.js:297:15)
    gyp ERR! System Darwin 12.3.0
    gyp ERR! command "node" "/Users/alexandruvladutu/.nvm/v0.8.11/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--python" "python2"
    gyp ERR! cwd /Users/alexandruvladutu/www/nodegit_folder/node_modules/nodegit
    gyp ERR! node -v v0.8.11
    gyp ERR! node-gyp -v v0.6.11
    gyp ERR! not ok
    npm ERR! nodegit@0.0.74 install: `node install.js`
    npm ERR! `sh "-c" "node install.js"` failed with 1
    npm ERR!
    npm ERR! Failed at the nodegit@0.0.74 install script.
    npm ERR! This is most likely a problem with the nodegit package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     node install.js
    npm ERR! You can get their info via:
    npm ERR!     npm owner ls nodegit
    npm ERR! There is likely additional logging output above.
    
    npm ERR! System Darwin 12.3.0
    npm ERR! command "/Users/alexandruvladutu/.nvm/v0.8.11/bin/node" "/Users/alexandruvladutu/.nvm/v0.8.11/bin/npm" "install" "nodegit@0.0.74"
    npm ERR! cwd /Users/alexandruvladutu/www/nodegit_folder
    npm ERR! node -v v0.8.11
    npm ERR! npm -v 1.1.62
    npm ERR! code ELIFECYCLE
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR!     /Users/alexandruvladutu/www/nodegit_folder/npm-debug.log
    npm ERR! not ok code 0
  7. faceleg commented on Mar 22, 2013

    @faceleg
    Collaborator

    Installation requires python2, do you have that installed?

  8. faceleg commented on Mar 25, 2013

    @faceleg
    Collaborator

    @alessioalex I've published an update, does it install for you now?

  9. alessioalex commented on Mar 26, 2013

    @alessioalex
    Author

    Works great on OSX (it install well and I've used it), installs on Ubuntu but does not work on require, see example:

    git = require('nodegit')                                                                                                   
    Error: /home/alessio/www/nodegit_folder/node_modules/nodegit/build/Release/nodegit.node: undefined symbol: _ZN7GitBlob16Creat
    eFromBufferEP7git_oidP14git_repositoryPKvj                                                                                   
        at Object.Module._extensions..node (module.js:485:11)                                                                    
        at Module.load (module.js:356:32)                                                                                        
        at Function.Module._load (module.js:312:12)                                                                              
        at Module.require (module.js:362:17)                                                                                     
        at require (module.js:378:17)                                                                                            
        at Object.<anonymous> (/home/alessio/www/nodegit_folder/node_modules/nodegit/lib/index.js:28:17)                         
        at Module._compile (module.js:449:26)                                                                                    
        at Object.Module._extensions..js (module.js:467:10)                                                                      
        at Module.load (module.js:356:32)                                                                                        
        at Function.Module._load (module.js:312:12)                                                                              
    >
  10. alessioalex commented on Mar 26, 2013

    @alessioalex
    Author

    There is something strange happening here, I just successfully installed and ran the module on another Ubuntu installation and it works.

    The error I pasted above happens on a VPS from digitalocean with Ubuntu. Is there something I can do to "clean" it perhaps? Is the error happening because something is cached somewhere?

    Thanks

  11. faceleg commented on Mar 26, 2013

    @faceleg
    Collaborator

    Hi @alessioalex, sorry I haven't had a chance to look at this yet. I did encounter a similar issue with other modules, I resolved it by removing all traces of the offending module & reinstalling.

    I do plan on trying to replicate your issue on one of my Ubuntu machines, I'm just in the middle of some major refactoring, and won't be able to test until I'm done with that.

  12. alessioalex commented on Mar 26, 2013

    @alessioalex
    Author

    Really appreciate you looking into this. Anyway it must be a small thing I guess, since I've managed to install & run it on 2 out of 3 machines (OSX, Ubuntu vs Ubuntu).

    Can you please tell me what exactly do you mean by "removing all traces of the offending module"? Thanks!

  13. ghost assigned on Mar 27, 2013
  14. faceleg commented on Apr 2, 2013

    @faceleg
    Collaborator

    @alessioalex I've tried the current version on my Ubuntu machine (12.10), and it worked. Could you please paste some Node code that replicates the issue you're experiencing?

  15. alessioalex commented on Apr 2, 2013

    @alessioalex
    Author

    Installed the latest version, and when I require the module I get this

    > require('nodegit')
    Error: /home/alessio/www/node_modules/nodegit/build/Release/nodegit.node: undefined symbol: _ZN7GitBlob16CreateFromBufferEP7git_oidP14git_repositoryPKvj
        at Object.Module._extensions..node (module.js:485:11)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:362:17)
        at require (module.js:378:17)
        at Object.<anonymous> (/home/alessio/www/node_modules/nodegit/lib/index.js:28:17)
        at Module._compile (module.js:449:26)
        at Object.Module._extensions..js (module.js:467:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)

    Additional info:

    alessio@alessioalex:~/www/nodegit2$ node -v && npm -v
    v0.8.19
    1.2.10
  16. faceleg commented on Apr 5, 2013

    @faceleg
    Collaborator

    I've published v0.79, do you still get this error?

  17. alessioalex commented on Apr 5, 2013

    @alessioalex
    Author

    Everything works great now, I was able to install it on that Ubuntu machine which didn't previously work. AWESOME! Thanks for sticking with me all this time 👍 appreciate it !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions