Errors during install google-drive-ocamlfuse

Hi.

I have fresh installed Manjaro I3wm , kernel 5.7.17-2.
Trying to install google-drive-ocamlfuse. Have next errors:

ocamlc -g -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo idlarray.cmo struct.cmo enum.cmo union.cmo cvtval.cmo structdecl.cmo enumdecl.cmo uniondecl.cmo typedef.cmo funct.cmo constdecl.cmo intf.cmo file.cmo predef.cmo linenum.cmo parse_aux.cmo parser_midl.cmo lexer_midl.cmo parse.cmo fixlabels.cmo normalize.cmo main.cmo
make[1]: Leaving directory ‘/home/lefant/.cache/yay/camlidl/src/camlidl-camlidl109/compiler’
cd runtime; make all
make[1]: Entering directory ‘/home/lefant/.cache/yay/camlidl/src/camlidl-camlidl109/runtime’
ocamlc -g -ccopt “-Wall -g” idlalloc.c
ocamlc -g -ccopt “-Wall -g” comintf.c
ocamlc -g -ccopt “-Wall -g” comerror.c
sh: gcc: command not found
sh: gcc: command not found
sh: gcc: command not found
File “comerror.c”, line 1:
Error: I/O error: gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -g -Wall -g -I’/usr/lib/ocaml’ ‘comerror.c’
File “idlalloc.c”, line 1:
Error: I/O error: gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -g -Wall -g -I’/usr/lib/ocaml’ ‘idlalloc.c’
File “comintf.c”, line 1:
Error: I/O error: gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -g -Wall -g -I’/usr/lib/ocaml’ ‘comintf.c’
make[1]: *** [Makefile.unix:40: comerror.o] Error 2
make[1]: *** Waiting for unfinished jobs…
make[1]: *** [Makefile.unix:40: idlalloc.o] Error 2
make[1]: *** [Makefile.unix:40: comintf.o] Error 2
make[1]: Leaving directory ‘/home/lefant/.cache/yay/camlidl/src/camlidl-camlidl109/runtime’
make: *** [Makefile:19: all] Error 2
==> ERROR: A failure occurred in build().

  • Aborting…*

What can i do with it?

Welcome to Manjaro.

You’re trying to install/build something from the AUR but your system doesn’t have the necessary tools installed. Get them via base-devel package group:

$ sudo pacman -Syu base-devel --needed

And retry your build.

1 Like

Have new error:

==> Making package: ocamlfuse 2.7.1-10 (Wed 02 Sep 2020 01:30:32 PM IDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
    Entering directory '/home/lefant'
    Error: Don't know about directory
    .cache/yay/ocamlfuse/src/ocamlfuse-2c9fb2079b3ff59898d871ceb38dc71275efd70a
    specified on the command line!
    Done: 0/0 (jobs: 0)==> ERROR: A failure occurred in build().
        Aborting...
    error making: ocamlfuse

Looks like a yay problem to me.
Was/is there enough space on your home filesystem?
Try another AUR helper

pamac build google-drive-ocamlfuse

Here is new one:

==> Removing existing $pkgdir/ directory...
==> Starting build()...
File "ocamlbuild_plugin/dune", line 6, characters 12-22:
6 |  (libraries ocamlbuild))
                ^^^^^^^^^^
Error: Library "ocamlbuild" not found.
Hint: try:
  dune external-lib-deps --missing --profile release @@default
Done: 77/101 (jobs: 1)==> ERROR: A failure occurred in build().
    Aborting...