Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google-drive-ocamlfuse command not found during auth in headless mode #114

Closed
Bertieio opened this issue Feb 18, 2015 · 11 comments
Closed
Labels

Comments

@Bertieio
Copy link

opam says its installed and Ive tried removing it and reinstalling it using opam, Ive tried type google-drive-ocamlfuse and still no luck.

A reboot fixed this

@astrada
Copy link
Owner

astrada commented Feb 19, 2015

Do you have these lines in ~/.profile?

# OPAM configuration
. $HOME/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true

What's the content of file ~/.opam/opam-init/variables.sh?

@Bertieio
Copy link
Author

On ~/.profile im getting file not found

and the contents of ~/.opam/opam-init/variables.sh is:

CAML_LD_LIBRARY_PATH=/home/Bertie/.opam/4.01.0/lib/stublibs; export CAML_LD_LIBRARY_PATH;
MANPATH=$MANPATH:/home/Bertie/.opam/4.01.0/man; export MANPATH;
MAKELEVEL=; export MAKELEVEL;
MAKEFLAGS=; export MAKEFLAGS;
PERL5LIB=/home/Bertie/.opam/4.01.0/lib/perl5:$PERL5LIB; export PERL5LIB;
OCAML_TOPLEVEL_PATH=/home/Bertie/.opam/4.01.0/lib/toplevel; export OCAML_TOPLEVEL_PATH;
PATH=/home/Bertie/.opam/4.01.0/bin:$PATH; export PATH;

@astrada
Copy link
Owner

astrada commented Feb 21, 2015

Then OPAM will build your executables in /home/Bertie/.opam/4.01.0/bin. Check that, in the folder, you find google-drive-ocamlfuse executable. Then check that your $PATH environment variable contains OPAM bin dir (running echo $PATH).

@Bertieio
Copy link
Author

All of them are in the right places and the $PATH files are correct

@astrada
Copy link
Owner

astrada commented Feb 22, 2015

What's the output of command:

$ which google-drive-ocamlfuse

@Bertieio
Copy link
Author

~/.opam/4.01.0/bin/google-drive-ocamlfuse

@astrada
Copy link
Owner

astrada commented Feb 22, 2015

And when you run:

$ google-drive-ocamlfuse

gives you "command not found"?

@Bertieio
Copy link
Author

No thats fixed but now its not syncing. Sorry I edited my first post to say a reboot fixed it.

@astrada
Copy link
Owner

astrada commented Feb 23, 2015

Sorry, but what do you mean when you say that it's not syncing?

@Bertieio
Copy link
Author

I run google-drive-ocamlfuse and nothing happens, It worked originally after a restart but I had to restart again and I stopped being able to access gdrive

@astrada
Copy link
Owner

astrada commented Feb 24, 2015

Have you tried running the command with -debug command line option, and then check the log files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants