-
Notifications
You must be signed in to change notification settings - Fork 699
Closed
Labels
Description
npm install nodegit fail when trying to build libgit2.
The errors generated:
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/iterator.o
../vendor/libgit2/src/iterator.c:1459:44: error: no member named 'st_ctime_nsec' in 'struct stat'
iter->entry.ctime.nanoseconds = entry->st.st_ctime_nsec;
~~~~~~~~~ ^
../vendor/libgit2/src/iterator.c:1462:44: error: no member named 'st_mtime_nsec' in 'struct stat'
iter->entry.mtime.nanoseconds = entry->st.st_mtime_nsec;
System is FreeBSD 11.0-RELEASE-p2
Node version: v7.1.0
npm version: 3.10.9
The npm-debug logfile and the stderr are attached below (the compiler errors / warnings seems not to get captued by npm).
Building the submodule in vendor/libgit2 as documented on the libgit2 repo works.
Please let me know if you need more information.
Thanks for your time.
Reactions are currently unavailable