Giter Club home page Giter Club logo

git-fs's Issues

can't build in fedora17

I pulled the latest libgit2 from https://github.com/libgit2/libgit2 and built it and am now trying to build git-fs...

here's the error I'm getting:
[ mstolten@numatt ~/work/gitfs/git-fs :) ] $ make
rm -f git-fs
gcc -Wall -lfuse -I/opt/local/mstolten/work/gitfs/PREFIX/usr/local/include -L/opt/local/mstolten/work/gitfs/PREFIX/usr/local/lib -lgit2 -o git-fs git-fs.c
git-fs.c: In function ‘gitfs_getattr’:
git-fs.c:185:3: warning: implicit declaration of function ‘git_tree_entry_attributes’ [-Wimplicit-function-declaration]
/tmp/cciwbqLK.o: In function gitfs_getattr': git-fs.c:(.text+0x551): undefined reference togit_tree_entry_attributes'
/tmp/cciwbqLK.o: In function gitfs_read': git-fs.c:(.text+0x736): undefined reference togit_tree_entry_attributes'
/tmp/cciwbqLK.o: In function gitfs_readlink': git-fs.c:(.text+0x87a): undefined reference togit_tree_entry_attributes'
collect2: error: ld returned 1 exit status
make: *** [git-fs] Error 1

can't mount (readdir call not received?)

$ sudo git-fs -o rev=master . fs/ -d
opening repo before fuse_main
using rev master
using commit b28184b32fe496a68a7b9808fc7c91bd8c438970
using tree 280188f8a98533537b2546845f00b7216a8daa5b
FUSE library version: 2.9.2
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.20
flags=0x000017fb
max_readahead=0x00020000
chrooting to /home/meta/stuff/.git
opening repo after fuse_main
success!
   INIT: 7.19
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 1, success, outsize: 40
^Clibgcc_s.so.1 must be installed for pthread_cancel to work

Note that I ^C only after trying to access the directory.

Apparantly gitfs_readdir isn't called, as that would yield debug output:

line 333, function gitfs_readdir: debug("readdir called for '%s'\n", path);

$ pacman -Q fuse libgit2 
fuse 2.9.2-1
libgit2 0.17.0-2

That libgit2 is the latest from the development branch (not as the version says 0.17.0-2).

Using ArchLinux, completely updated as of 3rd March 2013.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.