Coder Social home page Coder Social logo

Comments (7)

oniony avatar oniony commented on May 23, 2024

Do you have FUSE installed? If not, there should be a package available in
your operating system's package manager, e.g apt-get, pacman, yum, &c.
On 21 Oct 2015 08:46, "saviola777" [email protected] wrote:

Hello,

since the current stable release does not work for me, I wanted to confirm
the error by compiling it myself before creating an issue for it.
Unfortunately, I can't seem to get that to work either. While it compiles
fine, it gives an error during the unit tests (and also when using tmsu
mount):

go test github.com/oniony/TMSU/...
? github.com/oniony/TMSU [no test files]
2015/10/21 09:26:34 Could not find fusermount binary: exec: "/bin/bin/fusermount": stat /bin/bin/fusermount: no such file or directory
FAIL github.com/oniony/TMSU/cli 0.016s

Output of whereis fusermount:

fusermount: /usr/bin/fusermount /usr/share/man/man1/fusermount.1.bz2

I believe that it is a problem with my system / environment or with Go (I
have never worked with or compiled anything with Go before). printenv
does not show anything pointing to /bin/bin, though. Does Go use a
different environment variable with a strange default value or something?
The problem exists on both the master branch and the v0.5 branch. My
apologies if this is not actually a TMSU error but an error on my system,
feel free to close the issue if that is the case.

Thanks in advance.


Reply to this email directly or view it on GitHub
#51.

from tmsu.

saviola777 avatar saviola777 commented on May 23, 2024

eix sys-fs/fuse:

[I] sys-fs/fuse
     Available versions:  2.9.3 2.9.4 {examples static-libs KERNEL="FreeBSD linux"}
     Installed versions:  2.9.4(02:40:38 PM 07/08/2015)(-examples -static-libs KERNEL="linux -FreeBSD")
     Homepage:            http://fuse.sourceforge.net
     Description:         An interface for filesystems implemented in userspace

There is another package called go-fuse:

dev-libs/go-fuse
     Available versions:  ~0_p20140812-r1^s ~0_p20150422^s **9999^s
     Homepage:            https://github.com/hanwen/go-fuse
     Description:         native bindings for the FUSE kernel module

But I think I already installed that as part of the TMSU Go dependencies. The main problem here seems to be that it looks for fusermount in /bin/bin, a directory which does not exist.

from tmsu.

oniony avatar oniony commented on May 23, 2024

Hi, sorry, yes, did not notice that as I was reading it on my phone. You are indeed correct in that looking wrong. I shall take a look a little later on today.

Thanks for reporting this issue.

from tmsu.

saviola777 avatar saviola777 commented on May 23, 2024

Thanks! I think I found the source of the problem, and it's an "upstream bug" in this file, it looks for "/bin/fusermount" in the PATH, which it can't find (I don't have "/usr" in my PATH). It was introduced only recently, and should be fixed if I use the latest stable version instead. I'll raise the issue in the go-fuse project and come back here to close this as soon as I have tested it with the stable version of go-fuse.

from tmsu.

oniony avatar oniony commented on May 23, 2024

Great. Many thanks for investigating and letting me know.
On 21 Oct 2015 13:10, "saviola777" [email protected] wrote:

Thanks! I think I found the source of the problem, and it's an "upstream
bug" in this
https://github.com/hanwen/go-fuse/blob/c2130ac9e52cdd7ec9b819922fc9a8c5aba9d8dc/fuse/mount_linux.go#L138
file, it looks for "/bin/fusermount" in the PATH, which it can't find (I
don't have "/usr" in my PATH). It was introduced only recently
hanwen/go-fuse@41b8187,
and should be fixed if I use the latest stable version instead. I'll raise
the issue in the go-fuse project and come back here to close this as soon
as I have tested it with the stable version of go-fuse.


Reply to this email directly or view it on GitHub
#51 (comment).

from tmsu.

saviola777 avatar saviola777 commented on May 23, 2024

Okay, while there is no stable version of go-fuse, checking out an older state of the repo worked, TMSU compiles and passes the tests now.

from tmsu.

oniony avatar oniony commented on May 23, 2024

Great, thanks.

from tmsu.

Related Issues (20)

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.