I can not install ocamlfuse google drive sqlite3 error


#1

Hi, I came from linux mint and very amateur user, i am trying to install ocamlfuse as i did in mint but:

Cloning google-drive-ocamlfuse-git build files...
Checking google-drive-ocamlfuse-git dependencies...
Cloning ocaml-sqlite3 build files...
Checking ocaml-sqlite3 dependencies...
Cloning ocaml-ounit build files...
Checking ocaml-ounit dependencies...
Building ocaml-sqlite3...
==> Making package: ocaml-sqlite3 4.4.0-1 (Sun 02 Dec 2018 07:24:06 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 4.4.0.tar.gz
==> Validating source files with md5sums...
    4.4.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting 4.4.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/var/tmp/pamac-build-david/ocaml-sqlite3/src/sqlite3-ocaml-4.4.0
[ERROR] No switch is currently set. Please use 'opam switch' to set or install a switch
==> ERROR: A failure occurred in build().
    Aborting...

When I use “opam switch” in terminal (which I really do not know what is…):

==> Making package: ocaml-sqlite3 4.4.0-1 (Sun 02 Dec 2018 07:35:47 PM EST)
==> Retrieving sources...
  -> Found 4.4.0.tar.gz
==> Validating source files with md5sums...
    4.4.0.tar.gz ... Passed
==> Cleaning up...
==> Making package: ocaml-ounit 2.0.6-1 (Sun 02 Dec 2018 07:35:48 PM EST)
==> Retrieving sources...
  -> Found ounit-2.0.6.tar.gz
==> Validating source files with sha512sums...
    ounit-2.0.6.tar.gz ... Passed
==> Cleaning up...
==> Making package: google-drive-ocamlfuse 0.7.0-1 (Sun 02 Dec 2018 07:35:49 PM EST)
==> Retrieving sources...
  -> Found v0.7.0.tar.gz
==> Validating source files with sha256sums...
    v0.7.0.tar.gz ... Passed
==> Cleaning up...
==> Making package: ocaml-sqlite3 4.4.0-1 (Sun 02 Dec 2018 07:35:50 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 4.4.0.tar.gz
==> Validating source files with md5sums...
    4.4.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting 4.4.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: ocaml-sqlite3 4.4.0-1 (Sun 02 Dec 2018 07:35:51 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/david/.cache/yay/ocaml-sqlite3/src/sqlite3-ocaml-4.4.0
[ERROR] No switch is currently set. Please use 'opam switch' to set or install
        a switch
==> ERROR: A failure occurred in build().
    Aborting...
Error making: ocaml-sqlite3

I could not found a simple solution. I just want to mount my google drive like filestream does.

My inxi -F info:

System:
  Host: david-pc Kernel: 4.19.4-1-MANJARO x86_64 bits: 64 
  Desktop: Xfce 4.13.2git-UNKNOWN Distro: Manjaro Linux 
Machine:
  Type: N/A System: LENOVO product: 80VE v: Lenovo ideapad FLEX 4-1580 
  serial: <root required> 
  Mobo: LENOVO model: Lenovo ideapad FLEX 4-1580 v: SDK0J40709 WIN 
  serial: <root required> UEFI: LENOVO v: 2SCN28WW(V2.08) date: 08/14/2018 
Battery:
  ID-1: BAT1 charge: 11.9 Wh condition: 41.9/53.0 Wh (79%) 
CPU:
  Topology: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP 
  L2 cache: 4096 KiB 
  Speed: 500 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 500 2: 500 
  3: 500 4: 500 
Graphics:
  Device-1: Intel HD Graphics 620 driver: i915 v: kernel 
  Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] 
  driver: amdgpu v: kernel 
  Display: x11 server: X.Org 1.20.3 driver: amdgpu,ati,intel 
  unloaded: modesetting resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) 
  v: 4.5 Mesa 18.2.5 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k4.19.4-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8168 
  IF: enp2s0 state: down mac: fc:45:96:8a:f7:8a 
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter 
  driver: ath10k_pci 
  IF: wlp3s0 state: up mac: 58:00:e3:f8:5d:4d 
  Device-3: Qualcomm Atheros type: USB driver: btusb 
Drives:
  Local Storage: total: 476.94 GiB used: 15.00 GiB (3.1%) 
  ID-1: /dev/sda vendor: LITE-ON model: CV3-DE512 size: 476.94 GiB 
Partition:
  ID-1: / size: 22.90 GiB used: 15.00 GiB (65.5%) fs: ext4 dev: /dev/sda11 
  ID-2: swap-1 size: 4.19 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda9 
  ID-3: swap-2 size: 4.74 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
  ID-4: swap-3 size: 3.82 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda4 
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A gpu: amdgpu temp: 47 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 199 Uptime: 5h 29m Memory: 15.51 GiB used: 1.99 GiB (12.8%) 
  Shell: bash inxi: 3.0.27

Thanks!

2018-12-03T07:50:00Z formatted by moderator


#2

The “ocamlfuse” files are all in the AUR so why don’t you use that?


#3

dont know about xfce but in kde you can mount your google drive in dolphin by installing kio-gdrive


#4

Hi, thanks for the reply, I have used terminal and the add/remove manjaro software. In the software manager in AUR, if I click on “details” during the installation, I see the same prompt:

/var/tmp/pamac-build-david/ocaml-sqlite3/src/sqlite3-ocaml-4.4.0
[ERROR] No switch is currently set. Please use ‘opam switch’ to set or install a switch
==> ERROR: A failure occurred in build().
Aborting…

2018-12-03T07:50:00Z formatted by moderator


#5

hi, thanks for the reply, yes I have seen kio-gdrive package, but that would be my last option, i have already accomplished to configure many things with xfce and google drive is the only thing left.


#6

You could try “gvs-google” from the repo’s works in cinnamon.


#7

hi, thanks for the reply, what is “gvs-google”? I have manjaro gnome because it is an official release, I am a very amateur user, so I would think that an official release could have more support. I know that gnome has a native google-drive support but it does not work, it just stay “loading” and do not show anything, maybe I have too much in my google drive… But I had linux mint and ocamlfuse worked good.


#8

Funny thing is “gvs-google” is a gnome package to access google drive